2009-04-16 14:14:13 +03:00
|
|
|
#ifndef __CGAMEINFO_H__
|
|
|
|
#define __CGAMEINFO_H__
|
2009-05-20 13:08:56 +03:00
|
|
|
#include "../global.h"
|
2009-04-16 14:14:13 +03:00
|
|
|
|
|
|
|
|
2009-04-15 17:03:31 +03:00
|
|
|
/*
|
|
|
|
* CGameInfo.h, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
2009-04-16 14:14:13 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
class CMapHandler;
|
|
|
|
class CArtHandler;
|
|
|
|
class CHeroHandler;
|
|
|
|
class CCreatureHandler;
|
|
|
|
class CAbilityHandler;
|
|
|
|
class CSpellHandler;
|
|
|
|
class CAmbarCendamo;
|
|
|
|
class CPreGameTextHandler;
|
|
|
|
class CBuildingHandler;
|
|
|
|
class CObjectHandler;
|
2009-05-22 07:14:59 +03:00
|
|
|
class CSoundHandler;
|
|
|
|
class CMusicHandler;
|
2009-04-16 14:14:13 +03:00
|
|
|
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;
|
2009-06-20 04:40:52 +03:00
|
|
|
class CVideoPlayer;
|
|
|
|
|
2009-04-16 14:14:13 +03:00
|
|
|
/*
|
|
|
|
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;
|
2009-05-22 07:14:59 +03:00
|
|
|
CSoundHandler * soundh;
|
|
|
|
CMusicHandler * musich;
|
2009-04-16 14:14:13 +03:00
|
|
|
CDefObjInfoHandler * dobjinfo;
|
|
|
|
CTownHandler * townh;
|
|
|
|
CGeneralTextHandler * generaltexth;
|
|
|
|
CConsoleHandler * consoleh;
|
|
|
|
CCursorHandler * curh;
|
|
|
|
CScreenHandler * screenh;
|
2009-06-20 04:40:52 +03:00
|
|
|
CVideoPlayer * videoh;
|
2009-04-16 14:14:13 +03:00
|
|
|
|
|
|
|
CGameInfo();
|
|
|
|
void setFromLib();
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // __CGAMEINFO_H__
|