From 67cfc8b2c23177f036eda97f3423d062ba0c3e90 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Fri, 29 Dec 2017 23:19:43 +0100 Subject: * 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. --- Source/Game.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'Source/Game.h') 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__ -- cgit v1.2.3