(svn r10570) -Codechange: Add enum required for Callback 0x22: CBID_INDUSTRY_AVAILABLE

-Documentation: Add documentation for enum IndustryConstructionType, which describes how the industry has been created
This commit is contained in:
belugas 2007-07-15 00:03:17 +00:00
parent 7aec26887c
commit 6d22aa54cf
1 changed files with 12 additions and 4 deletions

View File

@ -49,11 +49,19 @@ enum CheckProc {
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 {