summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-09-19 09:51:14 +0000
committerrubidium <rubidium@openttd.org>2009-09-19 09:51:14 +0000
commite8ddf001c87790cde6e03e9ca47714b6fc30266c (patch)
treeee79ed87da1aba8bb3af2e0ca22d10abe5621b08 /src/ai
parentfa33b92b0f3fae58a7fee4dd9a74fd43bf7d1f9a (diff)
downloadopenttd-e8ddf001c87790cde6e03e9ca47714b6fc30266c.tar.xz
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/ai_instance.hpp1
-rw-r--r--src/ai/api/ai_road.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp
index 4306cfb93..b2cc2f49c 100644
--- a/src/ai/ai_instance.hpp
+++ b/src/ai/ai_instance.hpp
@@ -164,6 +164,7 @@ private:
/**
* Save one object (int / string / arrray / table) to the savegame.
+ * @param vm The virtual machine to get all the data from.
* @param index The index on the squirrel stack of the element to save.
* @param max_depth The maximum depth recursive arrays / tables will be stored
* with before an error is returned.
diff --git a/src/ai/api/ai_road.cpp b/src/ai/api/ai_road.cpp
index d87d33e6a..b8f4706b0 100644
--- a/src/ai/api/ai_road.cpp
+++ b/src/ai/api/ai_road.cpp
@@ -402,6 +402,7 @@ static bool NormaliseTileOffset(int32 *tile)
/**
* Check whether one can reach (possibly by building) a road piece the center
* of the neighbouring tile. This includes roads and (drive through) stations.
+ * @param rts The road type we want to know reachability for
* @param start_tile The tile to "enter" the neighbouring tile.
* @param neighbour The direction to the neighbouring tile to "enter".
* @return true if and only if the tile is reachable.