mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
b38a8c9557
* fixed sorting maps * minor stuff
32 lines
713 B
C++
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
|