2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-25 09:23:03 +00:00

chore: rename iw4 zone constants for zone version

This commit is contained in:
Jan Laupetin
2025-12-23 00:41:09 +01:00
parent 5a0b255d92
commit 8b1afcafaa
3 changed files with 5 additions and 5 deletions

View File

@@ -16,8 +16,8 @@ namespace IW4
static constexpr const char* MAGIC_SIGNED_OAT = "ABff0100";
static constexpr const char* MAGIC_UNSIGNED = "IWffu100";
static constexpr const char* MAGIC_IW4X = "IW4x";
static constexpr int ZONE_VERSION = 276;
static constexpr int IW4X_ZONE_VERSION = 3;
static constexpr int ZONE_VERSION_PC = 276;
static constexpr int ZONE_VERSION_IW4x = 3;
static constexpr int ZONE_VERSION_XENON = 269;
static_assert(std::char_traits<char>::length(MAGIC_SIGNED_INFINITY_WARD) == sizeof(ZoneHeader::m_magic));