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

@@ -11,7 +11,6 @@ class IslePathActor : public LegoPathActor
{
public:
IslePathActor();
~IslePathActor();
// OFFSET: LEGO1 0x10002ea0
inline virtual const char *ClassName() const override // vtable+0x0c
@@ -26,8 +25,20 @@ public:
return !strcmp(name, IslePathActor::ClassName()) || LegoPathActor::IsA(name);
}
// OFFSET: LEGO1 0x10002ff0 TEMPLATE
// IslePathActor::`scalar deleting destructor'
inline virtual ~IslePathActor() override
{
IslePathActor::Destroy(TRUE);
}
virtual MxResult InitFromMxDSObject(MxDSObject &p_dsObject) override; // vtable+0x18
inline void SetWorld(LegoWorld *p_world) { m_pLegoWorld = p_world; }
inline LegoWorld *GetWorld() { return m_pLegoWorld; }
private:
LegoWorld* m_pLegoWorld; // 0x154
LegoWorld *m_pLegoWorld; // 0x154
MxFloat m_unk158;
MxFloat m_unk15c;
};