1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00
vcmi/CGameState.h
Michał W. Urbańczyk b38a8c9557 * CPreGame's buttons less ugly
* fixed sorting maps
* minor stuff
2007-07-28 23:01:25 +00:00

32 lines
713 B
C++

#ifndef CGAMESTATE_H
#define CGAMESTATE_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"
struct PlayerState
{
int color;
vector<vector<bool> > fogOfWarMap;
std::vector<int> resources;
std::vector<CHeroInstance> heroes;
std::vector<CTownInstance> towns;
};
class CGameState
{
std::map<int,PlayerState> players; //color <-> playerstate
};
#endif //CGAMESTATE_H