branch | noai |
changeset 9599 | 949374e83b78 |
parent 9592 | c5c09cfde63a |
child 9723 | eee46cb39750 |
9598:b73018a5ffc0 | 9599:949374e83b78 |
---|---|
1 /* $Id$ */ |
|
2 |
|
3 /** @file ai_tilelist.cpp handles all functions of the AITileList class */ |
|
4 |
|
1 #include "ai_tilelist.hpp" |
5 #include "ai_tilelist.hpp" |
6 |
|
7 #include "../../landscape.h" |
|
2 |
8 |
3 void AITileList::FixRectangleSpan(TileIndex &t1, TileIndex &t2) |
9 void AITileList::FixRectangleSpan(TileIndex &t1, TileIndex &t2) |
4 { |
10 { |
5 uint x1 = ::TileX(t1); |
11 uint x1 = ::TileX(t1); |
6 uint x2 = ::TileX(t2); |
12 uint x2 = ::TileX(t2); |