CGameInfo.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. class CVideoPlayer;
  40. /*
  41. CGameInfo class
  42. for allowing different functions for modifying game informations
  43. */
  44. class CGameInfo
  45. {
  46. public:
  47. CGameState * state;
  48. CArtHandler * arth;
  49. CHeroHandler * heroh;
  50. CCreatureHandler * creh;
  51. CSpellHandler * spellh;
  52. CMapHandler * mh;
  53. CBuildingHandler * buildh;
  54. CObjectHandler * objh;
  55. CSoundHandler * soundh;
  56. CMusicHandler * musich;
  57. CDefObjInfoHandler * dobjinfo;
  58. CTownHandler * townh;
  59. CGeneralTextHandler * generaltexth;
  60. CConsoleHandler * consoleh;
  61. CCursorHandler * curh;
  62. CScreenHandler * screenh;
  63. CVideoPlayer * videoh;
  64. CGameInfo();
  65. void setFromLib();
  66. };
  67. #endif // __CGAMEINFO_H__