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
|
2023-06-30 14:34:39 -04:00
|
|
|
int g_partPresenterConfig1 = 1;
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// GLOBAL: LEGO1 0x100f7aa4
|
2023-06-30 14:34:39 -04:00
|
|
|
int g_partPresenterConfig2 = 100;
|
|
|
|
|
2024-01-20 18:04:46 -05:00
|
|
|
// STUB: LEGO1 0x1000cf60
|
|
|
|
void LegoPartPresenter::Destroy()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x1007deb0
|
|
|
|
void LegoPartPresenter::ReadyTickle()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|