Explorar el Código

Added information on Heroes Chronicles map ID's

Ivan Savenko hace 2 años
padre
commit
c51e0ef052
Se han modificado 2 ficheros con 2 adiciones y 0 borrados
  1. 1 0
      lib/mapping/CCampaignHandler.h
  2. 1 0
      lib/mapping/CMap.h

+ 1 - 0
lib/mapping/CCampaignHandler.h

@@ -30,6 +30,7 @@ namespace CampaignVersion
 		AB = 5,
 		AB = 5,
 		SoD = 6,
 		SoD = 6,
 		WoG = 6,
 		WoG = 6,
+//		Chr = 7, // Heroes Chronicles, likely identical to SoD, untested
 		VCMI = 1
 		VCMI = 1
 	};
 	};
 
 

+ 1 - 0
lib/mapping/CMap.h

@@ -258,6 +258,7 @@ enum class EMapFormat: uint8_t
 	ROE   = 0x0e, // 14
 	ROE   = 0x0e, // 14
 	AB    = 0x15, // 21
 	AB    = 0x15, // 21
 	SOD   = 0x1c, // 28
 	SOD   = 0x1c, // 28
+//	CHR   = 0x1d, // 29 Heroes Chronicles, presumably - identical to SoD, untested
 	HOTA  = 0x20, // 32
 	HOTA  = 0x20, // 32
 	WOG   = 0x33, // 51
 	WOG   = 0x33, // 51
 	VCMI  = 0x64
 	VCMI  = 0x64