summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2011-11-04 00:35:05 +0000
committermichi_cc <michi_cc@openttd.org>2011-11-04 00:35:05 +0000
commitb9841bba816d20de692e159ac6b80ddd0c202fa7 (patch)
tree08d5471dc37316b36a848efb43296362ab9b0c85 /src/newgrf_callbacks.h
parent2886bb1df3323f9b7d9dbead94945cca8ba872ce (diff)
downloadopenttd-b9841bba816d20de692e159ac6b80ddd0c202fa7.tar.xz
(svn r23086) -Feature: [NewGRF] Callback to change refit cost depending on old and new cargo type.
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r--src/newgrf_callbacks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h
index aabb47e0f..ed283eda5 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -272,6 +272,9 @@ enum CallbackID {
/** Called to determine if one can alter the ground below an object tile */
CBID_OBJECT_AUTOSLOPE = 0x15D, // 15 bit callback
+
+ /** Called to determine the cost factor for refitting a vehicle. */
+ CBID_VEHICLE_REFIT_COST = 0x15E, // 15 bit callback
};
/**