(svn r16947) -Codechange: use TileArea instead of train_tile, trainst_w and trainst_h.

This commit is contained in:
rubidium
2009-07-25 08:54:19 +00:00
parent 59c48fee8b
commit 7440ec7a73
13 changed files with 109 additions and 126 deletions

View File

@@ -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