2023-02-10 12:16:52 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_ESM3_FORMATVERSION_H
|
|
|
|
#define OPENMW_COMPONENTS_ESM3_FORMATVERSION_H
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
using FormatVersion = std::uint32_t;
|
|
|
|
|
|
|
|
inline constexpr FormatVersion DefaultFormatVersion = 0;
|
|
|
|
inline constexpr FormatVersion CurrentContentFormatVersion = 1;
|
2024-02-22 19:23:21 +00:00
|
|
|
inline constexpr FormatVersion MaxOldGoldValueFormatVersion = 5;
|
2023-11-30 21:08:30 +00:00
|
|
|
inline constexpr FormatVersion MaxOldFogOfWarFormatVersion = 6;
|
|
|
|
inline constexpr FormatVersion MaxUnoptimizedCharacterDataFormatVersion = 7;
|
2023-02-10 12:16:52 +00:00
|
|
|
inline constexpr FormatVersion MaxOldTimeLeftFormatVersion = 8;
|
|
|
|
inline constexpr FormatVersion MaxIntFallbackFormatVersion = 10;
|
2023-11-30 21:08:30 +00:00
|
|
|
inline constexpr FormatVersion MaxOldRestockingFormatVersion = 14;
|
2023-02-10 12:16:52 +00:00
|
|
|
inline constexpr FormatVersion MaxClearModifiersFormatVersion = 16;
|
|
|
|
inline constexpr FormatVersion MaxOldAiPackageFormatVersion = 17;
|
|
|
|
inline constexpr FormatVersion MaxOldSkillsAndAttributesFormatVersion = 18;
|
|
|
|
inline constexpr FormatVersion MaxOldCreatureStatsFormatVersion = 19;
|
2023-02-12 16:03:01 +00:00
|
|
|
inline constexpr FormatVersion MaxLimitedSizeStringsFormatVersion = 22;
|
2023-02-12 15:27:23 +00:00
|
|
|
inline constexpr FormatVersion MaxStringRefIdFormatVersion = 23;
|
2023-03-26 11:23:19 +00:00
|
|
|
inline constexpr FormatVersion MaxSavedGameCellNameAsRefIdFormatVersion = 24;
|
2023-03-26 13:21:09 +00:00
|
|
|
inline constexpr FormatVersion MaxNameIsRefIdOnlyFormatVersion = 25;
|
2023-04-02 20:00:39 +00:00
|
|
|
inline constexpr FormatVersion MaxUseEsmCellIdFormatVersion = 26;
|
2023-07-25 21:23:59 +00:00
|
|
|
inline constexpr FormatVersion MaxActiveSpellSlotIndexFormatVersion = 27;
|
2023-12-31 17:12:46 +00:00
|
|
|
inline constexpr FormatVersion MaxOldCountFormatVersion = 30;
|
2024-03-25 13:50:23 +00:00
|
|
|
inline constexpr FormatVersion MaxActiveSpellTypeVersion = 31;
|
2024-07-25 20:37:44 +00:00
|
|
|
inline constexpr FormatVersion MaxPlayerBeforeCellDataFormatVersion = 32;
|
|
|
|
inline constexpr FormatVersion CurrentSaveGameFormatVersion = 33;
|
2023-11-30 18:20:38 +00:00
|
|
|
|
2024-01-06 13:59:22 +00:00
|
|
|
inline constexpr FormatVersion MinSupportedSaveGameFormatVersion = 5;
|
2023-11-30 18:20:38 +00:00
|
|
|
inline constexpr FormatVersion OpenMW0_48SaveGameFormatVersion = 21;
|
|
|
|
inline constexpr FormatVersion OpenMW0_49SaveGameFormatVersion = CurrentSaveGameFormatVersion;
|
2023-02-10 12:16:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|