summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-06 13:29:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-06 13:29:42 +0300
commit83a6463a88b4b5eda003f55b419995c13476d917 (patch)
tree94df4a85319146e17ebe89ce82c6c3a0e1d9b138 /src/gui/widgets
parent8a23a928d99d79b0d48961a225c3656ca42f34f0 (diff)
downloadmanaplus-83a6463a88b4b5eda003f55b419995c13476d917.tar.gz
manaplus-83a6463a88b4b5eda003f55b419995c13476d917.tar.bz2
manaplus-83a6463a88b4b5eda003f55b419995c13476d917.tar.xz
manaplus-83a6463a88b4b5eda003f55b419995c13476d917.zip
In skills add support for reading mana cost from server.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/skillinfo.cpp1
-rw-r--r--src/gui/widgets/skillinfo.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp
index bd889865d..29b9510ee 100644
--- a/src/gui/widgets/skillinfo.cpp
+++ b/src/gui/widgets/skillinfo.cpp
@@ -48,6 +48,7 @@ SkillInfo::SkillInfo() :
skillLevelWidth(0),
id(0),
range(0),
+ sp(0),
type(SkillType::Unknown),
modifiable(false),
visible(false)
diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h
index 1d9dfeacd..bdeac330d 100644
--- a/src/gui/widgets/skillinfo.h
+++ b/src/gui/widgets/skillinfo.h
@@ -55,6 +55,7 @@ struct SkillInfo final
int skillLevelWidth;
unsigned int id;
int range;
+ int sp;
SkillType::SkillType type;
bool modifiable;
bool visible;