summaryrefslogtreecommitdiff
path: root/src/resources/skill
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-15 20:27:11 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-15 20:34:56 +0300
commitdb3b43538aae3ce9762de81295bc24f8eb53f016 (patch)
tree66908cfca7ae32305f6bcbe879c03161d83a8910 /src/resources/skill
parent12429b0c526195fca2f9e99e49f94821271b76e8 (diff)
downloadmanaplus-db3b43538aae3ce9762de81295bc24f8eb53f016.tar.gz
manaplus-db3b43538aae3ce9762de81295bc24f8eb53f016.tar.bz2
manaplus-db3b43538aae3ce9762de81295bc24f8eb53f016.tar.xz
manaplus-db3b43538aae3ce9762de81295bc24f8eb53f016.zip
Add support for rectangular skills tabs.
Diffstat (limited to 'src/resources/skill')
-rw-r--r--src/resources/skill/skillinfo.cpp2
-rw-r--r--src/resources/skill/skillinfo.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/skill/skillinfo.cpp b/src/resources/skill/skillinfo.cpp
index 963ef3417..b4dcc6600 100644
--- a/src/resources/skill/skillinfo.cpp
+++ b/src/resources/skill/skillinfo.cpp
@@ -56,6 +56,8 @@ SkillInfo::SkillInfo() :
duration(0),
durationTime(0),
cooldown(0),
+ x(0),
+ y(0),
type(SkillType::Unknown),
owner(SkillOwner::Player),
customCastType(CastType::Default),
diff --git a/src/resources/skill/skillinfo.h b/src/resources/skill/skillinfo.h
index fbf0b2715..f9712f9d8 100644
--- a/src/resources/skill/skillinfo.h
+++ b/src/resources/skill/skillinfo.h
@@ -68,6 +68,8 @@ struct SkillInfo final
int duration;
int durationTime;
int cooldown;
+ int x;
+ int y;
SkillType::SkillType type;
SkillOwner::Type owner;
CastTypeT customCastType;