implement GasStationState::GasStationState()

This commit is contained in:
Ramen2X 2023-10-16 13:34:57 -04:00
parent 50b9a39b2f
commit 6a2fcf496f
4 changed files with 23 additions and 2 deletions

View File

@ -1,7 +1,14 @@
#include "gasstationstate.h" #include "gasstationstate.h"
// OFFSET: LEGO1 0x10005eb0 STUB // OFFSET: LEGO1 0x10005eb0
GasStationState::GasStationState() GasStationState::GasStationState()
{ {
// TODO m_unk0x18 = 0;
m_unk0x1a = 0;
m_unk0x1c = 0;
m_unk0x1e = 0;
m_unk0x20 = 0;
m_unk0x08 = -1;
m_unk0x0c = -1;
m_unk0x10 = -1;
} }

View File

@ -23,6 +23,16 @@ class GasStationState : public LegoState
return !strcmp(name, GasStationState::ClassName()) || LegoState::IsA(name); return !strcmp(name, GasStationState::ClassName()) || LegoState::IsA(name);
} }
private:
undefined4 m_unk0x08;
undefined4 m_unk0x0c;
undefined4 m_unk0x10;
undefined4 m_unk0x14;
undefined2 m_unk0x18;
undefined2 m_unk0x1a;
undefined2 m_unk0x1c;
undefined2 m_unk0x1e;
undefined m_unk0x20;
}; };
#endif // GASSTATIONSTATE_H #endif // GASSTATIONSTATE_H

View File

@ -1,5 +1,7 @@
#include "legostate.h" #include "legostate.h"
DECOMP_SIZE_ASSERT(LegoState, 0x08);
// OFFSET: LEGO1 0x10005f40 // OFFSET: LEGO1 0x10005f40
LegoState::~LegoState() LegoState::~LegoState()
{ {

View File

@ -1,6 +1,8 @@
#ifndef LEGOSTATE_H #ifndef LEGOSTATE_H
#define LEGOSTATE_H #define LEGOSTATE_H
#include "decomp.h"
#include "mxcore.h" #include "mxcore.h"
// VTABLE 0x100d46c0 // VTABLE 0x100d46c0