diff options
author | rubidium <rubidium@openttd.org> | 2009-06-03 18:47:08 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-06-03 18:47:08 +0000 |
commit | caf98238e3cffedbc80fc9f7aa0f485500f6913a (patch) | |
tree | 988ded205687ea822e8e3e2e3db2fb3fa494d59a /src/ai/api/ai_object.hpp | |
parent | 13c69b897e5456a3423cf557535a848dee68a0f5 (diff) | |
download | openttd-caf98238e3cffedbc80fc9f7aa0f485500f6913a.tar.xz |
(svn r16510) -Doc: silence some (AI) doxygen warnings by adding comments about the appropriate things.
Diffstat (limited to 'src/ai/api/ai_object.hpp')
-rw-r--r-- | src/ai/api/ai_object.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ai/api/ai_object.hpp b/src/ai/api/ai_object.hpp index 8fb8968c9..40f3b920c 100644 --- a/src/ai/api/ai_object.hpp +++ b/src/ai/api/ai_object.hpp @@ -143,9 +143,24 @@ protected: */ static void *&GetEventPointer(); + /** + * Set the cost of the last command. + */ static void SetLastCost(Money last_cost); + + /** + * Get the cost of the last command. + */ static Money GetLastCost(); + + /** + * Set a variable that can be used by callback functions to pass information. + */ static void SetCallbackVariable(int index, int value); + + /** + * Get the variable that is used by callback functions to pass information. + */ static int GetCallbackVariable(int index); public: |