summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-25 08:54:19 +0000
committerrubidium <rubidium@openttd.org>2009-07-25 08:54:19 +0000
commit7440ec7a7350051297439f58f30d63f02018a507 (patch)
tree5d23745781a128a5644c0169ea0d7eb8913f9e38 /src/station_base.h
parent59c48fee8bda56a788310f6d83b99087d518fb0f (diff)
downloadopenttd-7440ec7a7350051297439f58f30d63f02018a507.tar.xz
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/station_base.h b/src/station_base.h
index 7006676cc..82c13223d 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -83,11 +83,11 @@ public:
return GetAirport(airport_type);
}
- RoadStop *bus_stops;
- RoadStop *truck_stops;
- TileIndex train_tile;
- TileIndex airport_tile;
- TileIndex dock_tile;
+ RoadStop *bus_stops; ///< All the road stops
+ RoadStop *truck_stops; ///< All the truck stops
+ TileArea train_station; ///< Tile area the train station part covers
+ TileIndex airport_tile; ///< The location of the airport
+ TileIndex dock_tile; ///< The location of the dock
IndustryType indtype; ///< Industry type to get the name from
@@ -97,9 +97,6 @@ public:
byte time_since_unload;
byte airport_type;
- /* trainstation width/height */
- byte trainst_w, trainst_h;
-
uint64 airport_flags; ///< stores which blocks on the airport are taken. was 16 bit earlier on, then 32
byte last_vehicle_type;