(svn r22083) -Change: trunk is heading towards 1.2 now
This commit is contained in:
@@ -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)
|
||||
|
@@ -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.
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user