(svn r24186) -Feature: [NewGRF] Callback to set industry production level on construction. (andythenorth)

This commit is contained in:
frosch
2012-04-28 16:44:01 +00:00
parent 789c95d4b8
commit 16b310d8ce
3 changed files with 25 additions and 5 deletions

View File

@@ -275,6 +275,9 @@ enum CallbackID {
/** Called to determine the cost factor for refitting a vehicle. */
CBID_VEHICLE_REFIT_COST = 0x15E, // 15 bit callback
/** Called when industry is built to set initial production level. */
CBID_INDUSTRY_PROD_CHANGE_BUILD = 0x15F, // 15 bit callback
};
/**
@@ -355,6 +358,7 @@ enum IndustryCallbackMask {
CBM_IND_DECIDE_COLOUR = 11, ///< give a custom colour to newly build industries
CBM_IND_INPUT_CARGO_TYPES = 12, ///< customize the cargoes the industry requires
CBM_IND_OUTPUT_CARGO_TYPES = 13, ///< customize the cargoes the industry produces
CBM_IND_PROD_CHANGE_BUILD = 14, ///< initialise production level on construction
};
/**