Implement/match LegoPlantManager::ScheduleAnimation (#1051)

* Implement/match LegoPlantManager::ScheduleAnimation

* Add assert
This commit is contained in:
Christian Semmler
2024-07-01 16:14:04 -07:00
committed by GitHub
parent a21fd5975c
commit 9ba05d021d
4 changed files with 62 additions and 13 deletions

View File

@@ -45,7 +45,7 @@ public:
struct AnimEntry {
LegoEntity* m_entity; // 0x00
LegoROI* m_roi; // 0x04
LegoTime m_time; // 0x08
MxLong m_time; // 0x08
float m_unk0x0c; // 0x0c
MxBool m_muted; // 0x10
};
@@ -81,7 +81,7 @@ public:
MxBool FUN_10030000(LegoEntity* p_entity);
MxBool FUN_10030030(MxS32 p_index);
MxBool FUN_10030110(LegoBuildingInfo* p_data);
void ScheduleAnimation(LegoEntity* p_entity, MxU32 p_length, MxBool p_haveSound, MxBool p_unk0x28);
void ScheduleAnimation(LegoEntity* p_entity, MxLong p_length, MxBool p_haveSound, MxBool p_unk0x28);
void FUN_10030590();
void AdjustHeight(MxS32 p_index);
MxResult FUN_10030630();