summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.h')
-rw-r--r--crawl-ref/source/player.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index e779582a0a..b6dd64644b 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -295,9 +295,8 @@ public:
std::vector<int> beholders;
protected:
- FixedVector<PlaceInfo, NUM_BRANCHES> branch_info;
- FixedVector<PlaceInfo, NUM_LEVEL_AREA_TYPES - 1> non_branch_info;
-
+ FixedVector<PlaceInfo, NUM_BRANCHES> branch_info;
+ FixedVector<PlaceInfo, NUM_LEVEL_AREA_TYPES - 1> non_branch_info;
public:
player();
@@ -325,6 +324,10 @@ public:
bool can_see_invisible() const;
bool can_see_invisible(bool unid) const;
bool visible_to(const actor *looker) const;
+
+ bool see_cell_no_trans(const coord_def &c) const;
+ void update_los();
+
bool is_icy() const;
bool is_fiery() const;