summaryrefslogtreecommitdiff
path: root/src/port/resource/type/UnkSpawnData.h
blob: 1a69a7b0a27e82c992cc84ad9cec9268483bca9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#include "ship/resource/Resource.h"
#include <vector>
#include <libultra/gbi.h>
#include <common_structs.h>

struct UnkActorSpawnData {
    /* 0x00 */ Vec3s pos;
    // Techinically only the bottom byte of someId is the "id". The top byte is used for flags.
    /* 0x06 */ s16 someId;
    // Stores the tree's original Y position.
    /* 0x08 */ s16 unk8;
};

namespace MK64 {
class UnkActorSpawn : public Ship::Resource<UnkActorSpawnData> {
  public:
    using Resource::Resource;

    UnkActorSpawn();

    UnkActorSpawnData* GetPointer() override;
    size_t GetPointerSize() override;

    std::vector<UnkActorSpawnData> UnkActorSpawnDataList;
};
} // namespace MK64