summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-22 18:14:00 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-22 22:37:07 +0200
commit78f7b9d8e5921ef3e1f64d01c802436a654c177a (patch)
tree3d58adf6061925cc6f729a819f4a2c64bccb34d9 /crawl-ref/source/player.h
parented4a22bce4db2328e945840901176b49d4b573e7 (diff)
downloadcrawl-ref-78f7b9d8e5921ef3e1f64d01c802436a654c177a.tar.gz
crawl-ref-78f7b9d8e5921ef3e1f64d01c802436a654c177a.zip
Move player_see_invis into player class.
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index d37495b532..3fdf9abff8 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -300,6 +300,7 @@ public:
bool cannot_speak() const;
bool invisible() const;
bool can_see_invisible() const;
+ bool can_see_invisible(bool unid) const;
bool visible_to(const actor *looker) const;
bool see_cell(const coord_def &c) const;
bool can_see(const actor *target) const;
@@ -760,7 +761,6 @@ int slaying_bonus(char which_affected);
* items - monstuff - mon-util - mstuff2 - spells1 - spells2 -
* spells3
* *********************************************************************** */
-int player_see_invis(bool calc_unid = true);
bool player_monster_visible(const monsters *mon);
bool player_mesmerised_by(const monsters *mon);