diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-28 19:53:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-28 19:53:22 +0300 |
commit | 6b2addaade053d347816d5d61dff53e38ff94e83 (patch) | |
tree | 5b71956d9dc2b5c39c2c9506eb88c8d02714d1fa /src/gui/widgets | |
parent | 4e2c1f3c813bf76ce4d0902f80ec819277f928a6 (diff) | |
download | plus-6b2addaade053d347816d5d61dff53e38ff94e83.tar.gz plus-6b2addaade053d347816d5d61dff53e38ff94e83.tar.bz2 plus-6b2addaade053d347816d5d61dff53e38ff94e83.tar.xz plus-6b2addaade053d347816d5d61dff53e38ff94e83.zip |
Add skill attribute what show skill always.
It allow use always visible fake skills.
New skill attribute: alwaysVisible.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/skillinfo.cpp | 3 | ||||
-rw-r--r-- | src/gui/widgets/skillinfo.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/widgets/skillinfo.cpp b/src/gui/widgets/skillinfo.cpp index 36ae85de9..50725db29 100644 --- a/src/gui/widgets/skillinfo.cpp +++ b/src/gui/widgets/skillinfo.cpp @@ -57,7 +57,8 @@ SkillInfo::SkillInfo() : type(SkillType::Unknown), owner(SkillOwner::Player), modifiable(false), - visible(false) + visible(false), + alwaysVisible(false) { dataMap[0] = new SkillData(); data = dataMap[0]; diff --git a/src/gui/widgets/skillinfo.h b/src/gui/widgets/skillinfo.h index c67e055e0..45b0487c8 100644 --- a/src/gui/widgets/skillinfo.h +++ b/src/gui/widgets/skillinfo.h @@ -66,6 +66,7 @@ struct SkillInfo final SkillOwner::Type owner; bool modifiable; bool visible; + bool alwaysVisible; SkillInfo(); A_DELETE_COPY(SkillInfo) |