forked from mirror/OpenTTD
(svn r5822) - NewGRF: add support for callback 31, vehicle start/stop check. This allows a set to disallow a vehicle from being started, i.e. to not be able to leave the depot. This is almost a partner to callback 1D.
This commit is contained in:
@@ -41,6 +41,10 @@ enum CallbackID {
|
||||
|
||||
/* Called when building a station to customize the tile layout */
|
||||
CBID_STATION_TILE_LAYOUT = 0x24,
|
||||
|
||||
/* 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,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user