mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-26 08:41:13 +02:00
26 lines
490 B
C++
26 lines
490 B
C++
#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];
|
|
bool operator==(const std::string & por) const;
|
|
bool isVisitable() const;
|
|
};
|
|
|
|
class CDefObjInfoHandler
|
|
{
|
|
public:
|
|
//std::vector<std::vector<CGDefInfo> > gobjs;
|
|
std::vector<DefObjInfo> objs;
|
|
void load();
|
|
};
|
|
|
|
#endif //COBJINFOECTHANDLER_H
|