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/GameStructures.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/GameStructures.h')
| -rw-r--r-- | Source/GameStructures.h | 14 |
1 files changed, 7 insertions, 7 deletions
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)
|
