From 683ad53d21871e49bd8f6071db25e8ab1ad4485b Mon Sep 17 00:00:00 2001 From: yexo Date: Mon, 22 Feb 2010 14:15:48 +0000 Subject: (svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager --- src/table/airporttiles.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/table/airporttiles.h') 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 -- cgit v1.2.3-54-g00ecf