diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-05-31 06:57:06 +0200 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-05-31 06:57:06 +0200 |
| commit | f5d1b4415c3bc8f145a84b8fd00d04629eb6e218 (patch) | |
| tree | 7cc987e598a65f8f365ecc41ba4704b7b674e168 /Source/Aircraft.h | |
| parent | 30b18fd262038f3ffaf24ad9884e1e121850019b (diff) | |
| download | airport-f5d1b4415c3bc8f145a84b8fd00d04629eb6e218.tar.gz | |
* Aircraft 0 was incorrectly being removed because indexes 0 to GAME_MAX_AIRCRAFT were being read instead of 0 to ptrPlayer->ActiveAircraft.
* Solved issues with linked list overflow. A detection mechanism has also been added.
* New state STATE_ENTERING_RWY.
* GameGuiActiveAircraftList has been moved from GameGui to Game module.
* Active aircraft list for each player is now updated each time that a new flight either appears or disappears.
* Other minor fixes.
Diffstat (limited to 'Source/Aircraft.h')
| -rw-r--r-- | Source/Aircraft.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Aircraft.h b/Source/Aircraft.h index 0c0458b..d681479 100644 --- a/Source/Aircraft.h +++ b/Source/Aircraft.h @@ -24,6 +24,7 @@ TYPE_ISOMETRIC_POS AircraftGetIsoPos(uint8_t FlightDataIdx); uint16_t AircraftGetTileFromFlightDataIndex(uint8_t index);
bool AircraftRemove(uint8_t aircraftIdx);
uint16_t* AircraftGetTargets(uint8_t index);
+bool AircraftMoving(uint8_t index);
AIRCRAFT_DIRECTION AircraftGetDirection(TYPE_AIRCRAFT_DATA* ptrAircraft);
bool AircraftAddNew( TYPE_FLIGHT_DATA * ptrFlightData,
uint8_t FlightDataIndex,
|
