summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/target.h
diff options
context:
space:
mode:
authorSteve Melenchuk <smelenchuk@gmail.com>2012-08-02 21:21:43 -0600
committerSteve Melenchuk <smelenchuk@gmail.com>2012-08-02 21:21:43 -0600
commit84d7231ccf9e6d00e93fda9f8cc431ff0b4c5b9b (patch)
tree962d2fde7d96a4b411223977ba26458155937084 /crawl-ref/source/target.h
parent166556b3123eb1562076d831ba65bb2cea945dd6 (diff)
downloadcrawl-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/target.h')
-rw-r--r--crawl-ref/source/target.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/target.h b/crawl-ref/source/target.h
index 804fd44134..3ab91e54ad 100644
--- a/crawl-ref/source/target.h
+++ b/crawl-ref/source/target.h
@@ -35,8 +35,8 @@ protected:
class targetter_beam : public targetter
{
public:
- targetter_beam(const actor *act, int range, beam_type flavour, bool stop,
- int min_expl_rad = 0, int max_expl_rad = 0);
+ targetter_beam(const actor *act, int range, zap_type zap, int pow,
+ bool stop, int min_expl_rad = 0, int max_expl_rad = 0);
bolt beam;
virtual bool set_aim(coord_def a);
bool valid_aim(coord_def a);
@@ -53,7 +53,7 @@ private:
class targetter_imb : public targetter_beam
{
public:
- targetter_imb(const actor *act, int range);
+ targetter_imb(const actor *act, int pow, int range);
bool set_aim(coord_def a);
aff_type is_affected(coord_def loc);
private: