CGameInfo.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 CAudioHandler;
  25. class CSemiLodHandler;
  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. CAudioHandler * audioh;
  55. CSemiLodHandler * sspriteh;
  56. CDefObjInfoHandler * dobjinfo;
  57. CTownHandler * townh;
  58. //CLodHandler * spriteh;
  59. //CLodHandler * bitmaph;
  60. CGeneralTextHandler * generaltexth;
  61. CConsoleHandler * consoleh;
  62. CCursorHandler * curh;
  63. CScreenHandler * screenh;
  64. CGameInfo();
  65. void setFromLib();
  66. };
  67. #endif // __CGAMEINFO_H__