Rename functions

This commit is contained in:
Misha 2024-01-12 17:17:30 -05:00
parent 4a728c2d75
commit a0c5bfc400
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
15 changed files with 19 additions and 19 deletions

View File

@ -27,7 +27,7 @@ class Infocenter : public LegoWorld {
}
virtual MxResult Create(MxDSObject& p_dsObject) override; // vtable+0x18
virtual void OnStartWorld() override; // vtable+0x50
virtual void VTable0x50() override; // vtable+0x50
virtual MxBool VTable0x5c() override; // vtable+0x5c
virtual MxBool VTable0x64() override; // vtable+0x64
virtual void VTable0x68(MxBool p_add) override; // vtable+0x68

View File

@ -41,7 +41,7 @@ class Isle : public LegoWorld {
}
virtual MxResult Create(MxDSObject& p_dsObject) override; // vtable+0x18
virtual void OnStartWorld() override; // vtable+50
virtual void VTable0x50() override; // vtable+50
virtual void VTable0x58(MxCore* p_object) override; // vtable+58
// FUNCTION: LEGO1 0x10030900
virtual MxBool VTable0x5c() override { return TRUE; } // vtable+5c

View File

@ -28,8 +28,8 @@ class LegoAnimationManager : public MxCore {
}
void FUN_1005f6d0(MxBool);
void FUN_1005f720(undefined4);
void FUN_10064670(MxBool);
void InitForWorld(undefined4);
__declspec(dllexport) static void configureLegoAnimationManager(MxS32 p_legoAnimationManagerConfig);

View File

@ -19,7 +19,7 @@ class LegoBuildingManager : public MxCore {
__declspec(dllexport) static void configureLegoBuildingManager(MxS32);
void OnWorldCreated();
void FUN_1002fa00();
private:
void Init();

View File

@ -20,7 +20,7 @@ class LegoPlantManager : public MxCore {
return "LegoPlantManager";
}
void InitForWorld(undefined4 p_world);
void FUN_10026360(undefined4 p_world);
private:
void Init();

View File

@ -33,7 +33,7 @@ class LegoWorld : public LegoEntity {
return !strcmp(p_name, LegoWorld::ClassName()) || LegoEntity::IsA(p_name);
}
virtual void OnStartWorld(); // vtable+50
virtual void VTable0x50(); // vtable+50
virtual void VTable0x54(); // vtable+54
virtual void VTable0x58(MxCore* p_object); // vtable+58
virtual MxBool VTable0x5c(); // vtable+5c

View File

@ -32,7 +32,7 @@ class Score : public LegoWorld {
// Score::`scalar deleting destructor'
virtual MxResult Create(MxDSObject& p_dsObject) override; // vtable+18
virtual void OnStartWorld() override; // vtable+50
virtual void VTable0x50() override; // vtable+50
virtual MxBool VTable0x5c() override; // vtable+5c
virtual MxBool VTable0x64() override; // vtable+64
virtual void VTable0x68(MxBool p_add) override; // vtable+68

View File

@ -28,7 +28,7 @@ void LegoBuildingManager::Init()
}
// STUB: LEGO1 0x1002fa00
void LegoBuildingManager::OnWorldCreated()
void LegoBuildingManager::FUN_1002fa00()
{
// TODO
}

View File

@ -19,7 +19,7 @@ void LegoPlantManager::Init()
}
// STUB: LEGO1 0x10026360
void LegoPlantManager::InitForWorld(undefined4 p_world)
void LegoPlantManager::FUN_10026360(undefined4 p_world)
{
// TODO
}

View File

@ -106,7 +106,7 @@ MxResult LegoWorld::Tickle()
case 0:
m_worldStarted = TRUE;
SetAppCursor(0);
OnStartWorld();
VTable0x50();
return TRUE;
case 2:
if (FUN_100220e0() == 1)
@ -125,7 +125,7 @@ undefined LegoWorld::FUN_100220e0()
}
// FUNCTION: LEGO1 0x10022340
void LegoWorld::OnStartWorld()
void LegoWorld::VTable0x50()
{
TickleManager()->UnregisterClient(this);
}

View File

@ -37,9 +37,9 @@ LegoWorldPresenter::~LegoWorldPresenter()
MxBool result = FALSE;
if (m_objectBackend) {
undefined4 world = ((LegoWorld*) m_objectBackend)->GetUnknown0xec();
PlantManager()->InitForWorld(world);
AnimationManager()->InitForWorld(world);
BuildingManager()->OnWorldCreated();
PlantManager()->FUN_10026360(world);
AnimationManager()->FUN_1005f720(world);
BuildingManager()->FUN_1002fa00();
result = ((LegoWorld*) m_objectBackend)->VTable0x5c();
}

View File

@ -26,7 +26,7 @@ MxLong Infocenter::Notify(MxParam& p_param)
}
// STUB: LEGO1 0x1006f4e0
void Infocenter::OnStartWorld()
void Infocenter::VTable0x50()
{
// TODO
}

View File

@ -128,9 +128,9 @@ MxLong Score::FUN_10001510(MxEndActionNotificationParam& p_param)
}
// FUNCTION: LEGO1 0x10001580
void Score::OnStartWorld()
void Score::VTable0x50()
{
LegoWorld::OnStartWorld();
LegoWorld::VTable0x50();
MxDSAction action;
action.SetObjectId(0x1f4);

View File

@ -153,7 +153,7 @@ MxLong Isle::StopAction(MxParam& p_param)
}
// STUB: LEGO1 0x10030fc0
void Isle::OnStartWorld()
void Isle::VTable0x50()
{
// TODO
}

View File

@ -34,7 +34,7 @@ void LegoAnimationManager::FUN_1005f6d0(MxBool)
}
// STUB: LEGO1 0x1005f720
void LegoAnimationManager::InitForWorld(undefined4)
void LegoAnimationManager::FUN_1005f720(undefined4)
{
// TODO
}