summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-01 08:08:33 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-01 08:08:33 +0000
commit7e91fc9390fa6cc0fc59e8a59deb2d6744a17069 (patch)
tree041a00babd51d2c6e16c192422452480fadd906d /crawl-ref/source/clua.cc
parent5a15505e527c0d7a5c370b26add9b3cb644adf50 (diff)
downloadcrawl-ref-7e91fc9390fa6cc0fc59e8a59deb2d6744a17069.tar.gz
crawl-ref-7e91fc9390fa6cc0fc59e8a59deb2d6744a17069.zip
Can now conditionalize settings based on menu_colour_prefix_class and
menu_colour_prefix_id being set. Used this to make it so that if both are set that identified ego items are colored light blue, not just runed/glowing/etc non-identified items. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5398 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 982c208388..e9c63be678 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -2178,6 +2178,10 @@ static option_handler handlers[] =
{ "easy_exit_menu", &Options.easy_exit_menu, option_hboolean },
{ "dos_use_background_intensity", &Options.dos_use_background_intensity,
option_hboolean },
+ { "menu_colour_prefix_class", &Options.menu_colour_prefix_class,
+ option_hboolean },
+ { "menu_colour_prefix_id", &Options.menu_colour_prefix_id,
+ option_hboolean },
};
static const option_handler *get_handler(const char *optname)