summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r--src/newgrf_callbacks.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h
index 546ba630d..e96d06803 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -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
};
/**