22 #ifndef RESOURCES_BEINGCOMMON_H
23 #define RESOURCES_BEINGCOMMON_H
39 #define loadXmlDir(name, function) \
41 StringVect listVect; \
42 VirtFs::getFilesInDir(paths.getStringValue( \
43 name), listVect, ".xml"); \
44 FOR_EACH (StringVectCIter, itVect, listVect) \
46 function(*itVect, SkipError_true); \
50 #define loadXmlDir2(name, function, ext, skipError) \
52 StringVect listVect; \
53 VirtFs::getFilesInDir(name, listVect, ext); \
54 FOR_EACH (StringVectCIter, itVect, listVect) \
56 function(*itVect, skipError); \
64 const std::string &hoverCursor)
A_NONNULL(1);
71 XmlNodePtrConst node);
75 const std::string &ext);
bool info(InputEvent &event)
bool readObjectNodes(xmlNode *const &spriteNode, SpriteDisplay &display, BeingInfo *const currentInfo, const std::string &dbName)
void readAiAttributes(BeingInfo *const info, xmlNode *const node)
void getIncludeFiles(const std::string &dir, StringVect &list, const std::string &ext)
void readBasicAttributes(BeingInfo *const info, xmlNode *const node, const std::string &hoverCursor)
void readWalkingAttributes(BeingInfo *const info, xmlNode *const node, const int moreBlockFlags)
std::vector< std::string > StringVect