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.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/crawl-ref/source/player.h b/crawl-ref/source/player.h
index a02e5f5c4c..9c64409023 100644
--- a/crawl-ref/source/player.h
+++ b/crawl-ref/source/player.h
@@ -323,6 +323,7 @@ public:
bool in_water() const;
bool can_swim() const;
+ int visible_igrd(const coord_def&) const;
bool is_levitating() const;
bool cannot_speak() const;
bool invisible() const;
@@ -383,7 +384,7 @@ public:
bool can_pass_through_feat(dungeon_feature_type grid) const;
bool is_habitable_feat(dungeon_feature_type actual_grid) const;
size_type body_size(size_part_type psize = PSIZE_TORSO, bool base = false) const;
- int body_weight() const;
+ int body_weight(bool base = false) const;
int total_weight() const;
int damage_brand(int which_attack = -1);
int damage_type(int which_attack = -1);
@@ -414,7 +415,7 @@ public:
void attacking(actor *other);
bool can_go_berserk() const;
- bool can_go_berserk(bool verbose, bool no_clarity = false) const;
+ bool can_go_berserk(bool intentional) const;
void go_berserk(bool intentional);
bool berserk() const;
bool can_mutate() const;
@@ -464,6 +465,7 @@ public:
int res_poison() const;
int res_rotting() const;
int res_asphyx() const;
+ int res_water_drowning() const;
int res_sticky_flame() const;
int res_holy_energy(const actor *) const;
int res_negative_energy() const;
@@ -513,6 +515,10 @@ public:
bool do_shaft();
+ void apply_location_effects(const coord_def &oldpos,
+ killer_type killer = KILL_NONE,
+ int killernum = -1);
+
////////////////////////////////////////////////////////////////
PlaceInfo& get_place_info() const ; // Current place info