summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Plane.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-21 09:58:53 +0200
committeraap <aap@papnet.eu>2020-07-21 09:58:53 +0200
commit0fba76a5652b3d9c4a3ecb809a601208fceed11d (patch)
tree9017fb0f2e69e1512d9c7dd35c8f6c28c6ec9dd5 /src/vehicles/Plane.h
parentfixed COcclusion (diff)
downloadre3-0fba76a5652b3d9c4a3ecb809a601208fceed11d.tar
re3-0fba76a5652b3d9c4a3ecb809a601208fceed11d.tar.gz
re3-0fba76a5652b3d9c4a3ecb809a601208fceed11d.tar.bz2
re3-0fba76a5652b3d9c4a3ecb809a601208fceed11d.tar.lz
re3-0fba76a5652b3d9c4a3ecb809a601208fceed11d.tar.xz
re3-0fba76a5652b3d9c4a3ecb809a601208fceed11d.tar.zst
re3-0fba76a5652b3d9c4a3ecb809a601208fceed11d.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Plane.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/vehicles/Plane.h b/src/vehicles/Plane.h
index 5fb05468..c8f02048 100644
--- a/src/vehicles/Plane.h
+++ b/src/vehicles/Plane.h
@@ -4,6 +4,11 @@
enum ePlaneNodes
{
+#ifdef CPLANE_ROTORS
+ // for heli
+ PLANE_TOPROTOR,
+ PLANE_BACKROTOR,
+#endif
PLANE_WHEEL_FRONT = 2,
PLANE_WHEEL_READ,
NUM_PLANE_NODES
@@ -29,6 +34,10 @@ struct CPlaneInterpolationLine
class CPlane : public CVehicle
{
public:
+#ifdef CPLANE_ROTORS
+ RwFrame *m_aPlaneNodes[NUM_PLANE_NODES];
+ float m_fRotorRotation;
+#endif
int16 m_nPlaneId;
int16 m_isFarAway;
int16 m_nCurPathNode;