mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 02:14:18 +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
|
||||
|
||||
@@ -114,8 +114,8 @@ MxResult MxTransitionManager::StartTransition(
|
||||
tickleManager->RegisterClient(this, p_speed);
|
||||
|
||||
LegoInputManager* inputManager = InputManager();
|
||||
inputManager->m_unk0x88 = TRUE;
|
||||
inputManager->m_unk0x336 = FALSE;
|
||||
inputManager->SetUnknown88(TRUE);
|
||||
inputManager->SetUnknown336(FALSE);
|
||||
|
||||
LegoVideoManager* videoManager = VideoManager();
|
||||
videoManager->SetRender3D(FALSE);
|
||||
|
||||
Reference in New Issue
Block a user