(svn r4918) Move the information about the size of airports from an global array into the struct which describes an airport

This commit is contained in:
tron
2006-05-20 15:13:27 +00:00
parent d955b49e1b
commit b5f433bf4c
6 changed files with 38 additions and 32 deletions

View File

@@ -105,6 +105,8 @@ typedef struct AirportFTAClass {
const TileIndexDiffC *airport_depots; // gives the position of the depots on the airports
byte nof_depots; // number of depots this airport has
struct AirportFTA *layout; // state machine for airport
byte size_x;
byte size_y;
} AirportFTAClass;
// internal structure used in openttd - Finite sTate mAchine --> FTA