1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

HotA maps up to objects block can be parsed

This commit is contained in:
Ivan Savenko
2023-04-03 20:51:02 +03:00
parent 838d45b32c
commit c0e9eb6eb1
6 changed files with 70 additions and 18 deletions

View File

@@ -21,9 +21,9 @@ MapReaderH3M::MapReaderH3M(CInputStream * stream)
{
}
void MapReaderH3M::setFormatLevel(EMapFormat newFormat)
void MapReaderH3M::setFormatLevel(EMapFormat newFormat, uint8_t hotaVersion)
{
features = MapFormatFeaturesH3M::find(newFormat);
features = MapFormatFeaturesH3M::find(newFormat, hotaVersion);
}
ArtifactID MapReaderH3M::readArtifact()