summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-21 16:54:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-21 16:54:59 +0300
commit70b8dc1a827e878ef899cf9824362706e86f30e5 (patch)
tree02bc072bd0d3663f726e3b86f725087090042a3b /src/gui/windows/skilldialog.h
parentfdd6a8ff123f32090d5c417803fd909558530a15 (diff)
downloadmanaplus-70b8dc1a827e878ef899cf9824362706e86f30e5.tar.gz
manaplus-70b8dc1a827e878ef899cf9824362706e86f30e5.tar.bz2
manaplus-70b8dc1a827e878ef899cf9824362706e86f30e5.tar.xz
manaplus-70b8dc1a827e878ef899cf9824362706e86f30e5.zip
Move skill loading into separate function.
Diffstat (limited to 'src/gui/windows/skilldialog.h')
-rw-r--r--src/gui/windows/skilldialog.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h
index 2b5e4f070..b4ef43e38 100644
--- a/src/gui/windows/skilldialog.h
+++ b/src/gui/windows/skilldialog.h
@@ -167,10 +167,11 @@ class SkillDialog final : public Window,
private:
void addSkillDuration(SkillInfo *const skill);
+ SkillInfo *loadSkill(XmlNodePtr node,
+ SkillModel *const model);
+
void loadSkillData(XmlNodePtr node,
- const std::string &name,
- SkillInfo *const skill,
- const int level);
+ SkillInfo *const skill);
typedef std::map<int, SkillInfo*> SkillMap;
SkillMap mSkills;