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;
|
2007-08-07 16:49:15 +03:00
|
|
|
unsigned char visitMap[6];
|
|
|
|
unsigned char blockMap[6];
|
2007-07-03 11:10:37 +03:00
|
|
|
bool operator==(const std::string & por) const;
|
2007-10-25 19:14:43 +03:00
|
|
|
bool isVisitable() const;
|
2007-07-03 11:10:37 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
class CDefObjInfoHandler
|
|
|
|
{
|
|
|
|
public:
|
2008-02-03 07:36:56 +02:00
|
|
|
//std::vector<std::vector<CGDefInfo> > gobjs;
|
2007-07-03 11:10:37 +03:00
|
|
|
std::vector<DefObjInfo> objs;
|
|
|
|
void load();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //COBJINFOECTHANDLER_H
|