| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- #ifndef __CGAMEINFO_H__
- #define __CGAMEINFO_H__
- #include "../global.h"
- /*
- * 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
- *
- */
- class CMapHandler;
- class CArtHandler;
- class CHeroHandler;
- class CCreatureHandler;
- class CAbilityHandler;
- class CSpellHandler;
- class CAmbarCendamo;
- class CPreGameTextHandler;
- class CBuildingHandler;
- class CObjectHandler;
- class CSoundHandler;
- class CMusicHandler;
- 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;
- class CVideoPlayer;
- /*
- CGameInfo class
- for allowing different functions for accessing game informations
- */
- class CGameInfo
- {
- /*const*/ CGameState * state; //don't touch it in client's code
- public:
- /*const*/ CArtHandler * arth;
- /*const*/ CHeroHandler * heroh;
- /*const*/ CCreatureHandler * creh;
- /*const*/ CSpellHandler * spellh;
- /*const*/ CMapHandler * mh;
- /*const*/ CBuildingHandler * buildh;
- /*const*/ CObjectHandler * objh;
- CSoundHandler * soundh;
- CMusicHandler * musich;
- /*const*/ CDefObjInfoHandler * dobjinfo;
- /*const*/ CTownHandler * townh;
- /*const*/ CGeneralTextHandler * generaltexth;
- CConsoleHandler * consoleh;
- CCursorHandler * curh;
- /*const*/ CScreenHandler * screenh;
- CVideoPlayer * videoh;
- void setFromLib();
- friend class CClient;
- friend class CMapHandler; //TODO: remove it
- CGameInfo();
- };
- #endif // __CGAMEINFO_H__
|