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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user