summaryrefslogtreecommitdiff
path: root/src/newgrf_callbacks.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-01-17 22:19:12 +0000
committerpeter1138 <peter1138@openttd.org>2007-01-17 22:19:12 +0000
commit004f1b061ffa48f474b80a71da789dca4da599f0 (patch)
tree9eab53b6dbe16369a223b58b7ce958dfbd68ea94 /src/newgrf_callbacks.h
parent3d1735fcfd5e3158bef0ea82b47b265c464107bb (diff)
downloadopenttd-004f1b061ffa48f474b80a71da789dca4da599f0.tar.xz
(svn r8211) -Codechange: (NewGRF) Implement callback 2D, explicit vehicle colour map
selection.
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 9d0a7a3da..edc2ea6bf 100644
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -48,6 +48,10 @@ enum CallbackID {
/* Called when building a station to customize the tile layout */
CBID_STATION_TILE_LAYOUT = 0x24,
+ /* Called to determine if a specific colour map should be used for a vehicle
+ * instead of the default livery */
+ CBID_VEHICLE_COLOUR_MAPPING = 0x2D,
+
/* Called when the player (or AI) tries to start or stop a vehicle. Mainly
* used for preventing a vehicle from leaving the depot. */
CBID_VEHICLE_START_STOP_CHECK = 0x31,