equal
deleted
inserted
replaced
110 * @param t from where the distance has to be calculated. |
110 * @param t from where the distance has to be calculated. |
111 * @pre t has to be valid (use IsValidTile(t)). |
111 * @pre t has to be valid (use IsValidTile(t)). |
112 * @return the distances to the closest edge. |
112 * @return the distances to the closest edge. |
113 */ |
113 */ |
114 static uint32 DistanceFromEdge(TileIndex t); |
114 static uint32 DistanceFromEdge(TileIndex t); |
115 |
|
116 /** |
|
117 * Destroy everything on the given tile. |
|
118 * @param t the tile to destroy the stuff of. |
|
119 * @pre t has to be valid (use IsValidTile(t)). |
|
120 * @return true if and only if the destruction succeeded |
|
121 */ |
|
122 static bool DemolishTile(TileIndex t); |
|
123 }; |
115 }; |
124 |
116 |
125 #endif /* AI_MAP_HPP */ |
117 #endif /* AI_MAP_HPP */ |