Implement/match Ambulance::VTable0x70 (#1027)

This commit is contained in:
Christian Semmler
2024-06-13 11:25:48 -04:00
committed by GitHub
parent cf576ca78f
commit 33c64bb002
4 changed files with 32 additions and 8 deletions

View File

@@ -87,7 +87,7 @@ public:
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
void Destroy(MxBool p_fromDestructor) override; // vtable+0x1c
void VTable0x70(float p_float) override; // vtable+0x70
void VTable0x70(float p_time) override; // vtable+0x70
MxLong HandleClick() override; // vtable+0xcc
MxLong HandleControl(LegoControlManagerEvent& p_param) override; // vtable+0xd4
MxLong HandleNotification19(MxType19NotificationParam& p_param) override; // vtable+0xdc
@@ -119,7 +119,7 @@ private:
MxS16 m_unk0x172; // 0x172
IsleScript::Script m_lastAction; // 0x174
IsleScript::Script m_lastAnimation; // 0x178
MxFloat m_unk0x17c; // 0x17c
MxFloat m_fuel; // 0x17c
MxFloat m_time; // 0x180
};

View File

@@ -3,6 +3,7 @@
#include "mxvariable.h"
extern const char* g_varAMBULSPEED;
extern const char* g_varAMBULFUEL;
extern const char* g_varTOWFUEL;
extern const char* g_varVISIBILITY;