diff options
Diffstat (limited to 'src/newgrf_engine.h')
-rw-r--r-- | src/newgrf_engine.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/newgrf_engine.h b/src/newgrf_engine.h index de1eb77d0..5d24e76ab 100644 --- a/src/newgrf_engine.h +++ b/src/newgrf_engine.h @@ -1,5 +1,7 @@ /* $Id$ */ +/** @file newgrf_engine.h */ + #ifndef NEWGRF_ENGINE_H #define NEWGRF_ENGINE_H @@ -7,9 +9,6 @@ #include "direction.h" #include "newgrf_cargo.h" -/** @file newgrf_engine.h - */ - extern int _traininfo_vehicle_pitch; extern int _traininfo_vehicle_width; @@ -38,11 +37,11 @@ bool UsesWagonOverride(const Vehicle *v); enum VehicleTrigger { VEHICLE_TRIGGER_NEW_CARGO = 1, - // Externally triggered only for the first vehicle in chain + /* Externally triggered only for the first vehicle in chain */ VEHICLE_TRIGGER_DEPOT = 2, - // Externally triggered only for the first vehicle in chain, only if whole chain is empty + /* Externally triggered only for the first vehicle in chain, only if whole chain is empty */ VEHICLE_TRIGGER_EMPTY = 4, - // Not triggered externally (called for the whole chain if we got NEW_CARGO) + /* Not triggered externally (called for the whole chain if we got NEW_CARGO) */ VEHICLE_TRIGGER_ANY_NEW_CARGO = 8, }; void TriggerVehicle(Vehicle *veh, VehicleTrigger trigger); |