PoliceState: Create script enum + implement FUN_1005ea40 (#564)

* PoliceState: Create script enum + implement FUN_1005ea40

* Clean up code

* Match

* Match

* Fix type

* Fix error

* Remove return

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Joshua Peisach
2024-02-15 11:22:58 -05:00
committed by GitHub
parent 8aa9d9a8b3
commit 91643d59ba
5 changed files with 59 additions and 10 deletions

View File

@@ -3,6 +3,7 @@
#include "decomp.h"
#include "legostate.h"
#include "police.h"
// VTABLE: LEGO1 0x100d8af0
// SIZE 0x10
@@ -32,9 +33,11 @@ public:
inline undefined4 GetUnknown0x0c() { return m_unk0x0c; }
inline void SetUnknown0x0c(undefined4 p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
void FUN_1005ea40();
private:
undefined4 m_unk0x08; // 0x08
undefined4 m_unk0x0c; // 0x0c
Police::PoliceScript m_policeScript; // 0x08
undefined4 m_unk0x0c; // 0x0c
};
#endif // POLICESTATE_H