diff options
author | frosch <frosch@openttd.org> | 2011-10-03 17:22:56 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-10-03 17:22:56 +0000 |
commit | 5be8f732049daa97fd212ed9b91354d3b146d99d (patch) | |
tree | 95b0fbac40c2002c8fcc2225506b4ab4ef48ed55 /src/vehicle_type.h | |
parent | fafa06e821d27eaa6345d8a043a4a21b7c6e6381 (diff) | |
download | openttd-5be8f732049daa97fd212ed9b91354d3b146d99d.tar.xz |
(svn r22980) -Add: GroupStatistics for DEFAULT_GROUP.
Diffstat (limited to 'src/vehicle_type.h')
-rw-r--r-- | src/vehicle_type.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/src/vehicle_type.h b/src/vehicle_type.h index 99231194b..35f45320f 100644 --- a/src/vehicle_type.h +++ b/src/vehicle_type.h @@ -19,14 +19,20 @@ typedef uint32 VehicleID; /** Available vehicle types. */ enum VehicleType { - VEH_TRAIN, ///< %Train vehicle type. - VEH_ROAD, ///< Road vehicle type. - VEH_SHIP, ///< %Ship vehicle type. - VEH_AIRCRAFT, ///< %Aircraft vehicle type. - VEH_EFFECT, ///< Effect vehicle type (smoke, explosions, sparks, bubbles) - VEH_DISASTER, ///< Disaster vehicle type. + VEH_BEGIN, + + VEH_TRAIN = VEH_BEGIN, ///< %Train vehicle type. + VEH_ROAD, ///< Road vehicle type. + VEH_SHIP, ///< %Ship vehicle type. + VEH_AIRCRAFT, ///< %Aircraft vehicle type. + + VEH_COMPANY_END, ///< Last company-ownable type. + + VEH_EFFECT = VEH_COMPANY_END, ///< Effect vehicle type (smoke, explosions, sparks, bubbles) + VEH_DISASTER, ///< Disaster vehicle type. + VEH_END, - VEH_INVALID = 0xFF, ///< Non-existing type of vehicle. + VEH_INVALID = 0xFF, ///< Non-existing type of vehicle. }; DECLARE_POSTFIX_INCREMENT(VehicleType) /** Helper information for extract tool. */ |