src/industry.h
changeset 7755 517d6b2b2ca2
parent 7725 e3892b38aa14
child 7787 6e0b6ea38850
equal deleted inserted replaced
7754:8e7205edd6c7 7755:517d6b2b2ca2
    47 	CHECK_BUBBLEGEN,
    47 	CHECK_BUBBLEGEN,
    48 	CHECK_OIL_RIG,
    48 	CHECK_OIL_RIG,
    49 	CHECK_END,
    49 	CHECK_END,
    50 };
    50 };
    51 
    51 
       
    52 /** How was the industry created */
    52 enum IndustryConstructionType {
    53 enum IndustryConstructionType {
    53 	ICT_UNKNOWN,
    54 	ICT_UNKNOWN,          ///< in previous game version or without newindustries activated
    54 	ICT_NORMAL_GAMEPLAY,
    55 	ICT_NORMAL_GAMEPLAY,  ///< either by user or random creation proccess
    55 	ICT_MAP_GENERATION,
    56 	ICT_MAP_GENERATION,   ///< during random map creation
    56 	ICT_SCENARIO_EDITOR
    57 	ICT_SCENARIO_EDITOR   ///< while scenarion edition
       
    58 };
       
    59 
       
    60 /** From where is callback CBID_INDUSTRY_AVAILABLE been called */
       
    61 enum IndustryAvailabilityCallType {
       
    62 	IACT_MAPGENERATION,   ///< during random map generation
       
    63 	IACT_RANDOMCREATION,  ///< during creation of random ingame industry
       
    64 	IACT_USERCREATION,    ///< from the Fund/build window
    57 };
    65 };
    58 
    66 
    59 enum IndustyBehaviour {
    67 enum IndustyBehaviour {
    60 	INDUSTRYBEH_NONE                  =      0,
    68 	INDUSTRYBEH_NONE                  =      0,
    61 	INDUSTRYBEH_PLANT_FIELDS          = 1 << 0,  ///< periodically plants fileds around itself (temp and artic farms)
    69 	INDUSTRYBEH_PLANT_FIELDS          = 1 << 0,  ///< periodically plants fileds around itself (temp and artic farms)