summaryrefslogtreecommitdiff
path: root/src/vehicles/Plane.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-19 00:37:44 +0200
committeraap <aap@papnet.eu>2020-07-19 00:56:30 +0200
commite74b569115a9f9596a0cf2def74dd37117fe2aae (patch)
tree6e3489f7f060757e62a7d38d1ab7f20db5ae16f6 /src/vehicles/Plane.h
parenta1412d1cdbc91535011a6048c79699eccfaa6e0c (diff)
CPlane done
Diffstat (limited to 'src/vehicles/Plane.h')
-rw-r--r--src/vehicles/Plane.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vehicles/Plane.h b/src/vehicles/Plane.h
index e9456bcd..5fb05468 100644
--- a/src/vehicles/Plane.h
+++ b/src/vehicles/Plane.h
@@ -29,7 +29,6 @@ struct CPlaneInterpolationLine
class CPlane : public CVehicle
{
public:
- // 0x288
int16 m_nPlaneId;
int16 m_isFarAway;
int16 m_nCurPathNode;
@@ -38,6 +37,7 @@ public:
bool m_bHasBeenHit;
bool m_bIsDrugRunCesna;
bool m_bIsDropOffCesna;
+ bool m_bTempPlane;
CPlane(int32 id, uint8 CreatedBy);
~CPlane(void);
@@ -53,6 +53,7 @@ public:
static void InitPlanes(void);
static void Shutdown(void);
static CPlaneNode *LoadPath(char const *filename, int32 &numNodes, float &totalLength, bool loop);
+ static void RemoveTemporaryPlanes(void);
static void UpdatePlanes(void);
static bool TestRocketCollision(CVector *rocketPos);
static void CreateIncomingCesna(void);
@@ -62,6 +63,8 @@ public:
static bool HasCesnaLanded(void);
static bool HasCesnaBeenDestroyed(void);
static bool HasDropOffCesnaBeenShotDown(void);
+ static void Load(void);
+ static void Save(void);
};
extern float LandingPoint;