(svn r22083) -Change: trunk is heading towards 1.2 now

This commit is contained in:
rubidium
2011-02-14 20:20:57 +00:00
parent 1b2ef66416
commit 22afd83964
12 changed files with 31 additions and 10 deletions

View File

@@ -57,7 +57,7 @@ AILibrary::~AILibrary()
*/
static bool CheckAPIVersion(const char *api_version)
{
return strcmp(api_version, "0.7") == 0 || strcmp(api_version, "1.0") == 0 || strcmp(api_version, "1.1") == 0;
return strcmp(api_version, "0.7") == 0 || strcmp(api_version, "1.0") == 0 || strcmp(api_version, "1.1") == 0 || strcmp(api_version, "1.2") == 0;
}
/* static */ SQInteger AIInfo::Constructor(HSQUIRRELVM vm)

View File

@@ -15,6 +15,10 @@
* functions may still be available if you return an older API version
* in GetAPIVersion() in info.nut.
*
* \b 1.2.0
*
* 1.2.0 is not yet released. The following changes are not set in stone yet.
*
* \b 1.1.0
*
* 1.1.0 is not yet released. The following changes are not set in stone yet.

View File

@@ -150,6 +150,7 @@ public:
* - "0.7"
* - "1.0"
* - "1.1"
* - "1.2"
*
* @return The version this AI is compatible with.
* @note This function is optional.