mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
3474fdaf05
* Arena and Witch Hut support * improved support for Resources * minor fixes and changes
24 lines
405 B
C++
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;
|
|
} |