summaryrefslogtreecommitdiff
path: root/src/resources/beingcommon.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-25 16:34:34 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-25 16:34:34 +0300
commitd5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc (patch)
treeb3b51fc292ab941792d698b300a3af366869a1db /src/resources/beingcommon.h
parent6ce16c283d584fc1a90a5e68f986a90fdc6e8da5 (diff)
downloadplus-d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc.tar.gz
plus-d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc.tar.bz2
plus-d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc.tar.xz
plus-d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc.zip
Remove duplicate code from monsterdb, homunculusdb, mercenarydb.
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r--src/resources/beingcommon.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/beingcommon.h b/src/resources/beingcommon.h
index 2c9741a2c..301dc284e 100644
--- a/src/resources/beingcommon.h
+++ b/src/resources/beingcommon.h
@@ -29,6 +29,8 @@
class BeingInfo;
+struct SpriteDisplay;
+
#define loadXmlDir(name, function) \
{ \
StringVect listVect; \
@@ -55,6 +57,11 @@ namespace BeingCommon
void getIncludeFiles(const std::string &dir,
StringVect &list,
const std::string &ext);
+
+ bool readObjectNodes(XmlNodePtr &node,
+ SpriteDisplay &display,
+ BeingInfo *const currentInfo,
+ const std::string &dbName);
}
#endif // RESOURCES_BEINGCOMMON_H