diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2011-07-22 13:04:57 +0000 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2011-07-22 20:55:41 +0200 |
commit | 106bcb2be92df400d83c994ffc7ec9cd02021152 (patch) | |
tree | ddc949f493b931b67848f9955ee98fdab47588ae /crawl-ref/source/skill_menu.h | |
parent | af5b8528b9ecc8754e6c57b08f985ac41299541d (diff) | |
download | crawl-ref-106bcb2be92df400d83c994ffc7ec9cd02021152.tar.gz crawl-ref-106bcb2be92df400d83c994ffc7ec9cd02021152.zip |
Save skill menu states as normal members of Player instead of using props.
It doesn't make sense to use props since it's not temporary at all. Also
simplify a bit the code and future proof the handling of invalid states.
Diffstat (limited to 'crawl-ref/source/skill_menu.h')
-rw-r--r-- | crawl-ref/source/skill_menu.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/crawl-ref/source/skill_menu.h b/crawl-ref/source/skill_menu.h index 07812d3ace..f2641e6dfd 100644 --- a/crawl-ref/source/skill_menu.h +++ b/crawl-ref/source/skill_menu.h @@ -42,24 +42,6 @@ enum skill_menu_switch SKM_VIEW = -6, }; -// TAG_MAJOR_VERSION. Just sort this enum when bumping major. -enum skill_menu_state -{ - SKM_NONE, - SKM_MODE_AUTO, - SKM_MODE_MANUAL, - SKM_DO_PRACTISE, - SKM_SHOW_KNOWN, - SKM_SHOW_ALL, - SKM_LEVEL_ENHANCED, - SKM_LEVEL_NORMAL, - SKM_VIEW_TRAINING, - SKM_VIEW_PROGRESS, - SKM_VIEW_TRANSFER, - SKM_VIEW_POINTS, - SKM_DO_FOCUS, -}; - class SkillMenu; class SkillMenuEntry |