summaryrefslogtreecommitdiffstats
path: root/src/control/Cranes.h
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2020-02-24 20:40:39 +0100
committerFilip Gawin <filip.gawin@zoho.com>2020-03-22 17:30:54 +0100
commit0d1f42add1abbe729d52292d3e7b06a575b2506b (patch)
tree0940f106279c52a9de6beff094eb0e80909a5367 /src/control/Cranes.h
parentImplement ProcessCesna (diff)
downloadre3-0d1f42add1abbe729d52292d3e7b06a575b2506b.tar
re3-0d1f42add1abbe729d52292d3e7b06a575b2506b.tar.gz
re3-0d1f42add1abbe729d52292d3e7b06a575b2506b.tar.bz2
re3-0d1f42add1abbe729d52292d3e7b06a575b2506b.tar.lz
re3-0d1f42add1abbe729d52292d3e7b06a575b2506b.tar.xz
re3-0d1f42add1abbe729d52292d3e7b06a575b2506b.tar.zst
re3-0d1f42add1abbe729d52292d3e7b06a575b2506b.zip
Diffstat (limited to 'src/control/Cranes.h')
-rw-r--r--src/control/Cranes.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/control/Cranes.h b/src/control/Cranes.h
index 9f606c9f..b40454ea 100644
--- a/src/control/Cranes.h
+++ b/src/control/Cranes.h
@@ -2,6 +2,47 @@
#include "common.h"
class CVehicle;
+class CEntity;
+class CObject;
+
+class CCrane
+{
+public:
+ CEntity *m_pObject;
+ CObject *m_pMagnet;
+ int m_nAudioEntity;
+ float m_fPickupX1;
+ float m_fPickupX2;
+ float m_fPickupY1;
+ float m_fPickupY2;
+ CVector m_vecDropoffTarget;
+ float m_fDropoffHeading;
+ float m_fPickupAngle;
+ float m_fDropoffAngle;
+ float m_fPickupDistance;
+ float m_fDropoffDistance;
+ float m_fAngle;
+ float m_fDistance;
+ float m_fHeight;
+ float m_fHookOffset;
+ float m_fHookHeight;
+ CVector m_vecHookInitPos;
+ CVector m_vecHookCurPos;
+ float m_fHookVelocityX;
+ float m_fHookVelocityY;
+ CVehicle *m_pVehiclePickedUp;
+ int m_nUpdateTimer;
+ char m_bCraneActive;
+ char m_bCraneStatus;
+ char m_bVehiclesCollected;
+ char m_bIsCrusher;
+ char m_bIsMilitaryCrane;
+ char field_125;
+ char m_bNotMilitaryCrane;
+ char gap_127[1];
+};
+
+static_assert(sizeof(CCrane) == 128, "CCrane: error");
class CCranes
{