2023-02-10 13:16:52 +01: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;
|
2023-11-30 22:08:30 +01:00
|
|
|
inline constexpr FormatVersion MaxOldFogOfWarFormatVersion = 6;
|
|
|
|
inline constexpr FormatVersion MaxUnoptimizedCharacterDataFormatVersion = 7;
|
2023-02-10 13:16:52 +01:00
|
|
|
inline constexpr FormatVersion MaxOldTimeLeftFormatVersion = 8;
|
|
|
|
inline constexpr FormatVersion MaxIntFallbackFormatVersion = 10;
|
2023-11-30 22:08:30 +01:00
|
|
|
inline constexpr FormatVersion MaxOldRestockingFormatVersion = 14;
|
2023-02-10 13:16:52 +01:00
|
|
|
inline constexpr FormatVersion MaxClearModifiersFormatVersion = 16;
|
|
|
|
inline constexpr FormatVersion MaxOldAiPackageFormatVersion = 17;
|
|
|
|
inline constexpr FormatVersion MaxOldSkillsAndAttributesFormatVersion = 18;
|
|
|
|
inline constexpr FormatVersion MaxOldCreatureStatsFormatVersion = 19;
|
2023-02-12 17:03:01 +01:00
|
|
|
inline constexpr FormatVersion MaxLimitedSizeStringsFormatVersion = 22;
|
2023-02-12 16:27:23 +01:00
|
|
|
inline constexpr FormatVersion MaxStringRefIdFormatVersion = 23;
|
2023-03-26 13:23:19 +02:00
|
|
|
inline constexpr FormatVersion MaxSavedGameCellNameAsRefIdFormatVersion = 24;
|
2023-03-26 15:21:09 +02:00
|
|
|
inline constexpr FormatVersion MaxNameIsRefIdOnlyFormatVersion = 25;
|
2023-04-02 22:00:39 +02:00
|
|
|
inline constexpr FormatVersion MaxUseEsmCellIdFormatVersion = 26;
|
2023-07-25 21:23:59 +00:00
|
|
|
inline constexpr FormatVersion MaxActiveSpellSlotIndexFormatVersion = 27;
|
2023-09-24 21:58:10 +04:00
|
|
|
inline constexpr FormatVersion CurrentSaveGameFormatVersion = 30;
|
2023-11-30 19:20:38 +01:00
|
|
|
|
2023-12-09 18:05:57 +01:00
|
|
|
inline constexpr FormatVersion MinSupportedSaveGameFormatVersion = 4;
|
2023-11-30 19:20:38 +01:00
|
|
|
inline constexpr FormatVersion OpenMW0_48SaveGameFormatVersion = 21;
|
|
|
|
inline constexpr FormatVersion OpenMW0_49SaveGameFormatVersion = CurrentSaveGameFormatVersion;
|
2023-02-10 13:16:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|