mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
implement GasStationState::GasStationState() (#215)
* implement GasStationState::GasStationState() * Match 100% --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
50b9a39b2f
commit
b95656a735
4 changed files with 25 additions and 2 deletions
|
@ -1,7 +1,18 @@
|
|||
#include "gasstationstate.h"
|
||||
|
||||
// OFFSET: LEGO1 0x10005eb0 STUB
|
||||
DECOMP_SIZE_ASSERT(GasStationState, 0x24);
|
||||
|
||||
// OFFSET: LEGO1 0x10005eb0
|
||||
GasStationState::GasStationState()
|
||||
{
|
||||
// TODO
|
||||
m_unk0x18 = 0;
|
||||
m_unk0x1a = 0;
|
||||
m_unk0x1c = 0;
|
||||
m_unk0x1e = 0;
|
||||
m_unk0x20 = 0;
|
||||
|
||||
undefined4 *unk = m_unk0x08;
|
||||
unk[0] = -1;
|
||||
unk[1] = -1;
|
||||
unk[2] = -1;
|
||||
}
|
||||
|
|
|
@ -23,6 +23,14 @@ class GasStationState : public LegoState
|
|||
return !strcmp(name, GasStationState::ClassName()) || LegoState::IsA(name);
|
||||
}
|
||||
|
||||
private:
|
||||
undefined4 m_unk0x08[3];
|
||||
undefined4 m_unk0x14;
|
||||
undefined2 m_unk0x18;
|
||||
undefined2 m_unk0x1a;
|
||||
undefined2 m_unk0x1c;
|
||||
undefined2 m_unk0x1e;
|
||||
undefined2 m_unk0x20;
|
||||
};
|
||||
|
||||
#endif // GASSTATIONSTATE_H
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#include "legostate.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoState, 0x08);
|
||||
|
||||
// OFFSET: LEGO1 0x10005f40
|
||||
LegoState::~LegoState()
|
||||
{
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef LEGOSTATE_H
|
||||
#define LEGOSTATE_H
|
||||
|
||||
#include "decomp.h"
|
||||
|
||||
#include "mxcore.h"
|
||||
|
||||
// VTABLE 0x100d46c0
|
||||
|
|
Loading…
Reference in a new issue