--- a/src/ai/api/ai_bridge.hpp Fri May 23 16:19:13 2008 +0000
+++ b/src/ai/api/ai_bridge.hpp Sat May 24 22:48:46 2008 +0000
@@ -132,6 +132,15 @@
* @return Whether the bridge has been/can be removed or not.
*/
static bool RemoveBridge(TileIndex tile);
+
+ /**
+ * Get the tile that is on the other end of a bridge starting at tile.
+ * @param tile The tile that is an end of a bridge.
+ * @pre AIMap::IsValidTile(tile).
+ * @pre IsBridgeTile(tile).
+ * @return The TileIndex that is the other end of the bridge.
+ */
+ static TileIndex GetOtherBridgeEnd(TileIndex tile);
};
#endif /* AI_BRIDGE_HPP */