mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-12-03 12:47:05 -05:00
1ab29590ee
* Start of helicopter Implementation Mostly Matching, some issues with MxMatrix and/or MxVector4 * Fix some style issues * Fix some style issues
48 lines
1 KiB
C++
48 lines
1 KiB
C++
#ifndef HELICOPTER_H
|
|
#define HELICOPTER_H
|
|
|
|
#include "helicopterstate.h"
|
|
#include "islepathactor.h"
|
|
#include "mxmatrix.h"
|
|
|
|
// VTABLE 0x100d40f8
|
|
// SIZE 0x230
|
|
class Helicopter : public IslePathActor
|
|
{
|
|
public:
|
|
Helicopter();
|
|
|
|
// OFFSET: LEGO1 0x10003070
|
|
inline virtual const char *ClassName() const override // vtable+0x0c
|
|
{
|
|
// 0x100f0130
|
|
return "Helicopter";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10003080
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
|
{
|
|
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
|