blob: 2483d3f4edbd2fcc69181090886d26ef4ba0e5b3 (
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 ActorSpawnData {
/* 0x00 */ Vec3s pos;
union {
/* 0x06 */ u16 someId; // Usually populated, but not necessarily used by all actors types
/* 0x06 */ s16 signedSomeId;
};
};
namespace MK64 {
class ActorSpawn : public Ship::Resource<ActorSpawnData> {
public:
using Resource::Resource;
ActorSpawn();
ActorSpawnData* GetPointer() override;
size_t GetPointerSize() override;
std::vector<ActorSpawnData> ActorSpawnDataList;
};
} // namespace MK64
|