summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skill_menu.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-07-22 13:04:57 +0000
committerRaphael Langella <raphael.langella@gmail.com>2011-07-22 20:55:41 +0200
commit106bcb2be92df400d83c994ffc7ec9cd02021152 (patch)
treeddc949f493b931b67848f9955ee98fdab47588ae /crawl-ref/source/skill_menu.h
parentaf5b8528b9ecc8754e6c57b08f985ac41299541d (diff)
downloadcrawl-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.h18
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