From 9cbaf49e93758b50e82a4d7d42762de242e7f086 Mon Sep 17 00:00:00 2001 From: Xavier ASUS Date: Thu, 29 Nov 2018 01:07:06 +0100 Subject: Some important bugfixes. Added BUILDING_ATC_LOC. Added more levels. --- Source/GameStructures.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Source/GameStructures.h') diff --git a/Source/GameStructures.h b/Source/GameStructures.h index 7d271ed..abfe80f 100644 --- a/Source/GameStructures.h +++ b/Source/GameStructures.h @@ -36,7 +36,7 @@ typedef enum t_fldir typedef enum t_flstate { - STATE_IDLE = 0, + STATE_IDLE, STATE_PARKED, STATE_UNBOARDING, STATE_TAXIING, @@ -113,11 +113,11 @@ typedef enum t_livery typedef enum t_direction { - NO_DIRECTION = 0, + NO_DIRECTION, DIR_NORTH, DIR_SOUTH, DIR_EAST, - DIR_WEST, + DIR_WEST }DIRECTION; typedef enum t_aircraftAttitude @@ -171,7 +171,7 @@ typedef struct bool Unboarding; // Stores indexes for player-specific active aircraft - // Used to relate SelectedAircraft agains FlightData index + // Used to relate SelectedAircraft against FlightData index uint8_t ActiveAircraftList[GAME_MAX_AIRCRAFT]; // Flight direction to be managed by player (see 2-player mode) FL_DIR FlightDirection; @@ -212,13 +212,15 @@ typedef struct uint16_t RwyArray[GAME_MAX_RWY_LENGTH]; // Remaining time for next aircraft (if any). uint16_t NextAircraftTime; + // Number of remaining aircraft in STATE_IDLE. + uint16_t RemainingAircraft; // Pad callbacks. bool (*const PadKeyPressed_Callback)(unsigned short); bool (*const PadKeyReleased_Callback)(unsigned short); bool (*const PadKeySinglePress_Callback)(unsigned short); bool (*const PadDirectionKeyPressed_Callback)(void); - unsigned short (*PadLastKeySinglePressed_Callback)(void); + unsigned short (*const PadLastKeySinglePressed_Callback)(void); }TYPE_PLAYER; typedef enum t_fontflags -- cgit v1.2.3