(svn r18622) -Merge: release changes

This commit is contained in:
rubidium
2009-12-23 23:09:47 +00:00
parent fded7ef853
commit 3bafba18c3
13 changed files with 213 additions and 31 deletions

View File

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

View File

@@ -14,9 +14,9 @@
* functions may still be available if you return an older API version
* in GetAPIVersion() in info.nut.
*
* \b 0.8.0
* \b 1.0.0
*
* 0.8.0 is not yet released. The following changes are not set in stone yet.
* 1.0.0 is not yet released. The following changes are not set in stone yet.
*
* API additions:
* \li AIBaseStation
@@ -82,6 +82,10 @@
* \li AIIndustryType::GetConstructionCost() now returns -1 if the industry is
* neither buildable nor prospectable.
*
* \b 0.7.5
*
* No changes
*
* \b 0.7.4
*
* No changes

View File

@@ -148,7 +148,7 @@ public:
*
* Valid return values are:
* - "0.7"
* - "0.8"
* - "1.0"
*
* @return The version this AI is compatible with.
* @note This function is optional.