1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2024-12-24 17:55:29 +00:00

Fixing some plane funcs declarations

This commit is contained in:
Sergeanur 2020-01-23 17:43:19 +02:00
parent 9eb599ff58
commit 18f80a02fc
2 changed files with 4 additions and 4 deletions

View file

@ -958,8 +958,8 @@ CPlane::CreateDropOffCesna(void)
printf("CPlane::CreateDropOffCesna(void)\n"); printf("CPlane::CreateDropOffCesna(void)\n");
} }
CVector CPlane::FindDrugPlaneCoordinates(void) { return pDrugRunCesna->GetPosition(); } const CVector CPlane::FindDrugPlaneCoordinates(void) { return pDrugRunCesna->GetPosition(); }
CVector CPlane::FindDropOffCesnaCoordinates(void) { return pDropOffCesna->GetPosition(); } const CVector CPlane::FindDropOffCesnaCoordinates(void) { return pDropOffCesna->GetPosition(); }
bool CPlane::HasCesnaLanded(void) { return CesnaMissionStatus == CESNA_STATUS_LANDED; } bool CPlane::HasCesnaLanded(void) { return CesnaMissionStatus == CESNA_STATUS_LANDED; }
bool CPlane::HasCesnaBeenDestroyed(void) { return CesnaMissionStatus == CESNA_STATUS_DESTROYED; } bool CPlane::HasCesnaBeenDestroyed(void) { return CesnaMissionStatus == CESNA_STATUS_DESTROYED; }
bool CPlane::HasDropOffCesnaBeenShotDown(void) { return DropOffCesnaMissionStatus == CESNA_STATUS_DESTROYED; } bool CPlane::HasDropOffCesnaBeenShotDown(void) { return DropOffCesnaMissionStatus == CESNA_STATUS_DESTROYED; }

View file

@ -59,8 +59,8 @@ public:
static bool TestRocketCollision(CVector *rocketPos); static bool TestRocketCollision(CVector *rocketPos);
static void CreateIncomingCesna(void); static void CreateIncomingCesna(void);
static void CreateDropOffCesna(void); static void CreateDropOffCesna(void);
static CVector FindDrugPlaneCoordinates(void); static const CVector FindDrugPlaneCoordinates(void);
static CVector FindDropOffCesnaCoordinates(void); static const CVector FindDropOffCesnaCoordinates(void);
static bool HasCesnaLanded(void); static bool HasCesnaLanded(void);
static bool HasCesnaBeenDestroyed(void); static bool HasCesnaBeenDestroyed(void);
static bool HasDropOffCesnaBeenShotDown(void); static bool HasDropOffCesnaBeenShotDown(void);