mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
HospitalState ctor (#375)
* HospitalState ctor * Add member offsets in HospitalState header * Remove unhelpful comment --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
c6174c2a13
commit
d5854a46ae
2 changed files with 19 additions and 2 deletions
|
@ -1,7 +1,14 @@
|
||||||
#include "hospitalstate.h"
|
#include "hospitalstate.h"
|
||||||
|
|
||||||
// STUB: LEGO1 0x10076370
|
DECOMP_SIZE_ASSERT(HospitalState, 0x18)
|
||||||
|
|
||||||
|
// FUNCTION: LEGO1 0x10076370
|
||||||
HospitalState::HospitalState()
|
HospitalState::HospitalState()
|
||||||
{
|
{
|
||||||
// TODO
|
this->m_unk0xc = 0;
|
||||||
|
this->m_unk0xe = 0;
|
||||||
|
this->m_unk0x10 = 0;
|
||||||
|
this->m_unk0x12 = 0;
|
||||||
|
this->m_unk0x14 = 0;
|
||||||
|
this->m_unk0x16 = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef HOSPITALSTATE_H
|
#ifndef HOSPITALSTATE_H
|
||||||
#define HOSPITALSTATE_H
|
#define HOSPITALSTATE_H
|
||||||
|
|
||||||
|
#include "decomp.h"
|
||||||
#include "legostate.h"
|
#include "legostate.h"
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100d97a0
|
// VTABLE: LEGO1 0x100d97a0
|
||||||
|
@ -21,6 +22,15 @@ class HospitalState : public LegoState {
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, HospitalState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, HospitalState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
undefined m_unk0x8[4]; // 0x8
|
||||||
|
undefined2 m_unk0xc; // 0xc
|
||||||
|
undefined2 m_unk0xe; // 0xe
|
||||||
|
undefined2 m_unk0x10; // 0x10
|
||||||
|
undefined2 m_unk0x12; // 0x12
|
||||||
|
undefined2 m_unk0x14; // 0x14
|
||||||
|
undefined2 m_unk0x16; // 0x16
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // HOSPITALSTATE_H
|
#endif // HOSPITALSTATE_H
|
||||||
|
|
Loading…
Reference in a new issue