From 239ee7d1040f90fbdcad52e7f41017574df5a865 Mon Sep 17 00:00:00 2001 From: haranp Date: Sun, 5 Oct 2008 16:09:36 +0000 Subject: Minor typesafety fix. Added description for '!' and '@' to targeting help. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7137 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/enum.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'crawl-ref/source/enum.h') diff --git a/crawl-ref/source/enum.h b/crawl-ref/source/enum.h index f68fd730de..cdf74670c9 100644 --- a/crawl-ref/source/enum.h +++ b/crawl-ref/source/enum.h @@ -1372,6 +1372,22 @@ enum job_type JOB_UNKNOWN = 100 }; +enum KeymapContext { + KC_DEFAULT, // For no-arg getchm(), must be zero. + KC_LEVELMAP, // When in the 'X' level map + KC_TARGETING, // Only during 'x' and other targeting modes + KC_CONFIRM, // When being asked y/n/q questions + KC_MENU, // For menus + +#ifdef USE_TILE + KC_TILE, // For context_for_command() +#endif + + KC_CONTEXT_COUNT, // Must always be the last real context + + KC_NONE +}; + // This order is *critical*. Don't mess with it (see mon_enchant) enum kill_category { -- cgit v1.2.3-54-g00ecf