diff options
author | rubidium <rubidium@openttd.org> | 2013-02-14 18:58:04 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-02-14 18:58:04 +0000 |
commit | 7ff6598cd2e1b1387e9d54c7b52f896b0ce2f4ac (patch) | |
tree | af61b42af980c422540cdf4b5b98cb5266d223c2 | |
parent | a3b3db664e7776d19933c6f857257269f3f1e4dc (diff) | |
download | openttd-7ff6598cd2e1b1387e9d54c7b52f896b0ce2f4ac.tar.xz |
(svn r25001) -Change: heading for 1.4 now
-rw-r--r-- | bin/ai/compat_1.3.nut | 2 | ||||
-rw-r--r-- | bin/ai/compat_1.4.nut | 8 | ||||
-rw-r--r-- | bin/game/compat_1.3.nut | 2 | ||||
-rw-r--r-- | bin/game/compat_1.4.nut | 8 | ||||
-rw-r--r-- | src/ai/ai_info.cpp | 2 | ||||
-rw-r--r-- | src/game/game_info.cpp | 2 | ||||
-rw-r--r-- | src/rev.cpp.in | 2 | ||||
-rw-r--r-- | src/script/api/ai_changelog.hpp | 4 | ||||
-rw-r--r-- | src/script/api/game_changelog.hpp | 4 |
9 files changed, 31 insertions, 3 deletions
diff --git a/bin/ai/compat_1.3.nut b/bin/ai/compat_1.3.nut index fe985b90d..c41e3dff8 100644 --- a/bin/ai/compat_1.3.nut +++ b/bin/ai/compat_1.3.nut @@ -6,3 +6,5 @@ * 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/>. */ + +AILog.Info("1.3 API compatability in effect."); diff --git a/bin/ai/compat_1.4.nut b/bin/ai/compat_1.4.nut new file mode 100644 index 000000000..820a7e5e4 --- /dev/null +++ b/bin/ai/compat_1.4.nut @@ -0,0 +1,8 @@ +/* $Id: compat_1.3.nut 23969 2012-02-19 19:14:17Z rubidium $ */ + +/* + * 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/game/compat_1.3.nut b/bin/game/compat_1.3.nut index fe985b90d..656794c89 100644 --- a/bin/game/compat_1.3.nut +++ b/bin/game/compat_1.3.nut @@ -6,3 +6,5 @@ * 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/>. */ + +GSLog.Info("1.3 API compatability in effect."); diff --git a/bin/game/compat_1.4.nut b/bin/game/compat_1.4.nut new file mode 100644 index 000000000..4703a7c36 --- /dev/null +++ b/bin/game/compat_1.4.nut @@ -0,0 +1,8 @@ +/* $Id: compat_1.3.nut 24469 2012-08-13 19:33:17Z yexo $ */ + +/* + * 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/src/ai/ai_info.cpp b/src/ai/ai_info.cpp index b40f07b08..7ea7e3261 100644 --- a/src/ai/ai_info.cpp +++ b/src/ai/ai_info.cpp @@ -23,7 +23,7 @@ */ 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 || strcmp(api_version, "1.2") == 0 || strcmp(api_version, "1.3") == 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 || strcmp(api_version, "1.3") == 0 || strcmp(api_version, "1.4") == 0; } #if defined(WIN32) diff --git a/src/game/game_info.cpp b/src/game/game_info.cpp index e69eae073..974665ee7 100644 --- a/src/game/game_info.cpp +++ b/src/game/game_info.cpp @@ -22,7 +22,7 @@ */ static bool CheckAPIVersion(const char *api_version) { - return strcmp(api_version, "1.2") == 0 || strcmp(api_version, "1.3") == 0; + return strcmp(api_version, "1.2") == 0 || strcmp(api_version, "1.3") == 0 || strcmp(api_version, "1.4") == 0; } #if defined(WIN32) diff --git a/src/rev.cpp.in b/src/rev.cpp.in index a50ba799e..cd22a4a8c 100644 --- a/src/rev.cpp.in +++ b/src/rev.cpp.in @@ -70,7 +70,7 @@ const byte _openttd_revision_modified = !!MODIFIED!!; * final release will always have a lower version number than the released * version, thus making comparisons on specific revisions easy. */ -const uint32 _openttd_newgrf_version = 1 << 28 | 3 << 24 | 0 << 20 | 0 << 19 | (!!REVISION!! & ((1 << 19) - 1)); +const uint32 _openttd_newgrf_version = 1 << 28 | 4 << 24 | 0 << 20 | 0 << 19 | (!!REVISION!! & ((1 << 19) - 1)); #ifdef __MORPHOS__ /** diff --git a/src/script/api/ai_changelog.hpp b/src/script/api/ai_changelog.hpp index aabe962b5..368954151 100644 --- a/src/script/api/ai_changelog.hpp +++ b/src/script/api/ai_changelog.hpp @@ -15,6 +15,10 @@ * functions may still be available if you return an older API version * in GetAPIVersion() in info.nut. * + * \b 1.4.0 + * + * 1.4.0 is not yet released. The following changes are not set in stone yet. + * * \b 1.3.0 * * 1.3.0 is not yet released. The following changes are not set in stone yet. diff --git a/src/script/api/game_changelog.hpp b/src/script/api/game_changelog.hpp index c0721a985..3b7234381 100644 --- a/src/script/api/game_changelog.hpp +++ b/src/script/api/game_changelog.hpp @@ -15,6 +15,10 @@ * functions may still be available if you return an older API version * in GetAPIVersion() in info.nut. * + * \b 1.4.0 + * + * 1.4.0 is not yet released. The following changes are not set in stone yet. + * * \b 1.3.0 * * 1.3.0 is not yet released. The following changes are not set in stone yet. |