VCMI_Lib.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. #ifndef VCMI_LIB_H
  2. #define VCMI_LIB_H
  3. #include "../global.h"
  4. class CLodHandler;
  5. //class CMapHandler;
  6. class CArtHandler;
  7. class CHeroHandler;
  8. class CCreatureHandler;
  9. //class CAbilityHandler;
  10. //class CSpellHandler;
  11. //class CAmbarCendamo;
  12. //class CPreGameTextHandler;
  13. class CBuildingHandler;
  14. class CObjectHandler;
  15. //class CMusicHandler;
  16. //class CSemiLodHandler;
  17. class CDefObjInfoHandler;
  18. class CTownHandler;
  19. //class CGeneralTextHandler;
  20. //class CConsoleHandler;
  21. //class CPathfinder;
  22. //class CCursorHandler;
  23. //class CScreenHandler;
  24. //class CGameState;
  25. //class CMapHandler;
  26. //class CGameInterface;
  27. //class CPreGame;
  28. //class CDefHandler;
  29. class LibClasses
  30. {
  31. public:
  32. //CGameState * state;
  33. CArtHandler * arth;
  34. CHeroHandler * heroh;
  35. CCreatureHandler * creh;
  36. //CAbilityHandler * abilh;
  37. //CSpellHandler * spellh;
  38. //CMapHandler * mh;
  39. //CPreGameTextHandler * preth;
  40. CBuildingHandler * buildh;
  41. CObjectHandler * objh;
  42. //CMusicHandler * mush;
  43. //CSemiLodHandler * sspriteh;
  44. CDefObjInfoHandler * dobjinfo;
  45. CTownHandler * townh;
  46. //CGeneralTextHandler * generaltexth;
  47. //CConsoleHandler * consoleh;
  48. //CPathfinder * pathf;
  49. //CCursorHandler * curh;
  50. //CScreenHandler * screenh;
  51. //int localPlayer;
  52. //std::vector<CGameInterface *> playerint;
  53. //std::vector<SDL_Color> playerColors;
  54. //SDL_Color neutralColor;
  55. //StartInfo scenarioOps;
  56. };
  57. extern DLL_EXPORT LibClasses * VLC;
  58. DLL_EXPORT void initDLL(CLodHandler *b);
  59. #endif //VCMI_LIB_H