diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-25 16:34:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-25 16:34:34 +0300 |
commit | d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc (patch) | |
tree | b3b51fc292ab941792d698b300a3af366869a1db /src/resources/beingcommon.h | |
parent | 6ce16c283d584fc1a90a5e68f986a90fdc6e8da5 (diff) | |
download | manaverse-d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc.tar.gz manaverse-d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc.tar.bz2 manaverse-d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc.tar.xz manaverse-d5fa4f03b3f09efd0551b0dfd8bc2dc7de4d4acc.zip |
Remove duplicate code from monsterdb, homunculusdb, mercenarydb.
Diffstat (limited to 'src/resources/beingcommon.h')
-rw-r--r-- | src/resources/beingcommon.h | 7 |
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 |