mirror of https://github.com/OpenTTD/OpenTTD
Compare commits
3 Commits
77935a7b05
...
7d3407edae
Author | SHA1 | Date |
---|---|---|
|
7d3407edae | |
|
c69fc76395 | |
|
76a35badb0 |
|
@ -45,13 +45,13 @@ static const IndustryType NEW_INDUSTRYOFFSET = 37; ///< origi
|
||||||
static const IndustryType NUM_INDUSTRYTYPES = 240; ///< total number of industry types, new and old; limited to 240 because we need some special ids like IT_INVALID, IT_AI_UNKNOWN, IT_AI_TOWN, ...
|
static const IndustryType NUM_INDUSTRYTYPES = 240; ///< total number of industry types, new and old; limited to 240 because we need some special ids like IT_INVALID, IT_AI_UNKNOWN, IT_AI_TOWN, ...
|
||||||
static const IndustryType IT_INVALID = 0xFF;
|
static const IndustryType IT_INVALID = 0xFF;
|
||||||
|
|
||||||
static const IndustryGfx NUM_INDUSTRYTILES_PER_GRF = 255; ///< Maximum number of industry tiles per NewGRF; limited to 255 to allow extending Action3 with an extended byte later on.
|
|
||||||
|
|
||||||
static const IndustryGfx INDUSTRYTILE_NOANIM = 0xFF; ///< flag to mark industry tiles as having no animation
|
static const IndustryGfx INDUSTRYTILE_NOANIM = 0xFF; ///< flag to mark industry tiles as having no animation
|
||||||
static const IndustryGfx NEW_INDUSTRYTILEOFFSET = 175; ///< original number of tiles
|
static const IndustryGfx NEW_INDUSTRYTILEOFFSET = 175; ///< original number of tiles
|
||||||
static const IndustryGfx NUM_INDUSTRYTILES = 512; ///< total number of industry tiles, new and old
|
static const IndustryGfx NUM_INDUSTRYTILES = 512; ///< total number of industry tiles, new and old
|
||||||
static const IndustryGfx INVALID_INDUSTRYTILE = NUM_INDUSTRYTILES; ///< one above amount is considered invalid
|
static const IndustryGfx INVALID_INDUSTRYTILE = NUM_INDUSTRYTILES; ///< one above amount is considered invalid
|
||||||
|
|
||||||
|
static const IndustryGfx NUM_INDUSTRYTILES_PER_GRF = NUM_INDUSTRYTILES - NEW_INDUSTRYTILEOFFSET; ///< Maximum number of industry tiles per NewGRF.
|
||||||
|
|
||||||
static const int INDUSTRY_COMPLETED = 3; ///< final stage of industry construction.
|
static const int INDUSTRY_COMPLETED = 3; ///< final stage of industry construction.
|
||||||
|
|
||||||
static const int INDUSTRY_NUM_INPUTS = 16; ///< Number of cargo types an industry can accept
|
static const int INDUSTRY_NUM_INPUTS = 16; ///< Number of cargo types an industry can accept
|
||||||
|
|
|
@ -184,7 +184,7 @@ public:
|
||||||
/**
|
/**
|
||||||
* Bridge offset
|
* Bridge offset
|
||||||
*/
|
*/
|
||||||
SpriteID bridge_offset;
|
uint8_t bridge_offset;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Original railtype number to use when drawing non-newgrf railtypes, or when drawing stations.
|
* Original railtype number to use when drawing non-newgrf railtypes, or when drawing stations.
|
||||||
|
|
Loading…
Reference in New Issue