diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 20:50:54 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 20:50:54 +0000 |
commit | 12aa5b6a583aa7ca9092ec6c77e7b12677cdd6a4 (patch) | |
tree | 7569f15cf65bf42fc1b4fff16a66cba8d0648299 /src/script/api/script_info_docs.hpp | |
parent | 5cda1d7c90f7ac2a1d8a851edbe426f07a032946 (diff) | |
download | openttd-12aa5b6a583aa7ca9092ec6c77e7b12677cdd6a4.tar.xz |
(svn r23604) -Add: initial support for GameScripts
Diffstat (limited to 'src/script/api/script_info_docs.hpp')
-rw-r--r-- | src/script/api/script_info_docs.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/script/api/script_info_docs.hpp b/src/script/api/script_info_docs.hpp index 28f2b53f0..10d2f09f7 100644 --- a/src/script/api/script_info_docs.hpp +++ b/src/script/api/script_info_docs.hpp @@ -22,7 +22,7 @@ * the information here can be used for libraries, but the information * will not be shown in the GUI except for error/debug messages. * - * @api ai + * @api ai game */ class ScriptInfo { public: @@ -151,13 +151,12 @@ public: * and not the bugfix number as valid return for this function. * * Valid return values are: - * - "0.7" - * - "1.0" - * - "1.1" - * - "1.2" + * - "0.7" (for AI only) + * - "1.0" (for AI only) + * - "1.1" (for AI only) + * - "1.2" (for both AI and GS) * * @return The version this Script is compatible with. - * @note This function is optional. */ string GetAPIVersion(); |