summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-29 00:46:25 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-29 00:46:25 +0200
commit7e7e322fca22299a79630b8fe0bcb7e36c39e47a (patch)
tree518775a5b9596dcc50fccc0558c13c786821dede /src/gui/skilldialog.h
parentb00d3ffb2054e0ae96b602ba46589ef408d5a23d (diff)
downloadMana-7e7e322fca22299a79630b8fe0bcb7e36c39e47a.tar.gz
Mana-7e7e322fca22299a79630b8fe0bcb7e36c39e47a.tar.bz2
Mana-7e7e322fca22299a79630b8fe0bcb7e36c39e47a.tar.xz
Mana-7e7e322fca22299a79630b8fe0bcb7e36c39e47a.zip
Made the client load the skills.xml again.
This, instead of the protocol specific filenames that are mana-skills.xml and ea-skills.xml. This is backward compatible as the old skills.xml file was once used before the 0.0.29.1 release which is the last alive from the 0.0.x serie. The skills.xml will have to added to world data to make this working, though. (Done in another patch.)
Diffstat (limited to 'src/gui/skilldialog.h')
-rw-r--r--src/gui/skilldialog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/skilldialog.h b/src/gui/skilldialog.h
index 95f8ef25..40fa988d 100644
--- a/src/gui/skilldialog.h
+++ b/src/gui/skilldialog.h
@@ -65,7 +65,9 @@ class SkillDialog : public Window, public gcn::ActionListener
*/
void update();
- void loadSkills(const std::string &file);
+ void loadSkills();
+
+ void clearSkills();
void setModifiable(int id, bool modifiable);