diff options
Diffstat (limited to 'src/gui/skilldialog.h')
-rw-r--r-- | src/gui/skilldialog.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/skilldialog.h b/src/gui/skilldialog.h index 396718310..cf2b518e2 100644 --- a/src/gui/skilldialog.h +++ b/src/gui/skilldialog.h @@ -32,6 +32,7 @@ #include <vector> const int SKILL_MIN_ID = 200000; +const int SKILL_VAR_MIN_ID = 1000000; class Button; class Label; @@ -68,7 +69,7 @@ struct SkillInfo final int level; std::string skillLevel; int skillLevelWidth; - unsigned short id; + unsigned int id; bool modifiable; bool visible; SkillModel *model; @@ -145,6 +146,8 @@ class SkillDialog final : public Window, public gcn::ActionListener void updateTabSelection(); + void updateQuest(const int var, const int val); + private: typedef std::map<int, SkillInfo*> SkillMap; SkillMap mSkills; |