2023-06-30 14:34:39 -04:00
|
|
|
#include "legopartpresenter.h"
|
|
|
|
|
2024-02-03 07:38:57 -05:00
|
|
|
#include "legoomni.h"
|
|
|
|
#include "legovideomanager.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// GLOBAL: LEGO1 0x100f7aa0
|
2024-03-03 15:35:56 -05:00
|
|
|
MxS32 g_partPresenterConfig1 = 1;
|
2023-06-30 14:34:39 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// GLOBAL: LEGO1 0x100f7aa4
|
2024-03-03 15:35:56 -05:00
|
|
|
MxS32 g_partPresenterConfig2 = 100;
|
2023-06-30 14:34:39 -04:00
|
|
|
|
2024-02-16 13:15:53 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000cf60
|
2024-01-20 18:04:46 -05:00
|
|
|
void LegoPartPresenter::Destroy()
|
|
|
|
{
|
2024-02-16 13:15:53 -05:00
|
|
|
Destroy(FALSE);
|
2024-01-20 18:04:46 -05:00
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1007c990
|
2023-12-13 05:48:14 -05:00
|
|
|
void LegoPartPresenter::configureLegoPartPresenter(MxS32 p_partPresenterConfig1, MxS32 p_partPresenterConfig2)
|
2023-06-30 14:34:39 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
g_partPresenterConfig1 = p_partPresenterConfig1;
|
|
|
|
g_partPresenterConfig2 = p_partPresenterConfig2;
|
2023-06-30 14:34:39 -04:00
|
|
|
}
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-02-03 07:38:57 -05:00
|
|
|
// FUNCTION: LEGO1 0x1007c9b0
|
2024-01-20 18:04:46 -05:00
|
|
|
MxResult LegoPartPresenter::AddToManager()
|
|
|
|
{
|
2024-02-03 07:38:57 -05:00
|
|
|
VideoManager()->RegisterPresenter(*this);
|
2024-01-20 18:04:46 -05:00
|
|
|
return SUCCESS;
|
|
|
|
}
|
|
|
|
|
2024-02-16 13:15:53 -05:00
|
|
|
// STUB: LEGO1 0x1007c9d0
|
|
|
|
void LegoPartPresenter::Destroy(MxBool p_fromDestructor)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2024-03-03 15:35:56 -05:00
|
|
|
// STUB: LEGO1 0x1007ca30
|
|
|
|
MxResult LegoPartPresenter::ParsePart(MxDSChunk& p_chunk)
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
|
|
|
|
2024-01-20 18:04:46 -05:00
|
|
|
// STUB: LEGO1 0x1007deb0
|
|
|
|
void LegoPartPresenter::ReadyTickle()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
2024-03-03 15:35:56 -05:00
|
|
|
|
|
|
|
// STUB: LEGO1 0x1007df20
|
|
|
|
void LegoPartPresenter::FUN_1007df20()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|