summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skill_menu.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2011-07-09 23:04:57 +0200
committerRaphael Langella <raphael.langella@gmail.com>2011-07-09 23:59:30 +0200
commit51e7c5ea1b7f2b0b1f6f458a20d7624c9b18904e (patch)
tree12e4beda68f08983235e16542395de74708d85d2 /crawl-ref/source/skill_menu.h
parentaf52982a8c23b1562b01244f4b80b7389a22ab17 (diff)
downloadcrawl-ref-51e7c5ea1b7f2b0b1f6f458a20d7624c9b18904e.tar.gz
crawl-ref-51e7c5ea1b7f2b0b1f6f458a20d7624c9b18904e.zip
New feature: focus skill. Double the training weight of focus skills.
Works in both manual and automatic modes. Fix a bug in auto mode when none of the enabled skills have been exercised recently. And also fix #4241.
Diffstat (limited to 'crawl-ref/source/skill_menu.h')
-rw-r--r--crawl-ref/source/skill_menu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/skill_menu.h b/crawl-ref/source/skill_menu.h
index fb5a18b1fe..cfaa50bc29 100644
--- a/crawl-ref/source/skill_menu.h
+++ b/crawl-ref/source/skill_menu.h
@@ -42,6 +42,7 @@ enum skill_menu_switch
SKM_VIEW = -6,
};
+// TAG_MAJOR_VERSION. Just sort this enum when bumping major.
enum skill_menu_state
{
SKM_NONE,
@@ -56,6 +57,7 @@ enum skill_menu_state
SKM_VIEW_PROGRESS,
SKM_VIEW_TRANSFER,
SKM_VIEW_POINTS,
+ SKM_DO_FOCUS,
};
class SkillMenu;