1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-26 08:41:13 +02:00
vcmi/hch/CDefObjInfoHandler.h

26 lines
490 B
C
Raw Normal View History

2007-07-03 11:10:37 +03:00
#ifndef COBJINFOECTHANDLER_H
#define COBJINFOECTHANDLER_H
#include <vector>
struct DefObjInfo
{
std::string defName;
int priority;
int type, subtype;
int objType;
unsigned char visitMap[6];
unsigned char blockMap[6];
2007-07-03 11:10:37 +03:00
bool operator==(const std::string & por) const;
bool isVisitable() const;
2007-07-03 11:10:37 +03:00
};
class CDefObjInfoHandler
{
public:
//std::vector<std::vector<CGDefInfo> > gobjs;
2007-07-03 11:10:37 +03:00
std::vector<DefObjInfo> objs;
void load();
};
#endif //COBJINFOECTHANDLER_H