diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-09 16:05:08 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-10-09 16:05:08 +0000 |
commit | 118d97e6f6bd8ad53f6c80569aaeb4521c369f0b (patch) | |
tree | 3921e18fd478a2701937b4934a73559244db1701 /crawl-ref/source/beam.h | |
parent | 47fdcd399772f8805e93b76885499b11da454443 (diff) | |
download | crawl-ref-118d97e6f6bd8ad53f6c80569aaeb4521c369f0b.tar.gz crawl-ref-118d97e6f6bd8ad53f6c80569aaeb4521c369f0b.zip |
Returning weapon beam path updates for trunk.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2396 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r-- | crawl-ref/source/beam.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h index ee8819748b..1e24915025 100644 --- a/crawl-ref/source/beam.h +++ b/crawl-ref/source/beam.h @@ -130,6 +130,7 @@ struct bolt dice_def damage; int ench_power, hit; int target_x, target_y; // intended target + coord_def pos; // actual position char thrower; // what kind of thing threw this? char ex_size; // explosion radius (0==none) int beam_source; // NON_MONSTER or monster index # @@ -145,6 +146,8 @@ struct bolt bool aimed_at_spot; // aimed at (x,y), should not cross std::string aux_source; // source of KILL_MISC beams + bool affects_nothing; // should not hit monsters or features + // OUTPUT parameters (tracing, ID) bool obvious_effect; // did an 'obvious' effect happen? bool effect_known; // did we _know_ this would happen? @@ -172,6 +175,7 @@ public: bolt(); void set_target(const dist &); + void setup_retrace(); // Returns YOU_KILL or MON_KILL, depending on the source of the beam. killer_type killer() const; |