Implement Helicopter (#329)

* Implement Helicopter

* Fix names

* Fix some issues

* Disable warning

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Nathan M Gilbert
2023-12-14 11:50:29 -05:00
committed by GitHub
parent 88581420d5
commit deaed23e41
37 changed files with 628 additions and 318 deletions

View File

@@ -16,7 +16,7 @@ struct ColorStringStruct {
const char* m_colorName;
};
// SIZE 0x430 (at least)
// SIZE 0x430
class LegoGameState {
public:
__declspec(dllexport) LegoGameState();
@@ -34,6 +34,7 @@ public:
void FUN_1003a720(MxU32);
void HandleAction(MxU32);
inline MxU8 GetUnknownC() { return m_unk0xc; }
inline MxU32 GetUnknown10() { return m_unk0x10; }
inline void SetUnknown424(undefined4 p_unk0x424) { m_unk0x424 = p_unk0x424; }
@@ -45,20 +46,20 @@ private:
void SetROIHandlerFunction();
private:
char* m_savePath; // 0x0
MxS16 m_stateCount;
LegoState** m_stateArray;
MxU8 m_unk0xc;
MxU32 m_unk0x10;
undefined4 m_unk0x14;
char* m_savePath; // 0x0
MxS16 m_stateCount; // 0x4
LegoState** m_stateArray; // 0x8
MxU8 m_unk0xc; // 0xc
MxU32 m_unk0x10; // 0x10
undefined4 m_unk0x14; // 0x14
LegoBackgroundColor* m_backgroundColor; // 0x18
LegoBackgroundColor* m_tempBackgroundColor; // 0x1c
LegoFullScreenMovie* m_fullScreenMovie; // 0x20
MxU16 m_unk0x24; // 0x24
undefined m_unk0x28[1020];
undefined4 m_unk0x424;
undefined4 m_unk0x428;
undefined4 m_unk0x42c;
undefined m_unk0x28[1020]; // 0x28
undefined4 m_unk0x424; // 0x424
undefined4 m_unk0x428; // 0x428
undefined4 m_unk0x42c; // 0x42c
};
MxBool ROIHandlerFunction(char* p_input, char* p_output, MxU32 p_copyLen);