ElevatorBottom ctor

This commit is contained in:
Joshua Peisach 2024-01-14 12:29:49 -05:00
parent 7f7e6e37dd
commit 7777e6cd40
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
2 changed files with 13 additions and 2 deletions

View File

@ -1,9 +1,11 @@
#ifndef ELEVATORBOTTOM_H #ifndef ELEVATORBOTTOM_H
#define ELEVATORBOTTOM_H #define ELEVATORBOTTOM_H
#include "decomp.h"
#include "legoworld.h" #include "legoworld.h"
// VTABLE: LEGO1 0x100d5f20 // VTABLE: LEGO1 0x100d5f20
// SIZE: 0xfc (from inlined ctor at 0x1000a8aa)
class ElevatorBottom : public LegoWorld { class ElevatorBottom : public LegoWorld {
public: public:
ElevatorBottom(); ElevatorBottom();
@ -23,6 +25,9 @@ class ElevatorBottom : public LegoWorld {
{ {
return !strcmp(p_name, ElevatorBottom::ClassName()) || LegoWorld::IsA(p_name); return !strcmp(p_name, ElevatorBottom::ClassName()) || LegoWorld::IsA(p_name);
} }
private:
undefined4 m_unk0xf8; // 0xf8
}; };
#endif // ELEVATORBOTTOM_H #endif // ELEVATORBOTTOM_H

View File

@ -1,9 +1,15 @@
#include "elevatorbottom.h" #include "elevatorbottom.h"
// STUB: LEGO1 0x10017e90 DECOMP_SIZE_ASSERT(ElevatorBottom, 0xfc)
#include "mxnotificationmanager.h"
#include "mxomni.h"
// FUNCTION: LEGO1 0x10017e90
ElevatorBottom::ElevatorBottom() ElevatorBottom::ElevatorBottom()
{ {
// TODO NotificationManager()->Register(this);
this->m_unk0xf8 = 0;
} }
// STUB: LEGO1 0x10018060 // STUB: LEGO1 0x10018060