From d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Sep 2014 16:34:34 +0300 Subject: Remove duplicate code from monsterdb, homunculusdb, mercenarydb. --- src/resources/beingcommon.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/resources/beingcommon.h') 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 -- cgit v1.2.3-60-g2f50