mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
6b0f209626
* names of lods changed - rename your lod files to h3sprite.lod and h3bitmap.lod and place them in \Data subfolder (as in H3). * added several clickable buttons to adv. map interface * underground/surface switch button is functional * reading more text from ZELP.txt, added CPreGameTextHandler to CGameInfo * a lot of minor improvements/fixes(/bugs)
61 lines
1.4 KiB
C++
61 lines
1.4 KiB
C++
#ifndef CGAMEINFO_H
|
|
#define CGAMEINFO_H
|
|
|
|
#include "CPreGame.h"
|
|
#include "StartInfo.h"
|
|
#include "CSpellHandler.h"
|
|
#include "CAbilityHandler.h"
|
|
#include "CCreaturehandler.h"
|
|
#include "CArtHandler.h"
|
|
#include "CHeroHandler.h"
|
|
#include "CAmbarCendamo.h"
|
|
#include "CBuildingHandler.h"
|
|
#include "CObjectHandler.h"
|
|
#include "CMusicHandler.h"
|
|
#include "CSemiLodHandler.h"
|
|
#include "CDefObjInfoHandler.h"
|
|
#include "CLodHandler.h"
|
|
#include "CTownHandler.h"
|
|
#include "CGeneralTextHandler.h"
|
|
#include "CGameInterface.h"
|
|
#include "CGameState.h"
|
|
#include "mapHandler.h"
|
|
#include "SDL.h"
|
|
|
|
#include <vector>
|
|
/*
|
|
CGameInfo class
|
|
for allowing different functions for modifying game informations
|
|
*/
|
|
|
|
class CMapHandler;
|
|
class CGameInfo
|
|
{
|
|
public:
|
|
static CGameInfo * mainObj; //pointer to main CGameInfo object
|
|
CGameState * state;
|
|
CArtHandler * arth;
|
|
CHeroHandler * heroh;
|
|
CCreatureHandler * creh;
|
|
CAbilityHandler * abilh;
|
|
CSpellHandler * spellh;
|
|
CMapHandler * mh;
|
|
CAmbarCendamo * ac;
|
|
CPreGameTextHandler * preth ;
|
|
CBuildingHandler * buildh;
|
|
CObjectHandler * objh;
|
|
CMusicHandler * mush;
|
|
CSemiLodHandler * sspriteh;
|
|
CDefObjInfoHandler * dobjinfo;
|
|
CTownHandler * townh;
|
|
CLodHandler * spriteh;
|
|
CLodHandler * bitmaph;
|
|
CGeneralTextHandler * generaltexth;
|
|
int localPlayer;
|
|
std::vector<CGameInterface *> playerint;
|
|
std::vector<SDL_Color> playerColors;
|
|
SDL_Color neutralColor;
|
|
StartInfo scenarioOps;
|
|
};
|
|
|
|
#endif //CGAMEINFO_H
|