diff options
author | yexo <yexo@openttd.org> | 2009-08-18 18:51:42 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2009-08-18 18:51:42 +0000 |
commit | 67106dc0633c50ef6545d0ab6253384b276ab40e (patch) | |
tree | 09964556afb30a650b4549b0a919ba38230e363a /src/ai/api/ai_tile.hpp | |
parent | 58a0ff945c4025e20e30868c8774c8528909600c (diff) | |
download | openttd-67106dc0633c50ef6545d0ab6253384b276ab40e.tar.xz |
(svn r17214) -Add [NoAI]: GetAPIVersion() as optional function in info.nut. Return "0.7" to get an api compatible (as much as possible) with the 0.7 api or "0.8" to get the latest api.
-Change [NoAI]: move all deprecated functions to a separate squirrel script that is only loaded if an AI requests an old API version.
Diffstat (limited to 'src/ai/api/ai_tile.hpp')
-rw-r--r-- | src/ai/api/ai_tile.hpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/ai/api/ai_tile.hpp b/src/ai/api/ai_tile.hpp index b35bcc270..305770395 100644 --- a/src/ai/api/ai_tile.hpp +++ b/src/ai/api/ai_tile.hpp @@ -233,16 +233,6 @@ public: static Slope GetComplementSlope(Slope slope); /** - * Get the height of the north corner of a tile. - * The returned height is the height of the bare tile. A possible foundation on the tile does not influence this height. - * @deprecated This function is deprecated and might be removed in future versions of the API. Use GetMinHeight(), GetMaxHeight() or GetCornerHeight() instead. - * @param tile The tile to check on. - * @pre AIMap::IsValidTile(tile). - * @return The height of the north corner of the tile, ranging from 0 to 15. - */ - static int32 GetHeight(TileIndex tile); - - /** * Get the minimal height on a tile. * The returned height is the height of the bare tile. A possible foundation on the tile does not influence this height. * @param tile The tile to check on. |