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

Added information on banks, seer hut and monster properties

This commit is contained in:
Ivan Savenko
2023-04-05 13:40:13 +03:00
parent ea8aeef8c0
commit de855085f0
4 changed files with 40 additions and 14 deletions

View File

@@ -42,6 +42,17 @@ ArtifactID MapReaderH3M::readArtifact()
return result;
}
ArtifactID MapReaderH3M::readArtifact32()
{
ArtifactID result(reader->readInt32());
if(result == ArtifactID::NONE)
return ArtifactID::NONE;
assert(result < features.artifactsCount);
return result;
}
HeroTypeID MapReaderH3M::readHero()
{
HeroTypeID result(reader->readUInt8());