Rename function

This commit is contained in:
Christian Semmler 2024-04-27 10:21:10 -04:00
parent b5dcd62e6b
commit 1a64c197b8
5 changed files with 5 additions and 5 deletions

View File

@ -66,7 +66,7 @@ class LegoAnimationManager : public MxCore {
return !strcmp(p_name, ClassName()) || MxCore::IsA(p_name); return !strcmp(p_name, ClassName()) || MxCore::IsA(p_name);
} }
void Init(MxBool p_und); void Reset(MxBool p_und);
void FUN_1005ef10(); void FUN_1005ef10();
void FUN_1005f0b0(); void FUN_1005f0b0();
void FUN_1005f6d0(MxBool); void FUN_1005f6d0(MxBool);

View File

@ -150,7 +150,7 @@ LegoAnimationManager::~LegoAnimationManager()
// FUNCTION: LEGO1 0x1005ee80 // FUNCTION: LEGO1 0x1005ee80
// FUNCTION: BETA10 0x1003fbc0 // FUNCTION: BETA10 0x1003fbc0
void LegoAnimationManager::Init(MxBool p_und) void LegoAnimationManager::Reset(MxBool p_und)
{ {
m_unk0x402 = 0; m_unk0x402 = 0;

View File

@ -1072,7 +1072,7 @@ void LegoGameState::Init()
PlantManager()->Init(); PlantManager()->Init();
BuildingManager()->Init(); BuildingManager()->Init();
CharacterManager()->Init(); CharacterManager()->Init();
AnimationManager()->Init(TRUE); AnimationManager()->Reset(TRUE);
SetColors(); SetColors();
RemoveActor(); RemoveActor();
DeleteState(); DeleteState();

View File

@ -646,7 +646,7 @@ void LegoWorld::Enable(MxBool p_enable)
FUN_1001fc80(actor); FUN_1001fc80(actor);
} }
AnimationManager()->Init(FALSE); AnimationManager()->Reset(FALSE);
m_set0xd0.insert(this); m_set0xd0.insert(this);
if (m_scriptIndex != -1) { if (m_scriptIndex != -1) {

View File

@ -1303,7 +1303,7 @@ void Infocenter::Reset()
PlantManager()->FUN_10027120(); PlantManager()->FUN_10027120();
BuildingManager()->FUN_10030590(); BuildingManager()->FUN_10030590();
AnimationManager()->Init(FALSE); AnimationManager()->Reset(FALSE);
CharacterManager()->FUN_100832a0(); CharacterManager()->FUN_100832a0();
GameState()->SetCurrentAct(LegoGameState::e_act1); GameState()->SetCurrentAct(LegoGameState::e_act1);
GameState()->SetPreviousArea(LegoGameState::e_undefined); GameState()->SetPreviousArea(LegoGameState::e_undefined);