Start of helicopter Implementation (#239)

* Start of helicopter Implementation

Mostly Matching, some issues with MxMatrix and/or MxVector4

* Fix some style issues

* Fix some style issues
This commit is contained in:
Nathan M Gilbert
2023-10-24 04:14:45 -04:00
committed by GitHub
parent 587ac7a9d7
commit 1ab29590ee
9 changed files with 87 additions and 14 deletions

View File

@@ -1,7 +1,9 @@
#ifndef HELICOPTER_H
#define HELICOPTER_H
#include "helicopterstate.h"
#include "islepathactor.h"
#include "mxmatrix.h"
// VTABLE 0x100d40f8
// SIZE 0x230
@@ -9,7 +11,6 @@ class Helicopter : public IslePathActor
{
public:
Helicopter();
virtual ~Helicopter(); // vtable+0x0
// OFFSET: LEGO1 0x10003070
inline virtual const char *ClassName() const override // vtable+0x0c
@@ -24,6 +25,24 @@ public:
return !strcmp(name, Helicopter::ClassName()) || IslePathActor::IsA(name);
}
virtual MxResult InitFromMxDSObject(MxDSObject &p_dsObject) override; // vtable+0x18
// OFFSET: LEGO1 0x10003210 TEMPLATE
// Helicopter::`scalar deleting destructor'
virtual ~Helicopter() override; // vtable+0x0
protected:
MxMatrixData m_unk160;
MxMatrixData m_unk1a8;
undefined4 m_unk1f0;
MxVector4Data m_unk1f4;
MxVector4Data m_unk20c;
undefined4 m_unk224;
HelicopterState *m_state;
MxAtomId m_unk22c;
private:
void GetState();
};
#endif // HELICOPTER_H