diff options
author | michi_cc <michi_cc@openttd.org> | 2011-11-04 00:35:05 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-11-04 00:35:05 +0000 |
commit | b9841bba816d20de692e159ac6b80ddd0c202fa7 (patch) | |
tree | 08d5471dc37316b36a848efb43296362ab9b0c85 /src/newgrf_callbacks.h | |
parent | 2886bb1df3323f9b7d9dbead94945cca8ba872ce (diff) | |
download | openttd-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.h | 3 |
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 }; /** |