mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
PoliceState constructor (#463)
* PoliceState constructor * Changes --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
b19807cb14
commit
9000f731ac
2 changed files with 12 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#ifndef POLICESTATE_H
|
||||
#define POLICESTATE_H
|
||||
|
||||
#include "decomp.h"
|
||||
#include "legostate.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100d8af0
|
||||
|
@ -24,6 +25,10 @@ class PoliceState : public LegoState {
|
|||
|
||||
// SYNTHETIC: LEGO1 0x1005e920
|
||||
// PoliceState::`scalar deleting destructor'
|
||||
|
||||
private:
|
||||
undefined4 m_unk0x8; // 0x8
|
||||
undefined4 m_unk0xc; // 0xc
|
||||
};
|
||||
|
||||
#endif // POLICESTATE_H
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
#include "policestate.h"
|
||||
|
||||
// STUB: LEGO1 0x1005e7c0
|
||||
#include <stdlib.h>
|
||||
|
||||
DECOMP_SIZE_ASSERT(PoliceState, 0x10)
|
||||
|
||||
// FUNCTION: LEGO1 0x1005e7c0
|
||||
PoliceState::PoliceState()
|
||||
{
|
||||
// TODO
|
||||
m_unk0xc = 0;
|
||||
m_unk0x8 = (rand() % 2 == 0) ? 501 : 500;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue