summaryrefslogtreecommitdiff
path: root/src/newgrf_station.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-04-05 08:01:36 +0000
committerpeter1138 <peter1138@openttd.org>2009-04-05 08:01:36 +0000
commit679248fb51b89b51b00eb10dfe58ab7f26606c6d (patch)
treeeeb6022f470016268674783e00a1e3cafadb6e3e /src/newgrf_station.h
parentedfc2e536e2a2eb82e83076de49d7807a88e5894 (diff)
downloadopenttd-679248fb51b89b51b00eb10dfe58ab7f26606c6d.tar.xz
(svn r15956) -Codechange: Enumorize station spec flags.
Diffstat (limited to 'src/newgrf_station.h')
-rw-r--r--src/newgrf_station.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/newgrf_station.h b/src/newgrf_station.h
index 9af801f05..5bd52891b 100644
--- a/src/newgrf_station.h
+++ b/src/newgrf_station.h
@@ -29,6 +29,14 @@ typedef TinyEnumT<StationClassID> StationClassIDByte;
/** Allow incrementing of StationClassID variables */
DECLARE_POSTFIX_INCREMENT(StationClassID);
+enum StationSpecFlags {
+ SSF_SEPARATE_GROUND, ///< Use different sprite set for ground sprites.
+ SSF_DIV_BY_STATION_SIZE, ///< Divide cargo amount by station size.
+ SSF_CB141_RANDOM_BITS, ///< Callback 141 needs random bits.
+ SSF_CUSTOM_FOUNDATIONS, ///< Draw custom foundations.
+ SSF_EXTENDED_FOUNDATIONS, ///< Extended foundation block instead of simple.
+};
+
/* Station layout for given dimensions - it is a two-dimensional array
* where index is computed as (x * platforms) + platform. */
typedef byte *StationLayout;