CGameInfo.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef CGAMEINFO_H
  2. #define CGAMEINFO_H
  3. #include "CSpellHandler.h"
  4. #include "CAbilityHandler.h"
  5. #include "CCreaturehandler.h"
  6. #include "CArtHandler.h"
  7. #include "CHeroHandler.h"
  8. #include "CAmbarCendamo.h"
  9. #include "CBuildingHandler.h"
  10. #include "CObjectHandler.h"
  11. #include "CMusicHandler.h"
  12. #include "CSemiLodHandler.h"
  13. #include "CDefObjInfoHandler.h"
  14. #include "CLodHandler.h"
  15. #include "CGeneralTextHandler.h"
  16. #include "SDL.h"
  17. #include <vector>
  18. /*
  19. CGameInfo class
  20. for allowing different functions for modifying game informations
  21. */
  22. class CGameInfo
  23. {
  24. public:
  25. static CGameInfo * mainObj; //pointer to main CGameInfo object
  26. CArtHandler * arth;
  27. CHeroHandler * heroh;
  28. CCreatureHandler * creh;
  29. CAbilityHandler * abilh;
  30. CSpellHandler * spellh;
  31. CAmbarCendamo * ac;
  32. CBuildingHandler * buildh;
  33. CObjectHandler * objh;
  34. CMusicHandler * mush;
  35. CSemiLodHandler * sspriteh;
  36. CDefObjInfoHandler * dobjinfo;
  37. CLodHandler * spriteh;
  38. CLodHandler * bitmaph;
  39. CGeneralTextHandler * generaltexth;
  40. std::vector<SDL_Color> playerColors;
  41. SDL_Color neutralColor;
  42. };
  43. #endif //CGAMEINFO_H