blob: 9ae85af21a4fd0d5b3ca2a3406666b125d9342c3 (
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
29
30
31
|
#pragma once
#include "Limb.h"
#include <cstdint>
#include <ship/resource/Resource.h>
namespace SF64 {
struct ObjectInitData {
/* 0x00 */ float zPos1;
/* 0x04 */ int16_t zPos2;
/* 0x06 */ int16_t xPos;
/* 0x08 */ int16_t yPos;
/* 0x0A */ Vec3s rot;
/* 0x10 */ int16_t id;
}; // size = 0x14
class ObjectInit : public Ship::Resource<ObjectInitData> {
public:
using Resource::Resource;
ObjectInit() : Resource(std::shared_ptr<Ship::ResourceInitData>()) {
}
ObjectInitData* GetPointer();
size_t GetPointerSize();
std::vector<ObjectInitData> mObjects;
};
} // namespace SF64
|