summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/actor.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2013-08-12 15:43:42 +0200
committerRaphael Langella <raphael.langella@gmail.com>2013-08-12 15:49:00 +0200
commit40eb210485ae15fdf5be7e96104197e26b3fa5f6 (patch)
treeaa733e21ad970922b2df54b48ec35ad218da434f /crawl-ref/source/actor.h
parentd993d8a94ebf88d624d434119000bc7293dafba9 (diff)
downloadcrawl-ref-40eb210485ae15fdf5be7e96104197e26b3fa5f6.tar.gz
crawl-ref-40eb210485ae15fdf5be7e96104197e26b3fa5f6.zip
Revert "Bye bye clinging."
Clinging might be a minor feature, but it's a distinguishing one, it's thematic and it's working quite well. Player/monster symmetry has never been a goal, so it seems dubious to invoke it as the reason to throw away all the work that has been put into clinging. We can always say that the player turns into a different kind of spider which is unable to cling for some reason. This reverts commit bdc56382eacf7af1b2330dc6444916d368741fec. This reverts commit d689486464fcaaac025a6f469ab69674a2f4d173. This reverts commit 1addaaf8ee92de5060fdb436f93251843abd2035.
Diffstat (limited to 'crawl-ref/source/actor.h')
-rw-r--r--crawl-ref/source/actor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/actor.h b/crawl-ref/source/actor.h
index 54e09cb203..feda546938 100644
--- a/crawl-ref/source/actor.h
+++ b/crawl-ref/source/actor.h
@@ -320,7 +320,12 @@ public:
virtual int spirit_shield(bool calc_unid = true, bool items = true) const;
virtual flight_type flight_mode() const = 0;
+ virtual bool is_wall_clinging() const;
virtual bool is_banished() const = 0;
+ virtual bool can_cling_to_walls() const = 0;
+ virtual bool can_cling_to(const coord_def& p) const;
+ virtual bool check_clinging(bool stepped, bool door = false);
+ virtual void clear_clinging();
virtual bool is_web_immune() const = 0;
virtual bool airborne() const;
virtual bool ground_level() const;