diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-15 23:16:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-15 23:16:42 +0300 |
commit | 77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5 (patch) | |
tree | 7dd6e927cef6bcee83ceb897899cd87b863a6f87 /src/gui/windows/skilldialog.h | |
parent | f2b5d38744860360b4b592920c4732aea839ab75 (diff) | |
download | manaverse-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.tar.gz manaverse-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.tar.bz2 manaverse-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.tar.xz manaverse-77a4cf27e7ad0ccf4e2245828cbd5f49ecc102a5.zip |
Cast skills with offsets.
Diffstat (limited to 'src/gui/windows/skilldialog.h')
-rw-r--r-- | src/gui/windows/skilldialog.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h index 4adf813af..a24f44a5f 100644 --- a/src/gui/windows/skilldialog.h +++ b/src/gui/windows/skilldialog.h @@ -145,14 +145,18 @@ class SkillDialog final : public Window, int level, const bool withText, const std::string &text, - CastTypeT castType); + CastTypeT castType, + const int offsetX, + const int offsetY); static void useSkill(const SkillInfo *const info, const AutoTarget autoTarget, int level, const bool withText, const std::string &text, - const CastTypeT castType); + const CastTypeT castType, + const int offsetX, + const int offsetY); SkillData *getSkillData(const int id) const; @@ -176,21 +180,27 @@ class SkillDialog final : public Window, const AutoTarget autoTarget, int level, const bool withText, - const std::string &text); + const std::string &text, + int offsetX, + int offsetY); static void useSkillTarget(const SkillInfo *const info, const AutoTarget autoTarget, int level, const bool withText, const std::string &text, - const Being *being); + const Being *being, + int offsetX, + int offsetY); static void useSkillPosition(const SkillInfo *const info, int level, const bool withText, const std::string &text, const int x, - const int y); + const int y, + int offsetX, + int offsetY); void addSkillDuration(SkillInfo *const skill); |