From 12aa5b6a583aa7ca9092ec6c77e7b12677cdd6a4 Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 19 Dec 2011 20:50:54 +0000 Subject: (svn r23604) -Add: initial support for GameScripts --- src/script/api/script_info_docs.hpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/script/api/script_info_docs.hpp') 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(); -- cgit v1.2.3-70-g09d2