2023-06-29 04:10:08 -04:00
|
|
|
#include "act3.h"
|
|
|
|
|
2024-12-07 13:57:59 -05:00
|
|
|
#include "legonavcontroller.h"
|
|
|
|
#include "misc.h"
|
|
|
|
#include "mxmisc.h"
|
|
|
|
#include "mxnotificationmanager.h"
|
|
|
|
|
2023-10-24 04:14:45 -04:00
|
|
|
DECOMP_SIZE_ASSERT(Act3, 0x4274)
|
2024-06-03 12:53:25 -04:00
|
|
|
DECOMP_SIZE_ASSERT(Act3State, 0x0c)
|
2024-12-07 13:57:59 -05:00
|
|
|
DECOMP_SIZE_ASSERT(Act3ListElement, 0x0c)
|
|
|
|
DECOMP_SIZE_ASSERT(Act3List, 0x10)
|
2023-10-24 04:14:45 -04:00
|
|
|
|
2024-12-07 13:57:59 -05:00
|
|
|
// FUNCTION: LEGO1 0x10072270
|
|
|
|
// FUNCTION: BETA10 0x10015470
|
2023-06-29 04:10:08 -04:00
|
|
|
Act3::Act3()
|
|
|
|
{
|
2024-12-07 13:57:59 -05:00
|
|
|
m_unk0xf8 = 0;
|
|
|
|
m_unk0x41fc = 0;
|
|
|
|
m_unk0x4200 = 0;
|
|
|
|
m_unk0x4204 = 0;
|
|
|
|
m_unk0x4208 = 0;
|
|
|
|
m_helicopter = NULL;
|
|
|
|
m_unk0x4210 = 0;
|
|
|
|
m_unk0x4214 = -1;
|
|
|
|
m_unk0x421e = 0;
|
|
|
|
|
|
|
|
memset(m_unk0x4230, 0, sizeof(m_unk0x4230));
|
|
|
|
|
|
|
|
NavController()->ResetMaxLinearAccel(NavController()->GetMaxLinearAccel() * 30.0f);
|
|
|
|
NavController()->ResetMaxLinearDeccel(NavController()->GetMaxLinearDeccel() * 30.0f);
|
|
|
|
NotificationManager()->Register(this);
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2024-02-07 06:13:20 -05:00
|
|
|
// FUNCTION: LEGO1 0x10072500
|
2024-01-20 18:04:46 -05:00
|
|
|
MxBool Act3::VTable0x5c()
|
|
|
|
{
|
2024-02-07 06:13:20 -05:00
|
|
|
return TRUE;
|
2024-01-20 18:04:46 -05:00
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// STUB: LEGO1 0x100726a0
|
2023-06-29 04:10:08 -04:00
|
|
|
Act3::~Act3()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-01-27 12:15:14 -05:00
|
|
|
// STUB: LEGO1 0x100727e0
|
2024-03-23 10:09:20 -04:00
|
|
|
MxBool Act3::FUN_100727e0(LegoPathController*, Mx3DPointFloat& p_loc, Mx3DPointFloat& p_dir, Mx3DPointFloat& p_up)
|
2024-01-27 12:15:14 -05:00
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10072980
|
2024-03-23 10:09:20 -04:00
|
|
|
MxBool Act3::FUN_10072980(LegoPathController*, Mx3DPointFloat& p_loc, Mx3DPointFloat& p_dir, Mx3DPointFloat& p_up)
|
2024-01-27 12:15:14 -05:00
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
2024-01-20 18:04:46 -05:00
|
|
|
// STUB: LEGO1 0x10072c30
|
|
|
|
MxResult Act3::Create(MxDSAction& p_dsAction)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10072d50
|
|
|
|
void Act3::Destroy(MxBool p_fromDestructor)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10072de0
|
|
|
|
MxLong Act3::Notify(MxParam& p_param)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10073270
|
2024-01-27 15:18:35 -05:00
|
|
|
void Act3::ReadyWorld()
|
2024-01-20 18:04:46 -05:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10073300
|
|
|
|
MxResult Act3::Tickle()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
|
|
|
|
2024-01-27 12:15:14 -05:00
|
|
|
// STUB: LEGO1 0x10073400
|
|
|
|
void Act3::FUN_10073400()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10073430
|
|
|
|
void Act3::FUN_10073430()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2024-01-20 18:04:46 -05:00
|
|
|
// STUB: LEGO1 0x10073a90
|
2024-02-02 12:18:46 -05:00
|
|
|
void Act3::Enable(MxBool p_enable)
|
2024-01-20 18:04:46 -05:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10073e40
|
|
|
|
void Act3::VTable0x60()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10073e50
|
2024-05-24 20:41:57 -04:00
|
|
|
MxBool Act3::Escape()
|
2024-01-20 18:04:46 -05:00
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return FALSE;
|
|
|
|
}
|