File diff r7318:844268a38029 → r7319:94412b8dacf8
src/industry.h
Show inline comments
 
@@ -105,7 +105,7 @@ struct Industry {
 
	uint16 last_month_transported[2];   ///< total units transported per cargo in the last full month
 
	uint16 counter;                     ///< used for animation and/or production (if available cargo)
 

	
 
	IndustryType type;                  ///< type of industry. see IT_COAL_MINE and others
 
	IndustryType type;                  ///< type of industry.
 
	OwnerByte owner;                    ///< owner of the industry.  Which SHOULD always be (imho) OWNER_NONE
 
	byte random_color;                  ///< randomized colour of the industry, for display purpose
 
	Year last_prod_year;                ///< last year of production
 
@@ -332,46 +332,6 @@ static inline void DeleteIndustry(Indust
 
extern const Industry **_industry_sort;
 
extern bool _industry_sort_dirty;
 

	
 
enum {
 
	IT_COAL_MINE           =   0,
 
	IT_POWER_STATION       =   1,
 
	IT_SAWMILL             =   2,
 
	IT_FOREST              =   3,
 
	IT_OIL_REFINERY        =   4,
 
	IT_OIL_RIG             =   5,
 
	IT_FACTORY             =   6,
 
	IT_PRINTING_WORKS      =   7,
 
	IT_STEEL_MILL          =   8,
 
	IT_FARM                =   9,
 
	IT_COPPER_MINE         =  10,
 
	IT_OIL_WELL            =  11,
 
	IT_BANK_TEMP           =  12,
 
	IT_FOOD_PROCESS        =  13,
 
	IT_PAPER_MILL          =  14,
 
	IT_GOLD_MINE           =  15,
 
	IT_BANK_TROPIC_ARCTIC  =  16,
 
	IT_DIAMOND_MINE        =  17,
 
	IT_IRON_MINE           =  18,
 
	IT_FRUIT_PLANTATION    =  19,
 
	IT_RUBBER_PLANTATION   =  20,
 
	IT_WATER_SUPPLY        =  21,
 
	IT_WATER_TOWER         =  22,
 
	IT_FACTORY_2           =  23,
 
	IT_FARM_2              =  24,
 
	IT_LUMBER_MILL         =  25,
 
	IT_COTTON_CANDY        =  26,
 
	IT_CANDY_FACTORY       =  27,
 
	IT_BATTERY_FARM        =  28,
 
	IT_COLA_WELLS          =  29,
 
	IT_TOY_SHOP            =  30,
 
	IT_TOY_FACTORY         =  31,
 
	IT_PLASTIC_FOUNTAINS   =  32,
 
	IT_FIZZY_DRINK_FACTORY =  33,
 
	IT_BUBBLE_GENERATOR    =  34,
 
	IT_TOFFEE_QUARRY       =  35,
 
	IT_SUGAR_MINE          =  36,
 
	IT_END,
 
	IT_INVALID             = 255,
 
};
 
static const uint8 IT_INVALID = 255;
 

	
 
#endif /* INDUSTRY_H */