File diff r12647:3ada08b745f5 → r12648:24c912bd53f6
src/industry.h
Show inline comments
 
@@ -16,12 +16,13 @@
 
#include "town_type.h"
 
#include "industry_type.h"
 
#include "landscape_type.h"
 
#include "tile_type.h"
 
#include "company_type.h"
 
#include "strings_type.h"
 
#include "subsidy_type.h"
 

	
 
enum {
 
	INVALID_INDUSTRY       = 0xFFFF,
 
	NEW_INDUSTRYOFFSET     = 37,                         ///< original number of industries
 
	NUM_INDUSTRYTYPES      = 64,                         ///< total number of industries, new and old
 
	INDUSTRYTILE_NOANIM    = 0xFF,                       ///< flag to mark industry tiles as having no animation
 
@@ -122,12 +123,14 @@ struct Industry : IndustryPool::PoolItem
 
	IndustryType type;                  ///< type of industry.
 
	OwnerByte owner;                    ///< owner of the industry.  Which SHOULD always be (imho) OWNER_NONE
 
	byte random_colour;                 ///< randomized colour of the industry, for display purpose
 
	Year last_prod_year;                ///< last year of production
 
	byte was_cargo_delivered;           ///< flag that indicate this has been the closest industry chosen for cargo delivery by a station. see DeliverGoodsToIndustry
 

	
 
	PartOfSubsidyByte part_of_subsidy;  ///< NOSAVE: is this industry a source/destination of a subsidy?
 

	
 
	OwnerByte founder;                  ///< Founder of the industry
 
	Date construction_date;             ///< Date of the construction of the industry
 
	uint8 construction_type;            ///< Way the industry was constructed (@see IndustryConstructionType)
 
	Date last_cargo_accepted_at;        ///< Last day cargo was accepted by this industry
 
	byte selected_layout;               ///< Which tile layout was used when creating the industry