summaryrefslogtreecommitdiff
path: root/station.h
diff options
context:
space:
mode:
Diffstat (limited to 'station.h')
-rw-r--r--station.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/station.h b/station.h
index 2018f0777..1d4c850a8 100644
--- a/station.h
+++ b/station.h
@@ -47,6 +47,15 @@ typedef struct StationSpecList {
uint8 localidx; /// Station ID within GRF of station
} StationSpecList;
+/** Station spread out rectangle (not saved) */
+typedef struct StationRect
+{
+ uint16 left;
+ uint16 top;
+ uint16 right;
+ uint16 bottom;
+} StationRect;
+
struct Station {
TileIndex xy;
RoadStop *bus_stops;
@@ -94,6 +103,8 @@ struct Station {
byte truck_stop_status_obsolete;
byte bus_stop_status_obsolete;
byte blocked_months_obsolete;
+
+ StationRect rect;
};
enum {