2008-12-26 03:46:53 +02:00
|
|
|
#ifndef __CGAMEINFO_H__
|
|
|
|
#define __CGAMEINFO_H__
|
|
|
|
#include "global.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
|
|
|
|
class CMapHandler;
|
|
|
|
class CArtHandler;
|
|
|
|
class CHeroHandler;
|
|
|
|
class CCreatureHandler;
|
|
|
|
class CAbilityHandler;
|
|
|
|
class CSpellHandler;
|
|
|
|
class CAmbarCendamo;
|
|
|
|
class CPreGameTextHandler;
|
|
|
|
class CBuildingHandler;
|
|
|
|
class CObjectHandler;
|
|
|
|
class CMusicHandler;
|
|
|
|
class CSemiLodHandler;
|
|
|
|
class CDefObjInfoHandler;
|
|
|
|
class CTownHandler;
|
|
|
|
class CLodHandler;
|
|
|
|
class CGeneralTextHandler;
|
|
|
|
class CConsoleHandler;
|
|
|
|
class CPathfinder;
|
|
|
|
class CCursorHandler;
|
|
|
|
class CScreenHandler;
|
|
|
|
class CGameState;
|
|
|
|
class CMapHandler;
|
|
|
|
class CGameInterface;
|
|
|
|
class CPreGame;
|
|
|
|
class CDefHandler;
|
|
|
|
/*
|
|
|
|
CGameInfo class
|
|
|
|
for allowing different functions for modifying game informations
|
|
|
|
*/
|
|
|
|
class CGameInfo
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CGameState * state;
|
|
|
|
CArtHandler * arth;
|
|
|
|
CHeroHandler * heroh;
|
|
|
|
CCreatureHandler * creh;
|
|
|
|
CSpellHandler * spellh;
|
|
|
|
CMapHandler * mh;
|
|
|
|
CBuildingHandler * buildh;
|
|
|
|
CObjectHandler * objh;
|
|
|
|
CMusicHandler * mush;
|
|
|
|
CSemiLodHandler * sspriteh;
|
|
|
|
CDefObjInfoHandler * dobjinfo;
|
|
|
|
CTownHandler * townh;
|
|
|
|
CLodHandler * spriteh;
|
|
|
|
CLodHandler * bitmaph;
|
|
|
|
CGeneralTextHandler * generaltexth;
|
|
|
|
CConsoleHandler * consoleh;
|
|
|
|
CPathfinder * pathf;
|
|
|
|
CCursorHandler * curh;
|
|
|
|
CScreenHandler * screenh;
|
2009-01-11 00:08:18 +02:00
|
|
|
|
|
|
|
CGameInfo();
|
|
|
|
void setFromLib();
|
2008-12-26 03:46:53 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __CGAMEINFO_H__
|