CGameInfo.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 "CTownHandler.h"
  16. #include "CGeneralTextHandler.h"
  17. #include "SDL.h"
  18. #include <vector>
  19. /*
  20. CGameInfo class
  21. for allowing different functions for modifying game informations
  22. */
  23. class CGameInfo
  24. {
  25. public:
  26. static CGameInfo * mainObj; //pointer to main CGameInfo object
  27. CArtHandler * arth;
  28. CHeroHandler * heroh;
  29. CCreatureHandler * creh;
  30. CAbilityHandler * abilh;
  31. CSpellHandler * spellh;
  32. CAmbarCendamo * ac;
  33. CBuildingHandler * buildh;
  34. CObjectHandler * objh;
  35. CMusicHandler * mush;
  36. CSemiLodHandler * sspriteh;
  37. CDefObjInfoHandler * dobjinfo;
  38. CTownHandler * townh;
  39. CLodHandler * spriteh;
  40. CLodHandler * bitmaph;
  41. CGeneralTextHandler * generaltexth;
  42. std::vector<SDL_Color> playerColors;
  43. SDL_Color neutralColor;
  44. };
  45. #endif //CGAMEINFO_H