1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00
vcmi/CDefObjInfoHandler.h

24 lines
414 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;
};
class CDefObjInfoHandler
{
public:
std::vector<DefObjInfo> objs;
void load();
};
#endif //COBJINFOECTHANDLER_H