diff options
author | yexo <yexo@openttd.org> | 2010-02-22 14:15:48 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-02-22 14:15:48 +0000 |
commit | 683ad53d21871e49bd8f6071db25e8ab1ad4485b (patch) | |
tree | 2ceff6d0297c9f2f4163d14ea0224ea9a9f68560 /src/table | |
parent | 3530156e15b6770894a6e07d065f4f771934e83a (diff) | |
download | openttd-683ad53d21871e49bd8f6071db25e8ab1ad4485b.tar.xz |
(svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager
Diffstat (limited to 'src/table')
-rw-r--r-- | src/table/airporttiles.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/table/airporttiles.h b/src/table/airporttiles.h index d01b5df66..5d7c61c18 100644 --- a/src/table/airporttiles.h +++ b/src/table/airporttiles.h @@ -13,7 +13,7 @@ #define AIRPORTTILES_H /** Writes all airport tile properties in the AirportTile struct */ -#define AT(num_frames, anim_speed) {(1 << 8) | num_frames, anim_speed} +#define AT(num_frames, anim_speed) {(1 << 8) | num_frames, anim_speed, true, {INVALID_AIRPORTTILE, 0, NULL, NULL, INVALID_AIRPORTTILE}} /** Writes an airport tile without animation in the AirportTile struct */ #define AT_NOANIM {0xFFFF, 2} @@ -104,7 +104,7 @@ static const AirportTileSpec _origin_airporttile_specs[] = { AT(4, 1), // APT_GRASS_FENCE_NE_FLAG_2 }; -assert_compile(NUM_AIRPORTTILES == lengthof(_origin_airporttile_specs)); +assert_compile(NEW_AIRPORTTILE_OFFSET == lengthof(_origin_airporttile_specs)); #undef AT_NOANIM #undef AT |