mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-22 16:04:17 +00:00
Implement/match LegoPlantManager::FUN_10026c50 (#1043)
* Minor fixes * Implement/match LegoPlantManager::FUN_10026c50
This commit is contained in:
committed by
GitHub
parent
c9c130eb87
commit
62307e1819
@@ -66,7 +66,7 @@ public:
|
||||
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);
|
||||
@@ -77,7 +77,7 @@ public:
|
||||
MxBool SwitchMove(LegoEntity* p_entity);
|
||||
MxBool SwitchMood(LegoEntity* p_entity);
|
||||
MxU32 GetAnimationId(LegoEntity* p_entity);
|
||||
MxU32 GetSoundId(LegoEntity* p_entity, MxBool);
|
||||
MxU32 GetSoundId(LegoEntity* p_entity, MxBool p_state);
|
||||
MxBool FUN_10030000(LegoEntity* p_entity);
|
||||
MxBool FUN_10030030(MxS32 p_index);
|
||||
MxBool FUN_10030110(LegoBuildingInfo* p_data);
|
||||
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
MxBool SwitchMood(LegoEntity* p_entity);
|
||||
MxU32 GetAnimationId(LegoEntity* p_entity);
|
||||
MxU32 GetSoundId(LegoEntity* p_entity, MxBool p_state);
|
||||
void FUN_10026c50(LegoEntity* p_entity);
|
||||
MxBool FUN_10026c50(LegoEntity* p_entity);
|
||||
void FUN_10027120();
|
||||
|
||||
static void SetCustomizeAnimFile(const char* p_value);
|
||||
@@ -53,6 +53,7 @@ private:
|
||||
void RemovePlant(MxS32 p_index, MxS32 p_worldId);
|
||||
void FUN_10026860(MxS32 p_index);
|
||||
LegoPlantInfo* GetInfo(LegoEntity* p_entity);
|
||||
MxBool FUN_10026c80(MxS32 p_index);
|
||||
|
||||
static char* g_customizeAnimFile;
|
||||
static MxS32 g_maxMove[4];
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user