CGameInfo.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #ifndef __CGAMEINFO_H__
  2. #define __CGAMEINFO_H__
  3. #include "../global.h"
  4. #include <vector>
  5. /*
  6. * CGameInfo.h, part of VCMI engine
  7. *
  8. * Authors: listed in file AUTHORS in main folder
  9. *
  10. * License: GNU General Public License v2.0 or later
  11. * Full text of license available in license.txt file, in main folder
  12. *
  13. */
  14. class CMapHandler;
  15. class CArtHandler;
  16. class CHeroHandler;
  17. class CCreatureHandler;
  18. class CAbilityHandler;
  19. class CSpellHandler;
  20. class CAmbarCendamo;
  21. class CPreGameTextHandler;
  22. class CBuildingHandler;
  23. class CObjectHandler;
  24. class CSoundHandler;
  25. class CMusicHandler;
  26. class CDefObjInfoHandler;
  27. class CTownHandler;
  28. class CLodHandler;
  29. class CGeneralTextHandler;
  30. class CConsoleHandler;
  31. class CPathfinder;
  32. class CCursorHandler;
  33. class CScreenHandler;
  34. class CGameState;
  35. class CMapHandler;
  36. class CGameInterface;
  37. class CPreGame;
  38. class CDefHandler;
  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. CGameInfo();
  63. void setFromLib();
  64. };
  65. #endif // __CGAMEINFO_H__