diff src/newgrf_callbacks.h @ 5717:5e23e918212d draft

(svn r8211) -Codechange: (NewGRF) Implement callback 2D, explicit vehicle colour map selection.
author peter1138 <peter1138@openttd.org>
date Wed, 17 Jan 2007 22:19:12 +0000 (2007-01-17)
parents eabf4b86aed6
children 2f3e0f04a033
line wrap: on
line diff
--- a/src/newgrf_callbacks.h
+++ b/src/newgrf_callbacks.h
@@ -48,6 +48,10 @@
 	/* 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,