mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
c4bcf7b880
* Merged CPreGameTextHandler into CGeneralTextHandler and moved to VCMI_Lib.dll (update your project files) * Genius AI will be used as a default AI * more code for save/load
46 lines
1.1 KiB
C++
46 lines
1.1 KiB
C++
#ifndef VCMI_LIB_H
|
|
#define VCMI_LIB_H
|
|
#include "../global.h"
|
|
|
|
class CLodHandler;
|
|
class CArtHandler;
|
|
class CHeroHandler;
|
|
class CCreatureHandler;
|
|
//class CAbilityHandler;
|
|
class CSpellHandler;
|
|
//class CPreGameTextHandler;
|
|
class CBuildingHandler;
|
|
class CObjectHandler;
|
|
//class CMusicHandler;
|
|
//class CSemiLodHandler;
|
|
class CDefObjInfoHandler;
|
|
class CTownHandler;
|
|
class CGeneralTextHandler;
|
|
//class CConsoleHandler;
|
|
//class CPathfinder;
|
|
//class CGameState;
|
|
|
|
class LibClasses
|
|
{
|
|
public:
|
|
CArtHandler * arth;
|
|
CHeroHandler * heroh;
|
|
CCreatureHandler * creh;
|
|
CSpellHandler * spellh;
|
|
CBuildingHandler * buildh;
|
|
CObjectHandler * objh;
|
|
CDefObjInfoHandler * dobjinfo;
|
|
CTownHandler * townh;
|
|
CGeneralTextHandler * generaltexth;
|
|
//CPathfinder * pathf;
|
|
};
|
|
|
|
extern DLL_EXPORT LibClasses * VLC;
|
|
extern CLodHandler * bitmaph;
|
|
|
|
DLL_EXPORT void loadToIt(std::string &dest, std::string &src, int &iter, int mode);
|
|
DLL_EXPORT void loadToIt(si32 &dest, std::string &src, int &iter, int mode);
|
|
DLL_EXPORT void initDLL(CLodHandler *b, CConsoleHandler *Console, std::ostream *Logfile);
|
|
|
|
#endif //VCMI_LIB_H
|