diff options
Diffstat (limited to 'newgrf_callbacks.h')
-rw-r--r-- | newgrf_callbacks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newgrf_callbacks.h b/newgrf_callbacks.h index 62ce8ac96..d7a91c04b 100644 --- a/newgrf_callbacks.h +++ b/newgrf_callbacks.h @@ -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, }; /** |