summaryrefslogtreecommitdiff
path: root/bin/ai
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ai')
-rw-r--r--bin/ai/compat_1.0.nut3
-rw-r--r--bin/ai/compat_1.1.nut8
-rw-r--r--bin/ai/regression/regression_info.nut2
3 files changed, 12 insertions, 1 deletions
diff --git a/bin/ai/compat_1.0.nut b/bin/ai/compat_1.0.nut
index fe985b90d..f14520c1e 100644
--- a/bin/ai/compat_1.0.nut
+++ b/bin/ai/compat_1.0.nut
@@ -6,3 +6,6 @@
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
+
+/* Enable when adding the first compatability code:
+ * AILog.Info("1.0 API compatability in effect"); */
diff --git a/bin/ai/compat_1.1.nut b/bin/ai/compat_1.1.nut
new file mode 100644
index 000000000..fe985b90d
--- /dev/null
+++ b/bin/ai/compat_1.1.nut
@@ -0,0 +1,8 @@
+/* $Id$ */
+
+/*
+ * This file is part of OpenTTD.
+ * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
+ * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
+ */
diff --git a/bin/ai/regression/regression_info.nut b/bin/ai/regression/regression_info.nut
index 0d70f0824..0fd9952dc 100644
--- a/bin/ai/regression/regression_info.nut
+++ b/bin/ai/regression/regression_info.nut
@@ -6,7 +6,7 @@ class Regression extends AIInfo {
function GetShortName() { return "REGR"; }
function GetDescription() { return "This runs regression-tests on all commands. On the same map the result should always be the same."; }
function GetVersion() { return 1; }
- function GetAPIVersion() { return "1.0"; }
+ function GetAPIVersion() { return "1.1"; }
function GetDate() { return "2007-03-18"; }
function CreateInstance() { return "Regression"; }
}