summaryrefslogtreecommitdiff
path: root/src/gui/windows/skilldialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-25 18:59:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-25 18:59:19 +0300
commit0146f872a63571027512cfaa9bc0433eb7e86430 (patch)
treee4fa8be656325483378d2aacf3ac5908afbd0b97 /src/gui/windows/skilldialog.h
parentc7d6fb280271feb57022542f72584fbbbcfb2bc8 (diff)
downloadManaVerse-0146f872a63571027512cfaa9bc0433eb7e86430.tar.gz
ManaVerse-0146f872a63571027512cfaa9bc0433eb7e86430.tar.bz2
ManaVerse-0146f872a63571027512cfaa9bc0433eb7e86430.tar.xz
ManaVerse-0146f872a63571027512cfaa9bc0433eb7e86430.zip
Add particle effect for removing skill. (hercules).
Diffstat (limited to 'src/gui/windows/skilldialog.h')
-rw-r--r--src/gui/windows/skilldialog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h
index 2628a3d80..1fa182e8b 100644
--- a/src/gui/windows/skilldialog.h
+++ b/src/gui/windows/skilldialog.h
@@ -36,6 +36,7 @@ class SkillModel;
class Tab;
class TabbedArea;
+struct SkillData;
struct SkillInfo;
/**
@@ -116,15 +117,22 @@ class SkillDialog final : public Window,
void playUpdateEffect(const int id) const;
+ void playRemoveEffect(const int id) const;
+
void slowLogic();
void removeSkill(const int id);
static void useSkill(const SkillInfo *const info);
+ SkillData *getSkillData(const int id) const;
+
private:
void addSkillDuration(SkillInfo *const skill);
+ void triggerEffect(int effectId,
+ const int defaultEffectId) const;
+
typedef std::map<int, SkillInfo*> SkillMap;
SkillMap mSkills;
std::vector<SkillInfo*> mDurations;