summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-09 10:29:26 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-08-09 10:29:26 +0000
commit2783491ec3f7c58c6d9872f8cafd74511091a198 (patch)
tree322a1dc0dd99bbd580106a25cb1d89e9023e6c7b /crawl-ref/source/fight.h
parent9de07a95e21246a9aa4e037b6ecbe1730e03cb26 (diff)
downloadcrawl-ref-2783491ec3f7c58c6d9872f8cafd74511091a198.tar.gz
crawl-ref-2783491ec3f7c58c6d9872f8cafd74511091a198.zip
Fixed incorrect use of It vs Something in attack messages.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1981 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.h')
-rw-r--r--crawl-ref/source/fight.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/fight.h b/crawl-ref/source/fight.h
index 8e5a92017c..900e90c156 100644
--- a/crawl-ref/source/fight.h
+++ b/crawl-ref/source/fight.h
@@ -70,6 +70,7 @@ public:
// If all or part of the action is visible to the player, we need a message.
bool needs_message;
bool attacker_visible, defender_visible;
+ bool attacker_invisible, defender_invisible;
bool unarmed_ok;
int attack_number;
@@ -124,9 +125,10 @@ public:
int calc_to_hit(bool random = true);
- static std::string anon_name(description_level_type desc);
+ static std::string anon_name(description_level_type desc,
+ bool actor_invisible);
static std::string actor_name(const actor *a, description_level_type desc,
- bool actor_visible);
+ bool actor_visible, bool actor_invisible);
static std::string pronoun(const actor *a, pronoun_type ptyp,
bool actor_visible);
static std::string anon_pronoun(pronoun_type ptyp);