From 9a55c79fd11e9075b937abe0a6a077fa77a72823 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 7 Jul 2007 08:53:19 +0000 Subject: (svn r10460) -Codechange: add some more variables needed for newindustries regarding to the creation of the industries. --- src/industry.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/industry.h') diff --git a/src/industry.h b/src/industry.h index d8fea7356..d97185862 100644 --- a/src/industry.h +++ b/src/industry.h @@ -49,6 +49,13 @@ enum CheckProc { CHECK_END, }; +enum IndustryConstructionType { + ICT_UNKNOWN, + ICT_NORMAL_GAMEPLAY, + ICT_MAP_GENERATION, + ICT_SCENARIO_EDITOR +}; + enum IndustyBehaviour { INDUSTRYBEH_NONE = 0, INDUSTRYBEH_PLANT_FIELDS = 1 << 0, ///< periodically plants fileds around itself (temp and artic farms) @@ -96,6 +103,11 @@ struct Industry { byte was_cargo_delivered; ///< flag that indicate this has been the closest industry chosen for cargo delivery by a station. see DeliverGoodsToIndustry IndustryID index; ///< index of the industry in the pool of industries + + 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 }; struct IndustryTileTable { -- cgit v1.2.3-54-g00ecf