mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
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:
@@ -5,14 +5,20 @@
|
||||
#include "legogamestate.h"
|
||||
#include "legoworld.h"
|
||||
#include "mxdsaction.h"
|
||||
#include "policestate.h"
|
||||
#include "radio.h"
|
||||
|
||||
class PoliceState;
|
||||
|
||||
// VTABLE: LEGO1 0x100d8a80
|
||||
// SIZE 0x110
|
||||
// Radio at 0xf8
|
||||
class Police : public LegoWorld {
|
||||
public:
|
||||
enum PoliceScript {
|
||||
c_nickAnim = 500,
|
||||
c_lauraAnim = 501,
|
||||
};
|
||||
|
||||
Police();
|
||||
~Police() override; // vtable+0x00
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user