This commit is contained in:
Christian Semmler 2025-01-01 11:49:05 -07:00
parent 4c53a91aba
commit b0400f0995
2 changed files with 6 additions and 10 deletions

View File

@ -3,6 +3,7 @@
#include "islepathactor.h" #include "islepathactor.h"
#include "legostate.h" #include "legostate.h"
#include "mxgeometry/mxgeometry4d.h"
#include "realtime/matrix.h" #include "realtime/matrix.h"
class Act3; class Act3;
@ -44,16 +45,17 @@ class HelicopterState : public LegoState {
MxU32 m_unk0x08; // 0x08 MxU32 m_unk0x08; // 0x08
}; };
#include "mxgeometry/mxgeometry4d.h"
// VTABLE: LEGO1 0x100d40f8 // VTABLE: LEGO1 0x100d40f8
// VTABLE: BETA10 0x101b9880 // VTABLE: BETA10 0x101b9880
// SIZE 0x230 // SIZE 0x230
class Helicopter : public IslePathActor { class Helicopter : public IslePathActor {
public: public:
Helicopter();
~Helicopter() override; // vtable+0x00
// FUNCTION: LEGO1 0x10003070 // FUNCTION: LEGO1 0x10003070
// FUNCTION: BETA10 0x1002b300 // FUNCTION: BETA10 0x1002b300
virtual const char* ClassName() const override // vtable+0x0c const char* ClassName() const override // vtable+0x0c
{ {
// STRING: LEGO1 0x100f0130 // STRING: LEGO1 0x100f0130
return "Helicopter"; return "Helicopter";
@ -61,14 +63,11 @@ class Helicopter : public IslePathActor {
// FUNCTION: LEGO1 0x10003080 // FUNCTION: LEGO1 0x10003080
// FUNCTION: BETA10 0x1002b330 // FUNCTION: BETA10 0x1002b330
virtual MxBool IsA(const char* p_name) const override // vtable+0x10 MxBool IsA(const char* p_name) const override // vtable+0x10
{ {
return !strcmp(p_name, Helicopter::ClassName()) || IslePathActor::IsA(p_name); return !strcmp(p_name, Helicopter::ClassName()) || IslePathActor::IsA(p_name);
} }
Helicopter();
~Helicopter() override; // vtable+0x00
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18 MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
void Animate(float p_time) override; // vtable+0x70 void Animate(float p_time) override; // vtable+0x70
void VTable0x74(Matrix4& p_transform) override; // vtable+0x74 void VTable0x74(Matrix4& p_transform) override; // vtable+0x74

View File

@ -6,9 +6,6 @@
#include <math.h> #include <math.h>
#include <memory.h> #include <memory.h>
// Note: Many functions most likely take const references/pointers instead of non-const.
// The class needs to undergo a very careful refactoring to fix that (no matches should break).
// VTABLE: LEGO1 0x100d4288 // VTABLE: LEGO1 0x100d4288
// VTABLE: BETA10 0x101b8440 // VTABLE: BETA10 0x101b8440
// SIZE 0x08 // SIZE 0x08