Implement/match Ambulance::HandleEndAction (#1018)

This commit is contained in:
Christian Semmler
2024-06-11 13:12:02 -04:00
committed by GitHub
parent 9383076e04
commit 5311951bc7
4 changed files with 127 additions and 25 deletions

View File

@@ -105,20 +105,22 @@ public:
// Ambulance::`scalar deleting destructor'
private:
void StopAction(MxS32 p_entityId);
void PlayAnimation(IsleScript::Script p_objectId);
void StopAction(IsleScript::Script p_objectId);
void PlayAction(IsleScript::Script p_objectId);
undefined m_unk0x160[4]; // 0x160
AmbulanceMissionState* m_state; // 0x164
MxS16 m_unk0x168; // 0x168
MxS16 m_unk0x16a; // 0x16a
MxS16 m_unk0x16c; // 0x16c
MxS16 m_unk0x16e; // 0x16e
MxS16 m_unk0x170; // 0x170
MxS16 m_unk0x172; // 0x172
MxS32 m_unk0x174; // 0x174
MxS32 m_unk0x178; // 0x178
MxFloat m_unk0x17c; // 0x17c
MxFloat m_time; // 0x180
undefined m_unk0x160[4]; // 0x160
AmbulanceMissionState* m_state; // 0x164
MxS16 m_unk0x168; // 0x168
MxS16 m_unk0x16a; // 0x16a
MxS16 m_unk0x16c; // 0x16c
MxS16 m_unk0x16e; // 0x16e
MxS16 m_unk0x170; // 0x170
MxS16 m_unk0x172; // 0x172
IsleScript::Script m_lastAction; // 0x174
IsleScript::Script m_lastAnimation; // 0x178
MxFloat m_unk0x17c; // 0x17c
MxFloat m_time; // 0x180
};
#endif // AMBULANCE_H

View File

@@ -123,7 +123,7 @@ public:
virtual void Enter(); // vtable+0xe0
virtual void Exit(); // vtable+0xe4
virtual void SpawnPlayer(LegoGameState::Area p_area, MxBool p_und, MxU8 p_flags); // vtable+0xe8
virtual void SpawnPlayer(LegoGameState::Area p_area, MxBool p_enter, MxU8 p_flags); // vtable+0xe8
virtual void VTable0xec(MxMatrix p_transform, LegoPathBoundary* p_boundary, MxBool p_reset); // vtable+0xec
// SYNTHETIC: LEGO1 0x10002ff0