summaryrefslogtreecommitdiff
path: root/src/station_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-18 18:39:17 +0000
committerrubidium <rubidium@openttd.org>2009-07-18 18:39:17 +0000
commit3fcfb9b248bd228d5885974858a14724205626ad (patch)
tree6b35f962b628ddcf39d6c80e26497cf856a5aa82 /src/station_type.h
parent73453e61d678d106be04149fc549716ecc5eed58 (diff)
downloadopenttd-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.h1
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;