mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-30 03:15:34 -05:00
7fc1f8019f
* Implement ViewROI and base classes * Clean up Orientable header * Move tgl to tgl subdirectory, and use target_include_directories * Move classes to submodules * Fix some missed references * Fix/match UpdateWorldData * Renaming / removing MxTypes / refactoring * Consistent naming for Matrix * Adjust format action * Add Vector3/Vector4 to Data vector * Add TGL comment * Add a comment about Matrix4Impl * Add ROI comment --------- Co-authored-by: Anonymous Maarten <anonymous.maarten@gmail.com> Co-authored-by: Christian Semmler <mail@csemmler.com>
48 lines
1 KiB
C++
48 lines
1 KiB
C++
#ifndef HELICOPTER_H
|
|
#define HELICOPTER_H
|
|
|
|
#include "helicopterstate.h"
|
|
#include "islepathactor.h"
|
|
#include "realtime/matrix.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 Create(MxDSObject& p_dsObject) override; // vtable+0x18
|
|
virtual void VTable0xe4() override;
|
|
|
|
// OFFSET: LEGO1 0x10003210 TEMPLATE
|
|
// Helicopter::`scalar deleting destructor'
|
|
virtual ~Helicopter() override; // vtable+0x0
|
|
|
|
protected:
|
|
Matrix4Data m_unk160;
|
|
Matrix4Data m_unk1a8;
|
|
undefined4 m_unk1f0;
|
|
Vector4Data m_unk1f4;
|
|
Vector4Data m_unk20c;
|
|
undefined4 m_unk224;
|
|
HelicopterState* m_state;
|
|
MxAtomId m_unk22c;
|
|
|
|
private:
|
|
void GetState();
|
|
};
|
|
|
|
#endif // HELICOPTER_H
|