 |
ManaPlus
|
Go to the documentation of this file.
21 #ifndef RESOURCES_BEINGCOMMON_H
22 #define RESOURCES_BEINGCOMMON_H
38 #define loadXmlDir(name, function) \
40 StringVect listVect; \
41 VirtFs::getFilesInDir(paths.getStringValue( \
42 name), listVect, ".xml"); \
43 FOR_EACH (StringVectCIter, itVect, listVect) \
45 function(*itVect, SkipError_true); \
49 #define loadXmlDir2(name, function, ext, skipError) \
51 StringVect listVect; \
52 VirtFs::getFilesInDir(name, listVect, ext); \
53 FOR_EACH (StringVectCIter, itVect, listVect) \
55 function(*itVect, skipError); \
63 const std::string &hoverCursor)
A_NONNULL(1);
70 XmlNodePtrConst node);
74 const std::string &ext);
82 #endif // RESOURCES_BEINGCOMMON_H
void readAiAttributes(BeingInfo *const info, xmlNode *const node)
std::vector< std::string > StringVect
bool info(InputEvent &event)
void getIncludeFiles(const std::string &dir, StringVect &list, const std::string &ext)
void readBasicAttributes(BeingInfo *const info, xmlNode *const node, const std::string &hoverCursor)
bool readObjectNodes(xmlNode *const &spriteNode, SpriteDisplay &display, BeingInfo *const currentInfo, const std::string &dbName)
void readWalkingAttributes(BeingInfo *const info, xmlNode *const node, const int moreBlockFlags)