diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2012-08-02 21:21:43 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2012-08-02 21:21:43 -0600 |
commit | 84d7231ccf9e6d00e93fda9f8cc431ff0b4c5b9b (patch) | |
tree | 962d2fde7d96a4b411223977ba26458155937084 /crawl-ref/source/beam.h | |
parent | 166556b3123eb1562076d831ba65bb2cea945dd6 (diff) | |
download | crawl-ref-84d7231ccf9e6d00e93fda9f8cc431ff0b4c5b9b.tar.gz crawl-ref-84d7231ccf9e6d00e93fda9f8cc431ff0b4c5b9b.zip |
Get Fireball tracers and targetter to work properly.
This involves a substantial overhaul of targetter_beam to retain more
information about the beam, and changes to tracers to allow that
information to reach all the way into the relevant depths of the beam
code.
Fixes #6020.
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r-- | crawl-ref/source/beam.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h index 5effcef4ea..d5749735bf 100644 --- a/crawl-ref/source/beam.h +++ b/crawl-ref/source/beam.h @@ -211,6 +211,8 @@ public: bool can_affect_actor(const actor *act) const; + maybe_bool affects_wall(dungeon_feature_type wall) const; + private: void do_fire(); coord_def pos() const; @@ -218,9 +220,9 @@ private: // Lots of properties of the beam. bool is_blockable() const; - bool is_superhot() const; bool is_fiery() const; - maybe_bool affects_wall(dungeon_feature_type wall) const; + bool is_superhot() const; + bool can_affect_wall(dungeon_feature_type feat) const; bool can_affect_wall_actor(const actor *act) const; bool actor_wall_shielded(const actor *act) const; bool is_bouncy(dungeon_feature_type feat) const; |