(svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager

This commit is contained in:
yexo
2010-02-22 14:15:48 +00:00
parent d93bfaac26
commit 966382f3d8
7 changed files with 90 additions and 19 deletions

View File

@@ -19,6 +19,7 @@
#include "landscape_type.h"
#include "strings_type.h"
#include "cargo_type.h"
#include "newgrf_commons.h"
enum {
CLEAN_RANDOMSOUNDS, ///< Free the dynamically allocated sounds table
@@ -94,15 +95,6 @@ struct IndustryTileTable {
IndustryGfx gfx;
};
/** Data related to the handling of grf files. Common to both industry and industry tile */
struct GRFFileProps {
uint16 subst_id;
uint16 local_id; ///< id defined by the grf file for this industry
struct SpriteGroup *spritegroup; ///< pointer to the different sprites of the industry
const struct GRFFile *grffile; ///< grf file that introduced this industry
uint16 override; ///< id of the entity been replaced by
};
/**
* Defines the data structure for constructing industry.
*/