mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-27 06:32:06 -04:00
Hospital ctor (#392)
* Hospital ctor * Remove padding --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
56af87b229
commit
3f2fac72e4
@ -1,9 +1,26 @@
|
|||||||
#include "hospital.h"
|
#include "hospital.h"
|
||||||
|
|
||||||
// STUB: LEGO1 0x100745e0
|
#include "mxnotificationmanager.h"
|
||||||
|
#include "mxomni.h"
|
||||||
|
|
||||||
|
DECOMP_SIZE_ASSERT(Hospital, 0x12c)
|
||||||
|
|
||||||
|
// FUNCTION: LEGO1 0x100745e0
|
||||||
Hospital::Hospital()
|
Hospital::Hospital()
|
||||||
{
|
{
|
||||||
// TODO
|
this->m_unk0xf8 = 0;
|
||||||
|
this->m_unk0x100 = 0;
|
||||||
|
this->m_unk0x104 = 0;
|
||||||
|
this->m_unk0x108 = 0;
|
||||||
|
this->m_unk0xfc = 0;
|
||||||
|
this->m_unk0x10c = 0;
|
||||||
|
this->m_unk0x110 = 0;
|
||||||
|
this->m_unk0x114 = 0;
|
||||||
|
this->m_unk0x118 = 0;
|
||||||
|
this->m_unk0x11c = 0;
|
||||||
|
this->m_unk0x120 = 0;
|
||||||
|
this->m_unk0x128 = 0;
|
||||||
|
NotificationManager()->Register(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x100747f0
|
// STUB: LEGO1 0x100747f0
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#ifndef HOSPITAL_H
|
#ifndef HOSPITAL_H
|
||||||
#define HOSPITAL_H
|
#define HOSPITAL_H
|
||||||
|
|
||||||
|
#include "decomp.h"
|
||||||
#include "legoworld.h"
|
#include "legoworld.h"
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100d9730
|
// VTABLE: LEGO1 0x100d9730
|
||||||
@ -24,6 +25,21 @@ public:
|
|||||||
{
|
{
|
||||||
return !strcmp(p_name, Hospital::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, Hospital::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
undefined2 m_unk0xf8; // 0xf8
|
||||||
|
undefined4 m_unk0xfc; // 0xfc
|
||||||
|
undefined2 m_unk0x100; // 0x100
|
||||||
|
undefined4 m_unk0x104; // 0x104 - VTable0x18 suggests this may be pointer to a LegoGameState
|
||||||
|
undefined2 m_unk0x108; // 0x108
|
||||||
|
undefined4 m_unk0x10c; // 0x10c
|
||||||
|
undefined4 m_unk0x110; // 0x110
|
||||||
|
undefined4 m_unk0x114; // 0x114
|
||||||
|
undefined m_unk0x118; // 0x118
|
||||||
|
undefined4 m_unk0x11c; // 0x11c
|
||||||
|
undefined4 m_unk0x120; // 0x120
|
||||||
|
undefined m_unk0x124[4]; // 0x124
|
||||||
|
undefined m_unk0x128; // 0x128
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // HOSPITAL_H
|
#endif // HOSPITAL_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user