diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2010-09-15 18:16:04 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2010-09-15 18:16:04 +0200 |
commit | 18c388dccb3a5db216ce160dd3ad0e666dba84a7 (patch) | |
tree | b1c51e393251b23716433639298988d4564b9c40 /crawl-ref/source/spl-util.h | |
parent | def439bc557ea6927a0b08ff440ac81c4851280d (diff) | |
download | crawl-ref-18c388dccb3a5db216ce160dd3ad0e666dba84a7.tar.gz crawl-ref-18c388dccb3a5db216ce160dd3ad0e666dba84a7.zip |
Fix dispersal and Lugonu's bend space blinking monsters more than once. (#2434)
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r-- | crawl-ref/source/spl-util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index b562739e09..86577f93d3 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -91,6 +91,7 @@ const char* spelltype_short_name( int which_spelltype ); const char* spelltype_long_name( int which_spelltype ); typedef int cell_func(coord_def where, int pow, int aux, actor *agent); +typedef int monster_func(monster* mon, int pow); typedef int cloud_func(coord_def where, int pow, int spreadrate, cloud_type type, kill_category whose, killer_type killer, int colour, std::string name, @@ -105,6 +106,9 @@ int apply_area_square(cell_func cf, const coord_def& where, int power, int apply_area_around_square(cell_func cf, const coord_def& where, int power, actor *agent = NULL); +int apply_monsters_around_square(monster_func mf, const coord_def& where, + int power); + int apply_random_around_square(cell_func cf, const coord_def& where, bool hole_in_middle, int power, int max_targs, actor *agent = NULL); |