equal
deleted
inserted
replaced
3 /** @file ai_tilelist.cpp handles all functions of the AITileList class */ |
3 /** @file ai_tilelist.cpp handles all functions of the AITileList class */ |
4 |
4 |
5 #include "ai_tilelist.hpp" |
5 #include "ai_tilelist.hpp" |
6 |
6 |
7 #include "../../landscape.h" |
7 #include "../../landscape.h" |
|
8 #include "../../map_func.h" |
8 |
9 |
9 void AITileList::FixRectangleSpan(TileIndex &t1, TileIndex &t2) |
10 void AITileList::FixRectangleSpan(TileIndex &t1, TileIndex &t2) |
10 { |
11 { |
11 uint x1 = ::TileX(t1); |
12 uint x1 = ::TileX(t1); |
12 uint x2 = ::TileX(t2); |
13 uint x2 = ::TileX(t2); |