2008-08-04 23:27:47 +03:00
|
|
|
#ifndef VCMI_LIB_H
|
|
|
|
#define VCMI_LIB_H
|
2008-06-14 13:20:18 +03:00
|
|
|
#include "../global.h"
|
|
|
|
|
2008-07-25 20:28:28 +03:00
|
|
|
class CLodHandler;
|
2008-06-14 13:20:18 +03:00
|
|
|
//class CMapHandler;
|
2008-06-17 20:48:32 +03:00
|
|
|
class CArtHandler;
|
2008-06-30 03:06:41 +03:00
|
|
|
class CHeroHandler;
|
2008-06-14 13:20:18 +03:00
|
|
|
class CCreatureHandler;
|
|
|
|
//class CAbilityHandler;
|
|
|
|
//class CSpellHandler;
|
|
|
|
//class CAmbarCendamo;
|
|
|
|
//class CPreGameTextHandler;
|
2008-08-01 14:21:15 +03:00
|
|
|
class CBuildingHandler;
|
2008-06-30 03:06:41 +03:00
|
|
|
class CObjectHandler;
|
2008-06-14 13:20:18 +03:00
|
|
|
//class CMusicHandler;
|
|
|
|
//class CSemiLodHandler;
|
|
|
|
class CDefObjInfoHandler;
|
2008-06-30 03:06:41 +03:00
|
|
|
class CTownHandler;
|
2008-06-14 13:20:18 +03:00
|
|
|
//class CGeneralTextHandler;
|
|
|
|
//class CConsoleHandler;
|
|
|
|
//class CPathfinder;
|
|
|
|
//class CCursorHandler;
|
|
|
|
//class CScreenHandler;
|
|
|
|
//class CGameState;
|
|
|
|
//class CMapHandler;
|
|
|
|
//class CGameInterface;
|
|
|
|
//class CPreGame;
|
|
|
|
//class CDefHandler;
|
|
|
|
|
|
|
|
class LibClasses
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
//CGameState * state;
|
2008-06-17 20:48:32 +03:00
|
|
|
CArtHandler * arth;
|
2008-06-30 03:06:41 +03:00
|
|
|
CHeroHandler * heroh;
|
2008-06-14 13:20:18 +03:00
|
|
|
CCreatureHandler * creh;
|
|
|
|
//CAbilityHandler * abilh;
|
|
|
|
//CSpellHandler * spellh;
|
|
|
|
//CMapHandler * mh;
|
|
|
|
//CPreGameTextHandler * preth;
|
2008-08-01 14:21:15 +03:00
|
|
|
CBuildingHandler * buildh;
|
2008-06-30 03:06:41 +03:00
|
|
|
CObjectHandler * objh;
|
2008-06-14 13:20:18 +03:00
|
|
|
//CMusicHandler * mush;
|
|
|
|
//CSemiLodHandler * sspriteh;
|
|
|
|
CDefObjInfoHandler * dobjinfo;
|
2008-06-30 03:06:41 +03:00
|
|
|
CTownHandler * townh;
|
2008-06-14 13:20:18 +03:00
|
|
|
//CGeneralTextHandler * generaltexth;
|
|
|
|
//CConsoleHandler * consoleh;
|
|
|
|
//CPathfinder * pathf;
|
|
|
|
//CCursorHandler * curh;
|
|
|
|
//CScreenHandler * screenh;
|
|
|
|
//int localPlayer;
|
|
|
|
//std::vector<CGameInterface *> playerint;
|
|
|
|
//std::vector<SDL_Color> playerColors;
|
|
|
|
//SDL_Color neutralColor;
|
|
|
|
//StartInfo scenarioOps;
|
|
|
|
};
|
|
|
|
|
2008-07-25 20:28:28 +03:00
|
|
|
extern DLL_EXPORT LibClasses * VLC;
|
|
|
|
|
|
|
|
|
2008-08-04 23:27:47 +03:00
|
|
|
DLL_EXPORT void initDLL(CLodHandler *b);
|
|
|
|
|
|
|
|
#endif //VCMI_LIB_H
|