diff options
| author | XaviDCR92 <xavi.dcr@gmail.com> | 2017-12-29 23:19:43 +0100 |
|---|---|---|
| committer | XaviDCR92 <xavi.dcr@gmail.com> | 2017-12-29 23:19:43 +0100 |
| commit | 67cfc8b2c23177f036eda97f3423d062ba0c3e90 (patch) | |
| tree | 736dd4c76c30bf0f74ef4bf73f1218219ab26dc0 /Source/Game.h | |
| parent | 0d1df70f2d1a08fdb6389391ee59afc5fbc6277a (diff) | |
| download | airport-67cfc8b2c23177f036eda97f3423d062ba0c3e90.tar.gz | |
* RWY_DIR and AIRCRAFT_DIRECTION have been joint into a single enum.
* Game.c: new prototypes GameGetParkingDirection() and GameGetRunwayDirection().
* Slight optimizations into GameRenderLevel().
* Added some comment headers into Gfx.c.
Diffstat (limited to 'Source/Game.h')
| -rw-r--r-- | Source/Game.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Source/Game.h b/Source/Game.h index 1196193..b5a191e 100644 --- a/Source/Game.h +++ b/Source/Game.h @@ -4,14 +4,12 @@ /* ************************************* * Includes * *************************************/ - #include "Global_Inc.h" #include "GameStructures.h" /* ************************************* * Defines * *************************************/ - #define PLAYER_ONE 0 #define PLAYER_TWO 1 #define MAX_PLAYERS (PLAYER_TWO + 1) @@ -23,26 +21,14 @@ /* ************************************* * Structs and enums * *************************************/ - -typedef enum t_rwydir -{ - RWY_DIR_EAST = 0, - RWY_DIR_WEST, - RWY_DIR_NORTH, - RWY_DIR_SOUTH, - RWY_INVALID_DIR, -}RWY_DIR; - /* ************************************* * Global variables * *************************************/ - extern bool GameStartupFlag; /* ************************************* * Global prototypes * *************************************/ - void Game(bool two_players); void GameSetTime(uint8_t hour, uint8_t minutes); bool GameTwoPlayersActive(void); @@ -61,6 +47,5 @@ void GameCalculateRemainingAircraft(void); void GameAircraftCollision(uint8_t AircraftIdx); void GameStopFlight(uint8_t AicraftIdx); void GameResumeFlightFromAutoStop(uint8_t AircraftIdx); -RWY_DIR GameGetRunwayDirection(uint16_t rwyHeader); #endif //GAME_HEADER__ |
