diff options
author | rubidium <rubidium@openttd.org> | 2009-07-18 18:39:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-18 18:39:17 +0000 |
commit | 3fcfb9b248bd228d5885974858a14724205626ad (patch) | |
tree | 6b35f962b628ddcf39d6c80e26497cf856a5aa82 /src/station_type.h | |
parent | 73453e61d678d106be04149fc549716ecc5eed58 (diff) | |
download | openttd-3fcfb9b248bd228d5885974858a14724205626ad.tar.xz |
(svn r16876) -Codechange: add helper functions to cast to Station/Waypoint with some extra checks.
Diffstat (limited to 'src/station_type.h')
-rw-r--r-- | src/station_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_type.h b/src/station_type.h index 6a65c30d7..f5de2f270 100644 --- a/src/station_type.h +++ b/src/station_type.h @@ -44,6 +44,7 @@ enum StationFacility { FACIL_BUS_STOP = 1 << 2, ///< Station with bus stops FACIL_AIRPORT = 1 << 3, ///< Station with an airport FACIL_DOCK = 1 << 4, ///< Station with a dock + FACIL_WAYPOINT = 1 << 7, ///< Station is a waypoint }; DECLARE_ENUM_AS_BIT_SET(StationFacility); typedef SimpleTinyEnumT<StationFacility, byte> StationFacilityByte; |