summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-31 01:07:33 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-31 01:07:33 +0000
commit51cf2e590f33e894236ab640f2ffa58aff3a92ec (patch)
treea4867edae9afa6041faf53de9fe32ccfc066fd1e /crawl-ref/source/externs.h
parentc6f2e85b44fe574cff0a59607fe1b5a366954b62 (diff)
downloadcrawl-ref-51cf2e590f33e894236ab640f2ffa58aff3a92ec.tar.gz
crawl-ref-51cf2e590f33e894236ab640f2ffa58aff3a92ec.zip
drop_filter can now match against the same keywords as menu_colour, minus the
identification status and chunk/corpse information. drop_filter now defaults to useless_item You can prevent an init file variable from being changed by turning it into a constant. Clear variables and aliases when resetting the game options. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8043 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 41885c7f7a..97c91451fb 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -2221,6 +2221,7 @@ private:
typedef std::map<std::string, std::string> string_map;
string_map aliases;
string_map variables;
+ std::set<std::string> constants; // Variables that can't be changed
std::set<std::string> included; // Files we've included already.
public: