mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
ElevatorBottom ctor/dtor (#436)
* ElevatorBottom ctor * ElevatorBottom destructor * Use setters --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -1,15 +1,28 @@
|
||||
#include "elevatorbottom.h"
|
||||
|
||||
// STUB: LEGO1 0x10017e90
|
||||
DECOMP_SIZE_ASSERT(ElevatorBottom, 0xfc)
|
||||
|
||||
#include "legocontrolmanager.h"
|
||||
#include "legoinputmanager.h"
|
||||
#include "legoomni.h"
|
||||
#include "mxnotificationmanager.h"
|
||||
#include "mxomni.h"
|
||||
|
||||
// FUNCTION: LEGO1 0x10017e90
|
||||
ElevatorBottom::ElevatorBottom()
|
||||
{
|
||||
// TODO
|
||||
NotificationManager()->Register(this);
|
||||
this->m_unk0xf8 = 0;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10018060
|
||||
// FUNCTION: LEGO1 0x10018060
|
||||
ElevatorBottom::~ElevatorBottom()
|
||||
{
|
||||
// TODO
|
||||
if (InputManager()->GetWorld() == this) {
|
||||
InputManager()->ClearWorld();
|
||||
}
|
||||
ControlManager()->Unregister(this);
|
||||
NotificationManager()->Unregister(this);
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10018150
|
||||
|
Reference in New Issue
Block a user