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

@ -32,7 +32,7 @@
#include "battle/CBattleInterface.h"
#include "../lib/CThreadHelper.h"
#include "../lib/CScriptingModule.h"
#include "../lib/RegisterTypes.h"
#include "../lib/registerTypes/RegisterTypes.h"
#include "gui/CGuiHandler.h"
#include "CMT.h"
@ -103,7 +103,8 @@ void CClient::init()
connectionHandler = nullptr;
pathInfo = nullptr;
applier = new CApplier<CBaseForCLApply>;
registerTypes2(*applier);
registerTypesClientPacks1(*applier);
registerTypesClientPacks2(*applier);
IObjectInterface::cb = this;
serv = nullptr;
gs = nullptr;