mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
* (hopefully) full reading of h3c
* minor changes
This commit is contained in:
@@ -48,7 +48,7 @@ DLL_EXPORT void initDLL(CConsoleHandler *Console, std::ostream *Logfile)
|
||||
} HANDLE_EXCEPTION
|
||||
}
|
||||
|
||||
DLL_EXPORT void loadToIt(std::string &dest, std::string &src, int &iter, int mode)
|
||||
DLL_EXPORT void loadToIt(std::string &dest, const std::string &src, int &iter, int mode)
|
||||
{
|
||||
switch(mode)
|
||||
{
|
||||
@@ -156,7 +156,7 @@ DLL_EXPORT void loadToIt(std::string &dest, std::string &src, int &iter, int mod
|
||||
}
|
||||
|
||||
|
||||
DLL_EXPORT void loadToIt(si32 &dest, std::string &src, int &iter, int mode)
|
||||
DLL_EXPORT void loadToIt(si32 &dest, const std::string &src, int &iter, int mode)
|
||||
{
|
||||
std::string pom;
|
||||
loadToIt(pom,src,iter,mode);
|
||||
@@ -247,3 +247,10 @@ LibClasses::LibClasses()
|
||||
//init pointers to handlers
|
||||
makeNull();
|
||||
}
|
||||
|
||||
void LibClasses::callWhenDeserializing()
|
||||
{
|
||||
generaltexth = new CGeneralTextHandler;
|
||||
generaltexth->load();
|
||||
arth->loadArtifacts(true);
|
||||
}
|
||||
Reference in New Issue
Block a user