diff options
author | Adam Borowski <kilobyte@angband.pl> | 2010-12-25 22:52:22 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2010-12-26 12:52:29 +0100 |
commit | 0da678df97314b19afc1fc883fbc6173917326a9 (patch) | |
tree | 67d25713a3a088296ebd68f414a68004e1ba2045 /crawl-ref/source/spl-util.h | |
parent | 93ca19a0b9935ae57b3089b6b4f866ee9350885b (diff) | |
download | crawl-ref-0da678df97314b19afc1fc883fbc6173917326a9.tar.gz crawl-ref-0da678df97314b19afc1fc883fbc6173917326a9.zip |
Store the blame when clouds are placed.
The kill type and kill category are still needed only because we currently
lose blame data when the agent dies or moves off-level.
Diffstat (limited to 'crawl-ref/source/spl-util.h')
-rw-r--r-- | crawl-ref/source/spl-util.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/crawl-ref/source/spl-util.h b/crawl-ref/source/spl-util.h index 028054d5a9..8bce338dda 100644 --- a/crawl-ref/source/spl-util.h +++ b/crawl-ref/source/spl-util.h @@ -95,9 +95,8 @@ 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, - std::string tile); + cloud_type type, const actor* agent, int colour, + std::string name, std::string tile); int apply_area_visible(cell_func cf, int power, bool pass_through_trans = false, actor *agent = NULL); @@ -123,7 +122,7 @@ int apply_area_within_radius(cell_func cf, const coord_def& where, void apply_area_cloud(cloud_func func, const coord_def& where, int pow, int number, cloud_type ctype, - kill_category kc, killer_type killer, + const actor *agent, int spread_rate = -1, int colour = -1, std::string name = "", std::string tile = ""); |