diff options
author | rubidium <rubidium@openttd.org> | 2009-07-25 08:54:19 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-25 08:54:19 +0000 |
commit | 7440ec7a7350051297439f58f30d63f02018a507 (patch) | |
tree | 5d23745781a128a5644c0169ea0d7eb8913f9e38 /src/base_station_base.h | |
parent | 59c48fee8bda56a788310f6d83b99087d518fb0f (diff) | |
download | openttd-7440ec7a7350051297439f58f30d63f02018a507.tar.xz |
(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.
Diffstat (limited to 'src/base_station_base.h')
-rw-r--r-- | src/base_station_base.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base_station_base.h b/src/base_station_base.h index 0c9aee77b..70146aa82 100644 --- a/src/base_station_base.h +++ b/src/base_station_base.h @@ -25,6 +25,11 @@ struct StationSpecList { /** 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 |