2007-06-09 21:14:41 +03:00
|
|
|
#ifndef CGAMEINFO_H
|
|
|
|
#define CGAMEINFO_H
|
|
|
|
|
|
|
|
#include "CSpellHandler.h"
|
|
|
|
#include "CAbilityHandler.h"
|
|
|
|
#include "CCreaturehandler.h"
|
|
|
|
#include "CArtHandler.h"
|
|
|
|
#include "CHeroHandler.h"
|
|
|
|
#include "CAmbarCendamo.h"
|
2007-06-10 21:04:15 +03:00
|
|
|
#include "CBuildingHandler.h"
|
2007-06-11 20:21:27 +03:00
|
|
|
#include "CObjectHandler.h"
|
2007-06-20 20:35:13 +03:00
|
|
|
#include "CMusicHandler.h"
|
2007-06-22 19:36:05 +03:00
|
|
|
#include "CSemiLodHandler.h"
|
2007-07-02 22:44:30 +03:00
|
|
|
#include "CDefObjInfoHandler.h"
|
2007-07-07 14:09:25 +03:00
|
|
|
#include "CLodHandler.h"
|
2007-07-08 20:28:08 +03:00
|
|
|
#include "CGeneralTextHandler.h"
|
2007-07-14 18:24:42 +03:00
|
|
|
#include "SDL.h"
|
|
|
|
#include <vector>
|
2007-06-09 21:14:41 +03:00
|
|
|
|
|
|
|
/*
|
|
|
|
CGameInfo class
|
|
|
|
for allowing different functions for modifying game informations
|
|
|
|
*/
|
|
|
|
class CGameInfo
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static CGameInfo * mainObj; //pointer to main CGameInfo object
|
|
|
|
CArtHandler * arth;
|
|
|
|
CHeroHandler * heroh;
|
|
|
|
CCreatureHandler * creh;
|
|
|
|
CAbilityHandler * abilh;
|
|
|
|
CSpellHandler * spellh;
|
|
|
|
CAmbarCendamo * ac;
|
2007-06-10 21:04:15 +03:00
|
|
|
CBuildingHandler * buildh;
|
2007-06-11 20:21:27 +03:00
|
|
|
CObjectHandler * objh;
|
2007-06-20 20:35:13 +03:00
|
|
|
CMusicHandler * mush;
|
2007-06-22 19:36:05 +03:00
|
|
|
CSemiLodHandler * sspriteh;
|
2007-07-02 22:44:30 +03:00
|
|
|
CDefObjInfoHandler * dobjinfo;
|
2007-07-07 19:04:15 +03:00
|
|
|
CLodHandler * spriteh;
|
|
|
|
CLodHandler * bitmaph;
|
2007-07-08 20:28:08 +03:00
|
|
|
CGeneralTextHandler * generaltexth;
|
2007-07-14 18:24:42 +03:00
|
|
|
std::vector<SDL_Color> playerColors;
|
|
|
|
SDL_Color neutralColor;
|
2007-06-09 21:14:41 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //CGAMEINFO_H
|