src/industry.h
branchNewGRF_ports
changeset 6725 23339968083f
parent 6720 35756db7e577
child 6732 ca1b466db422
--- a/src/industry.h	Mon Jul 16 21:11:29 2007 +0000
+++ b/src/industry.h	Mon Jul 16 21:22:24 2007 +0000
@@ -49,11 +49,19 @@
 	CHECK_END,
 };
 
+/** How was the industry created */
 enum IndustryConstructionType {
-	ICT_UNKNOWN,
-	ICT_NORMAL_GAMEPLAY,
-	ICT_MAP_GENERATION,
-	ICT_SCENARIO_EDITOR
+	ICT_UNKNOWN,          ///< in previous game version or without newindustries activated
+	ICT_NORMAL_GAMEPLAY,  ///< either by user or random creation proccess
+	ICT_MAP_GENERATION,   ///< during random map creation
+	ICT_SCENARIO_EDITOR   ///< while scenarion edition
+};
+
+/** From where is callback CBID_INDUSTRY_AVAILABLE been called */
+enum IndustryAvailabilityCallType {
+	IACT_MAPGENERATION,   ///< during random map generation
+	IACT_RANDOMCREATION,  ///< during creation of random ingame industry
+	IACT_USERCREATION,    ///< from the Fund/build window
 };
 
 enum IndustyBehaviour {