summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_sign.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-05-23 14:54:55 +0000
committeryexo <yexo@openttd.org>2009-05-23 14:54:55 +0000
commit0b243d25cbe8fec67a004cebee288ae741867cff (patch)
tree73b8b77851f4ed6ecaaf4de3c11b3a41cb0174e0 /src/ai/api/ai_sign.hpp
parent8e30f0e75abe83358a0d3c72716d7a77d0f89cf1 (diff)
downloadopenttd-0b243d25cbe8fec67a004cebee288ae741867cff.tar.xz
(svn r16400) -Add [NoAI]: add AISignList that can be used to get a list of valid signs. This makes AISign::GetMaxSignID obsolete.
Diffstat (limited to 'src/ai/api/ai_sign.hpp')
-rw-r--r--src/ai/api/ai_sign.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ai/api/ai_sign.hpp b/src/ai/api/ai_sign.hpp
index d18cef817..e7e20dc46 100644
--- a/src/ai/api/ai_sign.hpp
+++ b/src/ai/api/ai_sign.hpp
@@ -30,6 +30,7 @@ public:
/**
* Gets the maximum sign index; there are no valid signs with a higher index.
+ * @deprecated This function is deprecated and might be removed in future versions of the API. Use AISignList() instead.
* @return The maximum sign index.
* @post Return value is always non-negative.
*/