1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Split registerTypes into multiple files, now in lib/registerTypes

directory in order to reduce huge memory usage by gcc
This commit is contained in:
Ivan Savenko
2014-02-24 19:57:33 +00:00
parent 6d73052ca1
commit 8d36bcabce
14 changed files with 242 additions and 70 deletions

View File

@ -29,7 +29,7 @@
#include "../lib/CCreatureSet.h"
#include "../lib/CThreadHelper.h"
#include "../lib/GameConstants.h"
#include "../lib/RegisterTypes.h"
#include "../lib/registerTypes/RegisterTypes.h"
/*
* CGameHandler.cpp, part of VCMI engine
@ -1065,7 +1065,7 @@ CGameHandler::CGameHandler(void)
//gs = nullptr;
IObjectInterface::cb = this;
applier = new CApplier<CBaseForGHApply>;
registerTypes3(*applier);
registerTypesServerPacks(*applier);
visitObjectAfterVictory = false;
queries.gh = this;
}