forked from mirror/OpenTTD
(svn r4703) - NewGRF: add support for callback 0x1D, "can wagon be attached". This can be used to disallow freight wagons to be placed in passenger trains, along with other uses.
This commit is contained in:
@@ -25,6 +25,8 @@ enum CallbackID {
|
||||
|
||||
CBID_TRAIN_ARTIC_ENGINE = 0x16,
|
||||
|
||||
CBID_TRAIN_ALLOW_WAGON_ATTACH = 0x1D,
|
||||
|
||||
/* This callback is called from vehicle purchase lists. It returns a value to be
|
||||
* used as a custom string ID in the 0xD000 range. */
|
||||
CBID_VEHICLE_ADDITIONAL_TEXT = 0x23,
|
||||
|
Reference in New Issue
Block a user