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/GameStructures.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Source/GameStructures.h') diff --git a/Source/GameStructures.h b/Source/GameStructures.h index 82218a0..115255f 100644 --- a/Source/GameStructures.h +++ b/Source/GameStructures.h @@ -102,12 +102,12 @@ typedef enum t_livery typedef enum t_direction { - AIRCRAFT_DIR_NO_DIRECTION = 0, - AIRCRAFT_DIR_NORTH, - AIRCRAFT_DIR_SOUTH, - AIRCRAFT_DIR_EAST, - AIRCRAFT_DIR_WEST, -}AIRCRAFT_DIRECTION; + NO_DIRECTION = 0, + DIR_NORTH, + DIR_SOUTH, + DIR_EAST, + DIR_WEST, +}DIRECTION; typedef enum t_aircraftAttitude { @@ -120,7 +120,7 @@ typedef enum t_aircraftAttitude typedef struct t_aircraftData { AIRCRAFT_LIVERY Livery; - AIRCRAFT_DIRECTION Direction; + DIRECTION Direction; AIRCRAFT_ATTITUDE Attitude; FL_STATE State; // Target tile (used to calculate direction and movement) -- cgit v1.2.3