From 60082980fd12b645150655a29c9b68e3aa0f92ef Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 23 Dec 2009 23:09:47 +0000 Subject: (svn r18622) -Merge: release changes --- src/ai/ai_info.cpp | 2 +- src/ai/api/ai_changelog.hpp | 8 ++++++-- src/ai/api/ai_info_docs.hpp | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'src/ai') diff --git a/src/ai/ai_info.cpp b/src/ai/ai_info.cpp index be16a4966..b753424e1 100644 --- a/src/ai/ai_info.cpp +++ b/src/ai/ai_info.cpp @@ -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) diff --git a/src/ai/api/ai_changelog.hpp b/src/ai/api/ai_changelog.hpp index 78721ed0c..0ff70f9b1 100644 --- a/src/ai/api/ai_changelog.hpp +++ b/src/ai/api/ai_changelog.hpp @@ -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 diff --git a/src/ai/api/ai_info_docs.hpp b/src/ai/api/ai_info_docs.hpp index 3774c005e..e93ef1e94 100644 --- a/src/ai/api/ai_info_docs.hpp +++ b/src/ai/api/ai_info_docs.hpp @@ -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. -- cgit v1.2.3-70-g09d2