summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/beam.h')
-rw-r--r--crawl-ref/source/beam.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/beam.h b/crawl-ref/source/beam.h
index 41f410c8ac..281641cf90 100644
--- a/crawl-ref/source/beam.h
+++ b/crawl-ref/source/beam.h
@@ -56,6 +56,7 @@ typedef bool (*beam_damage_func)(bolt& beam, actor* victim, int &dmg,
std::string &dmg_msg);
typedef bool (*beam_hit_func)(bolt& beam, actor* victim, int dmg,
int corpse);
+typedef bool (*explosion_aoe_func)(bolt& beam, const coord_def& target);
struct bolt
{
@@ -103,6 +104,9 @@ struct bolt
std::vector<range_used_func> range_funcs;
std::vector<beam_damage_func> damage_funcs;
std::vector<beam_hit_func> hit_funcs;
+ std::vector<explosion_aoe_func> aoe_funcs; // Function for if the
+ // explosion only affects
+ // certain grid positions.
// OUTPUT parameters (tracing, ID)
bool obvious_effect; // did an 'obvious' effect happen?