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

Split massive CMap.h a bit

This commit is contained in:
Ivan Savenko
2023-05-24 01:14:06 +03:00
parent bf720200f9
commit 62595cb039
26 changed files with 571 additions and 470 deletions

View File

@@ -13,12 +13,14 @@
#include "CMap.h"
#include "MapReaderH3M.h"
#include "MapFormat.h"
#include "../CCreatureHandler.h"
#include "../CGeneralTextHandler.h"
#include "../CHeroHandler.h"
#include "../CSkillHandler.h"
#include "../CStopWatch.h"
#include "../CModHandler.h"
#include "../GameSettings.h"
#include "../RiverHandler.h"
#include "../RoadHandler.h"
@@ -107,7 +109,7 @@ void CMapLoaderH3M::init()
readRumors();
readPredefinedHeroes();
readTerrain();
readDefInfo();
readObjectTemplates();
readObjects();
readEvents();
@@ -911,7 +913,7 @@ void CMapLoaderH3M::readTerrain()
}
}
void CMapLoaderH3M::readDefInfo()
void CMapLoaderH3M::readObjectTemplates()
{
uint32_t defAmount = reader->readUInt32();