2023-06-29 04:10:08 -04:00
|
|
|
#include "infocenterdoor.h"
|
|
|
|
|
2024-01-18 20:24:15 -05:00
|
|
|
#include "legoinputmanager.h"
|
|
|
|
#include "legoomni.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// STUB: LEGO1 0x10037730
|
2023-06-29 04:10:08 -04:00
|
|
|
InfocenterDoor::InfocenterDoor()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// STUB: LEGO1 0x100378f0
|
2023-06-29 04:10:08 -04:00
|
|
|
InfocenterDoor::~InfocenterDoor()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2024-01-18 20:24:15 -05:00
|
|
|
// STUB: LEGO1 0x10037980
|
|
|
|
MxResult InfocenterDoor::Create(MxDSAction& p_dsAction)
|
|
|
|
{
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// STUB: LEGO1 0x100379e0
|
2023-12-13 05:48:14 -05:00
|
|
|
MxLong InfocenterDoor::Notify(MxParam& p_param)
|
2023-06-29 04:10:08 -04:00
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2024-01-18 20:24:15 -05:00
|
|
|
return LegoWorld::Notify(p_param);
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-01-18 20:24:15 -05:00
|
|
|
// FUNCTION: LEGO1 0x10037a70
|
|
|
|
void InfocenterDoor::VTable0x50()
|
|
|
|
{
|
|
|
|
LegoWorld::VTable0x50();
|
|
|
|
PlayMusic(11);
|
|
|
|
FUN_10015820(FALSE, LegoOmni::c_disableInput | LegoOmni::c_disable3d | LegoOmni::c_clearScreen);
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10037c80
|
|
|
|
void InfocenterDoor::VTable0x68(MxBool p_add)
|
|
|
|
{
|
|
|
|
LegoWorld::VTable0x68(p_add);
|
|
|
|
|
|
|
|
if (p_add) {
|
|
|
|
InputManager()->SetWorld(this);
|
|
|
|
SetIsWorldActive(FALSE);
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
if (InputManager()->GetWorld() == this) {
|
|
|
|
InputManager()->ClearWorld();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10037cd0
|
|
|
|
MxBool InfocenterDoor::VTable0x64()
|
|
|
|
{
|
|
|
|
return TRUE;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|