mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-26 08:41:13 +02:00
b07b1ec7dc
* significant speed-ups and warningfixing
25 lines
442 B
C++
25 lines
442 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<DefObjInfo> objs;
|
|
void load();
|
|
};
|
|
|
|
#endif //COBJINFOECTHANDLER_H
|