CGameInfo.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #ifndef __CGAMEINFO_H__
  2. #define __CGAMEINFO_H__
  3. #include "../global.h"
  4. /*
  5. * CGameInfo.h, part of VCMI engine
  6. *
  7. * Authors: listed in file AUTHORS in main folder
  8. *
  9. * License: GNU General Public License v2.0 or later
  10. * Full text of license available in license.txt file, in main folder
  11. *
  12. */
  13. class CMapHandler;
  14. class CArtHandler;
  15. class CHeroHandler;
  16. class CCreatureHandler;
  17. class CAbilityHandler;
  18. class CSpellHandler;
  19. class CAmbarCendamo;
  20. class CPreGameTextHandler;
  21. class CBuildingHandler;
  22. class CObjectHandler;
  23. class CSoundHandler;
  24. class CMusicHandler;
  25. class CDefObjInfoHandler;
  26. class CTownHandler;
  27. class CLodHandler;
  28. class CGeneralTextHandler;
  29. class CConsoleHandler;
  30. class CPathfinder;
  31. class CCursorHandler;
  32. class CScreenHandler;
  33. class CGameState;
  34. class CMapHandler;
  35. class CGameInterface;
  36. class CPreGame;
  37. class CDefHandler;
  38. class CVideoPlayer;
  39. /*
  40. CGameInfo class
  41. for allowing different functions for modifying game informations
  42. */
  43. class CGameInfo
  44. {
  45. public:
  46. CGameState * state;
  47. CArtHandler * arth;
  48. CHeroHandler * heroh;
  49. CCreatureHandler * creh;
  50. CSpellHandler * spellh;
  51. CMapHandler * mh;
  52. CBuildingHandler * buildh;
  53. CObjectHandler * objh;
  54. CSoundHandler * soundh;
  55. CMusicHandler * musich;
  56. CDefObjInfoHandler * dobjinfo;
  57. CTownHandler * townh;
  58. CGeneralTextHandler * generaltexth;
  59. CConsoleHandler * consoleh;
  60. CCursorHandler * curh;
  61. CScreenHandler * screenh;
  62. CVideoPlayer * videoh;
  63. CGameInfo();
  64. void setFromLib();
  65. };
  66. #endif // __CGAMEINFO_H__