summaryrefslogtreecommitdiff
path: root/src/ai/ai_instance.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-01 19:36:56 +0000
committeryexo <yexo@openttd.org>2010-08-01 19:36:56 +0000
commit613b273f36ffd1d300ea08c5d6b1c469d145a591 (patch)
tree0f6da7e417356d57853c6fa7e9d55f98908e893b /src/ai/ai_instance.hpp
parent99cb47a3825f370e19adacd1ad1e6241eccb99f9 (diff)
downloadopenttd-613b273f36ffd1d300ea08c5d6b1c469d145a591.tar.xz
(svn r20285) -Codechange: use ///< for single-line doxygen comments in the AI code
Diffstat (limited to 'src/ai/ai_instance.hpp')
-rw-r--r--src/ai/ai_instance.hpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/ai/ai_instance.hpp b/src/ai/ai_instance.hpp
index 8d838f057..9e8602392 100644
--- a/src/ai/ai_instance.hpp
+++ b/src/ai/ai_instance.hpp
@@ -42,8 +42,8 @@ public:
AISuspendCallbackProc *GetSuspendCallback() { return callback; }
private:
- int time; //!< Amount of ticks to suspend the AI.
- AISuspendCallbackProc *callback; //!< Callback function to call when the AI can run again.
+ int time; ///< Amount of ticks to suspend the AI.
+ AISuspendCallbackProc *callback; ///< Callback function to call when the AI can run again.
};
/**
@@ -155,16 +155,16 @@ public:
*/
void Suspend();
private:
- class AIController *controller; //!< The AI main class.
- class AIStorage *storage; //!< Some global information for each running AI.
- class Squirrel *engine; //!< A wrapper around the squirrel vm.
- SQObject *instance; //!< Squirrel-pointer to the AI main class.
-
- bool is_started; //!< Is the AIs constructor executed?
- bool is_dead; //!< True if the AI has been stopped.
- bool is_save_data_on_stack; //!< Is the save data still on the squirrel stack?
- int suspend; //!< The amount of ticks to suspend this AI before it's allowed to continue.
- AISuspendCallbackProc *callback; //!< Callback that should be called in the next tick the AI runs.
+ class AIController *controller; ///< The AI main class.
+ class AIStorage *storage; ///< Some global information for each running AI.
+ class Squirrel *engine; ///< A wrapper around the squirrel vm.
+ SQObject *instance; ///< Squirrel-pointer to the AI main class.
+
+ bool is_started; ///< Is the AIs constructor executed?
+ bool is_dead; ///< True if the AI has been stopped.
+ bool is_save_data_on_stack; ///< Is the save data still on the squirrel stack?
+ int suspend; ///< The amount of ticks to suspend this AI before it's allowed to continue.
+ AISuspendCallbackProc *callback; ///< Callback that should be called in the next tick the AI runs.
/**
* Register all API functions to the VM.