mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement Helicopter (#329)
* Implement Helicopter * Fix names * Fix some issues * Disable warning --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
#include "matrix.h"
|
||||
#include "roi.h"
|
||||
|
||||
// VTABLE: LEGO1 0x100dbc08
|
||||
// SIZE 0xdc
|
||||
class OrientableROI : public ROI {
|
||||
public:
|
||||
// FUNCTION: LEGO1 0x100a4420
|
||||
@@ -16,34 +18,30 @@ public:
|
||||
ZEROVEC3(m_world_velocity);
|
||||
IDENTMAT4(m_local2world.GetMatrix());
|
||||
}
|
||||
|
||||
virtual const Vector3& GetWorldVelocity() const override; // vtable+0x8
|
||||
virtual const BoundingBox& GetWorldBoundingBox() const override; // vtable+0xc
|
||||
virtual const BoundingSphere& GetWorldBoundingSphere() const override; // vtable+0x10
|
||||
// FUNCTION: LEGO1 0x100a5db0
|
||||
virtual void VTable0x14() { VTable0x1c(); } // vtable+0x14
|
||||
virtual void UpdateWorldBoundingVolumes() = 0; // vtable+0x18
|
||||
virtual void VTable0x1c(); // vtable+0x1c
|
||||
virtual void SetLocalTransform(const Matrix4Impl& p_transform); // vtable+0x20
|
||||
virtual void VTable0x24(const Matrix4Data& p_transform); // vtable+0x24
|
||||
virtual void UpdateWorldData(const Matrix4Data& p_transform); // vtable+0x28
|
||||
virtual void UpdateWorldVelocity(); // vtable+0x2c
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100a4630
|
||||
// OrientableROI::`scalar deleting destructor'
|
||||
|
||||
virtual const Vector3& GetWorldVelocity() const;
|
||||
virtual const BoundingBox& GetWorldBoundingBox() const;
|
||||
virtual const BoundingSphere& GetWorldBoundingSphere() const;
|
||||
|
||||
protected:
|
||||
// vtable + 0x14
|
||||
virtual void VTable0x14() { VTable0x1c(); }
|
||||
virtual void UpdateWorldBoundingVolumes() = 0;
|
||||
|
||||
public:
|
||||
virtual void VTable0x1c();
|
||||
// vtable + 0x20
|
||||
virtual void SetLocalTransform(const Matrix4Impl& p_transform);
|
||||
virtual void VTable0x24(const Matrix4Data& p_transform);
|
||||
virtual void UpdateWorldData(const Matrix4Data& p_transform);
|
||||
virtual void UpdateWorldVelocity();
|
||||
|
||||
protected:
|
||||
char m_unk0xc;
|
||||
char m_unk0xc; // 0xc
|
||||
Matrix4Data m_local2world; // 0x10
|
||||
BoundingBox m_world_bounding_box; // 0x58
|
||||
BoundingSphere m_world_bounding_sphere; // 0xa8
|
||||
Vector3Data m_world_velocity; // 0xc0
|
||||
unsigned int m_unk0xd4;
|
||||
unsigned int m_unk0xd8;
|
||||
unsigned int m_unk0xd4; // 0xd4
|
||||
unsigned int m_unk0xd8; // 0xd8
|
||||
};
|
||||
|
||||
#endif // ORIENTABLEROI_H
|
||||
|
Reference in New Issue
Block a user