diff options
author | rubidium <rubidium@openttd.org> | 2009-07-26 21:07:03 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-26 21:07:03 +0000 |
commit | 47a37b6093c3bb93dba81e4d3440c4098699a849 (patch) | |
tree | 322f91b3bf8e463dde3d472a4b390600a84ca350 /src/base_station_base.h | |
parent | 4aa2785757b132a4faee3a5fa821f2795be94f76 (diff) | |
download | openttd-47a37b6093c3bb93dba81e4d3440c4098699a849.tar.xz |
(svn r16965) -Codechange: use tile area instead of sets of variables for the station joiner code.
Diffstat (limited to 'src/base_station_base.h')
-rw-r--r-- | src/base_station_base.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/base_station_base.h b/src/base_station_base.h index 5f99adab8..a3b28eb08 100644 --- a/src/base_station_base.h +++ b/src/base_station_base.h @@ -23,18 +23,6 @@ struct StationSpecList { uint8 localidx; ///< Station ID within GRF of station }; -/** Represents the covered area */ -struct TileArea { - /** Just construct this tile area */ - TileArea() {} - /** Construct this tile area with some set values */ - TileArea(TileIndex tile, uint8 w, uint8 h) : tile(tile), w(w), h(h) {} - - TileIndex tile; ///< The base tile of the area - uint8 w; ///< The width of the area - uint8 h; ///< The height of the area -}; - /** StationRect - used to track station spread out rectangle - cheaper than scanning whole map */ struct StationRect : public Rect { |