mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
22ade5efbe
* randomizing spells in towns * fixed reading forbidden structures * support for heroes starting in town garrisons * hopefully fixed problems with wrong town defs (village/fort/capitol) * moved CSpellHandler.* to VCMI_Lib (project files must be updated) * redone reading spell info * added missing features to the fort screen * minor improvements * partially done mage guild screen
50 lines
1.1 KiB
C++
50 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:
|
|
//CGameState * state;
|
|
CArtHandler * arth;
|
|
CHeroHandler * heroh;
|
|
CCreatureHandler * creh;
|
|
//CAbilityHandler * abilh;
|
|
CSpellHandler * spellh;
|
|
//CPreGameTextHandler * preth;
|
|
CBuildingHandler * buildh;
|
|
CObjectHandler * objh;
|
|
CDefObjInfoHandler * dobjinfo;
|
|
CTownHandler * townh;
|
|
//CGeneralTextHandler * generaltexth;
|
|
//CConsoleHandler * consoleh;
|
|
//CPathfinder * pathf;
|
|
};
|
|
|
|
extern DLL_EXPORT LibClasses * VLC;
|
|
|
|
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);
|
|
|
|
#endif //VCMI_LIB_H
|