diff options
Diffstat (limited to 'src/newgrf_callbacks.h')
-rw-r--r-- | src/newgrf_callbacks.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_callbacks.h b/src/newgrf_callbacks.h index 05327ea88..20477bd3e 100644 --- a/src/newgrf_callbacks.h +++ b/src/newgrf_callbacks.h @@ -12,6 +12,9 @@ * Names are formatted as CBID_<CLASS>_<CALLBACK> */ enum CallbackID { + /* Set when calling a randomizing trigger (almost undocumented) */ + CBID_RANDOM_TRIGGER = 0x01, + /* Powered wagons, if the result is lower as 0x40 then the wagon is powered * @todo : interpret the rest of the result, aka "visual effects" */ CBID_TRAIN_WAGON_POWER = 0x10, |