1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Implemented parsing of HotA h3m header

This commit is contained in:
Ivan Savenko
2023-04-03 18:56:49 +03:00
parent f93335d678
commit 838d45b32c
4 changed files with 76 additions and 33 deletions

View File

@@ -253,13 +253,15 @@ struct DLL_LINKAGE DisposedHero
enum class EMapFormat: uint8_t
{
INVALID = 0,
// HEX DEC
ROE = 0x0e, // 14
AB = 0x15, // 21
SOD = 0x1c, // 28
HOTA = 0x1e, // 30
WOG = 0x33, // 51
VCMI = 0xF0
// HEX DEC
ROE = 0x0e, // 14
AB = 0x15, // 21
SOD = 0x1c, // 28
HOTA1 = 0x1e, // 30
HOTA2 = 0x1f, // 31
HOTA3 = 0x20, // 32
WOG = 0x33, // 51
VCMI = 0xF0
};
/// The map header holds information about loss/victory condition,map format, version, players, height, width,...