1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/CGameInfo.cpp
Michał W. Urbańczyk 3474fdaf05 * save/load partially working
* Arena and Witch Hut support
* improved support for Resources
* minor fixes and changes
2009-01-10 22:08:18 +00:00

24 lines
405 B
C++

#include "stdafx.h"
#include "CGameInfo.h"
#include "lib/VCMI_Lib.h"
CGameInfo * CGI;
CGameInfo::CGameInfo()
{
mh = NULL;
state = NULL;
}
void CGameInfo::setFromLib()
{
generaltexth = VLC->generaltexth;
arth = VLC->arth;
creh = VLC->creh;
townh = VLC->townh;
heroh = VLC->heroh;
objh = VLC->objh;
spellh = VLC->spellh;
dobjinfo = VLC->dobjinfo;
buildh = VLC->buildh;
}