@@ -12,6 +12,12 @@ enum {
INVALID_INDUSTRY = 0xFFFF,
};
typedef enum IndustryLifeTypes {
INDUSTRYLIFE_NOT_CLOSABLE, ///< Industry can never close
INDUSTRYLIFE_PRODUCTION, ///< Industry can close and change of production
INDUSTRYLIFE_CLOSABLE, ///< Industry can only close (no production change)
} IndustryLifeType;
struct Industry {
TileIndex xy;
byte width; /* swapped order of w/h with town */
@@ -62,6 +68,8 @@ typedef struct IndustrySpec {
byte minimal_cargo;
CargoID accepts_cargo[3];
IndustryLifeType life_type; //this is also known as Industry production flag, in newgrf specs
StringID closure_text;
StringID production_up_text;
StringID production_down_text;
@@ -191,10 +199,4 @@ enum {
IT_INVALID = 255,
#endif /* INDUSTRY_H */