CGameInfo.cpp 405 B

123456789101112131415161718192021222324
  1. #include "stdafx.h"
  2. #include "CGameInfo.h"
  3. #include "lib/VCMI_Lib.h"
  4. CGameInfo * CGI;
  5. CGameInfo::CGameInfo()
  6. {
  7. mh = NULL;
  8. state = NULL;
  9. }
  10. void CGameInfo::setFromLib()
  11. {
  12. generaltexth = VLC->generaltexth;
  13. arth = VLC->arth;
  14. creh = VLC->creh;
  15. townh = VLC->townh;
  16. heroh = VLC->heroh;
  17. objh = VLC->objh;
  18. spellh = VLC->spellh;
  19. dobjinfo = VLC->dobjinfo;
  20. buildh = VLC->buildh;
  21. }