summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-05 15:32:14 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2009-05-05 15:32:14 +0000
commit8929d6cdc7458d79d4ac46751ac0a4851febcf5e (patch)
treef77e6af14f9a1fd0ab24b425e9cc3aa2fddb4569 /crawl-ref/source/externs.h
parent0d81298cc286304cb4be85ce691c9d40e2f20931 (diff)
downloadcrawl-ref-8929d6cdc7458d79d4ac46751ac0a4851febcf5e.tar.gz
crawl-ref-8929d6cdc7458d79d4ac46751ac0a4851febcf5e.zip
* Replace the range_view_annotator loop with an simple check for the
current range, which if set to a value > 0 will cause viewwindow to colour all grids not in los or not in range to be coloured grey. Has the side effect to also work for Tiles. :) * Change THELM_DESC_JEWELLED to golden, do as to avoid overlap with the randart description. * Make porridge sometimes brown and blood potions sometimes viscous/sedimented. (Yes, these don't really fit but I don't like the fixed descriptions.) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9735 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index 3b9f3ff3ea..d85896d220 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -1998,6 +1998,7 @@ public:
int colour[16]; // macro fg colours to other colours
int background; // select default background colour
int channels[NUM_MESSAGE_CHANNELS]; // msg channel colouring
+ int target_range; // for whether targeting is out of range
bool use_old_selection_order; // use old order of species/classes in
// selection screen
@@ -2272,7 +2273,7 @@ private:
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.
+ std::set<std::string> included; // Files we've included already.
public:
// Convenience accessors for the second-class options in named_options.