(svn r23604) -Add: initial support for GameScripts

This commit is contained in:
truebrain
2011-12-19 20:50:54 +00:00
parent 5cda1d7c90
commit 12aa5b6a58
33 changed files with 729 additions and 37 deletions

View File

@@ -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();