|
|
#ifndef AIRPORT_MOVEMENT_H
|
|
|
#define AIRPORT_MOVEMENT_H
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
#include "macros.h"
|
|
|
|
|
|
typedef struct AirportMovingData {
|
|
|
int x,y;
|
|
|
byte flag;
|
|
|
byte direction;
|
|
|
} AirportMovingData;
|
|
|
|
|
|
// state machine input struct (from external file, etc.)
|
|
|
// Finite sTate mAchine --> FTA
|
|
|
typedef struct AirportFTAbuildup {
|
|
|
byte position; // the position that an airplane is at
|
|
|
byte heading; // the current orders (eg. TAKEOFF, HANGAR, ENDLANDING, etc.)
|