From 5d4fc960624e4ea831dd3f0b2599d77542dc93df Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Sat, 30 Aug 2025 14:21:31 +0200 Subject: [PATCH] Bump us up to 0.51 --- CHANGELOG.md | 4 ++++ CMakeLists.txt | 2 +- README.md | 2 +- apps/openmw/mwstate/statemanagerimp.cpp | 8 +++----- components/esm3/formatversion.hpp | 4 +--- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c3990295e..24f3a027bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +0.51.0 +------ + + 0.50.0 ------ diff --git a/CMakeLists.txt b/CMakeLists.txt index 834668e92a..55711e2c80 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 50) +set(OPENMW_VERSION_MINOR 51) set(OPENMW_VERSION_RELEASE 0) set(OPENMW_LUA_API_REVISION 95) set(OPENMW_POSTPROCESSING_API_REVISION 3) diff --git a/README.md b/README.md index f65f74e9d8..3b79c5ecef 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.50.0 +* Version: 0.51.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 34aa3eaa46..d6cdf99bff 100644 --- a/apps/openmw/mwstate/statemanagerimp.cpp +++ b/apps/openmw/mwstate/statemanagerimp.cpp @@ -659,15 +659,13 @@ void MWState::StateManager::loadGame(const Character* character, const std::file { const char* release; // Report the last version still capable of reading this save - if (e.getFormatVersion() <= ESM::OpenMW0_48SaveGameFormatVersion) + if (e.getFormatVersion() < ESM::OpenMW0_49MinSaveGameFormatVersion) 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_50SaveGameFormatVersion); - release = "OpenMW 0.50.0"; + static_assert(ESM::MinSupportedSaveGameFormatVersion <= ESM::OpenMW0_49MinSaveGameFormatVersion); + release = "OpenMW 0.51.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 c205f2fbb7..f25cdca4bf 100644 --- a/components/esm3/formatversion.hpp +++ b/components/esm3/formatversion.hpp @@ -31,9 +31,7 @@ namespace ESM inline constexpr FormatVersion CurrentSaveGameFormatVersion = 34; inline constexpr FormatVersion MinSupportedSaveGameFormatVersion = 5; - inline constexpr FormatVersion OpenMW0_48SaveGameFormatVersion = 21; - inline constexpr FormatVersion OpenMW0_49SaveGameFormatVersion = 34; - inline constexpr FormatVersion OpenMW0_50SaveGameFormatVersion = CurrentSaveGameFormatVersion; + inline constexpr FormatVersion OpenMW0_49MinSaveGameFormatVersion = 5; } #endif