Merge branch 'soontm' into 'master'

Bump us up to 0.51

See merge request OpenMW/openmw!4900
This commit is contained in:
Evil Eye 2025-09-20 16:20:07 +00:00
commit 74d2226e59
5 changed files with 10 additions and 10 deletions

View File

@ -1,3 +1,7 @@
0.51.0
------
0.50.0
------

View File

@ -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 96)
set(OPENMW_POSTPROCESSING_API_REVISION 3)

View File

@ -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

View File

@ -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 });

View File

@ -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