diff options
Diffstat (limited to 'src/skill_type.hpp')
-rw-r--r-- | src/skill_type.hpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/skill_type.hpp b/src/skill_type.hpp index 644ba716..e93303e6 100644 --- a/src/skill_type.hpp +++ b/src/skill_type.hpp @@ -3,30 +3,30 @@ #include "h-basic.h" #include "skill_flag_set.hpp" #include "skills_defs.hpp" +#include "skill_descriptor.hpp" /** - * Skill descriptors and runtime data. + * Skill runtime data. */ struct skill_type { - const char *name = nullptr; /* Name */ - char *desc = nullptr; /* Description */ - - const char *action_desc = nullptr; /* Action Description */ - - s16b action_mkey = 0; /* Action do to */ - - s32b value = 0; /* Current value */ - s32b mod = 0; /* Modifier, i.e. how much value 1 skill point gives */ - - s16b action[MAX_SKILLS] = { 0 }; /* List of actions against other skills */ - - s16b father = 0; /* Father in the skill tree */ - bool_ dev = FALSE; /* Is the branch developped ? */ - s16b order = 0; /* Order in the tree */ - bool_ hidden = FALSE; /* Inactive */ - - byte random_gain_chance = 0; /* Chance to gain from Lost Sword quest; if applicable */ - - skill_flag_set flags; /* Skill flags */ + /** + * Current value. + */ + s32b value = 0; + + /** + * Current modifier, i.e. how much value 1 skill point gives. + */ + s32b mod = 0; + + /** + * Is the branch developed? + */ + bool_ dev = FALSE; + + /** + * Is the skill hidden? + */ + bool_ hidden = FALSE; }; |