mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Minor fixes
This commit is contained in:
parent
1d666f62e5
commit
bbdda6ebee
@ -66,7 +66,7 @@ class LegoBuildingManager : public MxCore {
|
||||
static void SetCustomizeAnimFile(const char* p_value);
|
||||
|
||||
void Init();
|
||||
void FUN_1002fa00();
|
||||
void LoadWorldInfo();
|
||||
void CreateBuilding(MxS32 p_index, LegoWorld* p_world);
|
||||
void Reset();
|
||||
MxResult Write(LegoStorage* p_storage);
|
||||
|
||||
@ -10,7 +10,7 @@ class LegoPathBoundary;
|
||||
// SIZE 0x54
|
||||
struct LegoPlantInfo {
|
||||
// See LegoOmni::RegisterWorlds for IDs
|
||||
enum Worlds {
|
||||
enum World {
|
||||
c_act1 = 1 << 0,
|
||||
c_imain = 1 << 1,
|
||||
c_ielev = 1 << 4,
|
||||
|
||||
@ -257,7 +257,7 @@ void LegoBuildingManager::Init()
|
||||
|
||||
// FUNCTION: LEGO1 0x1002fa00
|
||||
// FUNCTION: BETA10 0x10063ad1
|
||||
void LegoBuildingManager::FUN_1002fa00()
|
||||
void LegoBuildingManager::LoadWorldInfo()
|
||||
{
|
||||
MxS32 i;
|
||||
LegoWorld* world = CurrentWorld();
|
||||
|
||||
@ -694,7 +694,7 @@ void LegoWorld::Enable(MxBool p_enable)
|
||||
if (m_worldId != -1) {
|
||||
PlantManager()->LoadWorldInfo(m_worldId);
|
||||
AnimationManager()->LoadWorldInfo(m_worldId);
|
||||
BuildingManager()->FUN_1002fa00();
|
||||
BuildingManager()->LoadWorldInfo();
|
||||
AnimationManager()->Resume();
|
||||
}
|
||||
|
||||
|
||||
@ -57,7 +57,7 @@ LegoWorldPresenter::~LegoWorldPresenter()
|
||||
MxS32 worldId = ((LegoWorld*) m_entity)->GetWorldId();
|
||||
PlantManager()->LoadWorldInfo(worldId);
|
||||
AnimationManager()->LoadWorldInfo(worldId);
|
||||
BuildingManager()->FUN_1002fa00();
|
||||
BuildingManager()->LoadWorldInfo();
|
||||
result = ((LegoWorld*) m_entity)->VTable0x5c();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user