From 40cba7962cb8466dc876ac4330d6e368f14df618 Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Mon, 6 Jan 2025 16:43:54 +0100 Subject: [PATCH] Bump us up to 0.50.0 --- CHANGELOG.md | 4 ++++ CMakeLists.txt | 2 +- README.md | 2 +- apps/openmw/mwstate/statemanagerimp.cpp | 6 ++++-- components/esm3/formatversion.hpp | 3 ++- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fab893258f..8115cc875c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +0.50.0 +------ + + 0.49.0 ------ diff --git a/CMakeLists.txt b/CMakeLists.txt index bcb27f7649..26b1df7075 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,7 +80,7 @@ endif() message(STATUS "Configuring OpenMW...") set(OPENMW_VERSION_MAJOR 0) -set(OPENMW_VERSION_MINOR 49) +set(OPENMW_VERSION_MINOR 50) set(OPENMW_VERSION_RELEASE 0) set(OPENMW_LUA_API_REVISION 69) set(OPENMW_POSTPROCESSING_API_REVISION 2) diff --git a/README.md b/README.md index bca5851c7b..f65f74e9d8 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ OpenMW is an open-source open-world RPG game engine that supports playing Morrow OpenMW also comes with OpenMW-CS, a replacement for Bethesda's Construction Set. -* Version: 0.49.0 +* Version: 0.50.0 * License: GPLv3 (see [LICENSE](https://gitlab.com/OpenMW/openmw/-/raw/master/LICENSE) for more information) * Website: https://www.openmw.org * IRC: #openmw on irc.libera.chat diff --git a/apps/openmw/mwstate/statemanagerimp.cpp b/apps/openmw/mwstate/statemanagerimp.cpp index 9e292a3eee..dac9776514 100644 --- a/apps/openmw/mwstate/statemanagerimp.cpp +++ b/apps/openmw/mwstate/statemanagerimp.cpp @@ -660,11 +660,13 @@ void MWState::StateManager::loadGame(const Character* character, const std::file // Report the last version still capable of reading this save if (e.getFormatVersion() <= ESM::OpenMW0_48SaveGameFormatVersion) release = "OpenMW 0.48.0"; + else if (e.getFormatVersion() <= ESM::OpenMW0_49SaveGameFormatVersion) + release = "OpenMW 0.49.0"; else { // Insert additional else if statements above to cover future releases - static_assert(ESM::MinSupportedSaveGameFormatVersion <= ESM::OpenMW0_49SaveGameFormatVersion); - release = "OpenMW 0.49.0"; + static_assert(ESM::MinSupportedSaveGameFormatVersion <= ESM::OpenMW0_50SaveGameFormatVersion); + release = "OpenMW 0.50.0"; } auto l10n = MWBase::Environment::get().getL10nManager()->getContext("OMWEngine"); std::string error = l10n->formatMessage("LoadingRequiresOldVersionError", { "version" }, { release }); diff --git a/components/esm3/formatversion.hpp b/components/esm3/formatversion.hpp index 32e245d7d1..c205f2fbb7 100644 --- a/components/esm3/formatversion.hpp +++ b/components/esm3/formatversion.hpp @@ -32,7 +32,8 @@ namespace ESM inline constexpr FormatVersion MinSupportedSaveGameFormatVersion = 5; inline constexpr FormatVersion OpenMW0_48SaveGameFormatVersion = 21; - inline constexpr FormatVersion OpenMW0_49SaveGameFormatVersion = CurrentSaveGameFormatVersion; + inline constexpr FormatVersion OpenMW0_49SaveGameFormatVersion = 34; + inline constexpr FormatVersion OpenMW0_50SaveGameFormatVersion = CurrentSaveGameFormatVersion; } #endif