00001 #ifndef SPL_DAMAGE_H 00002 #define SPL_DAMAGE_H 00003 00004 #include "enum.h" 00005 00006 struct bolt; 00007 class dist; 00008 00009 bool fireball(int pow, bolt &beam); 00010 void setup_fire_storm(const actor *source, int pow, bolt &beam); 00011 bool cast_fire_storm(int pow, bolt &beam); 00012 bool cast_hellfire_burst(int pow, bolt &beam); 00013 void cast_chain_lightning(int pow, const actor *caster); 00014 00015 void cast_toxic_radiance(bool non_player = false); 00016 void cast_refrigeration(int pow, bool non_player = false); 00017 bool vampiric_drain(int pow, monster* mons); 00018 bool burn_freeze(int pow, beam_type flavour, monster* mons); 00019 00020 int airstrike(int pow, const dist &beam); 00021 00022 void cast_shatter(int pow); 00023 void cast_ignite_poison(int pow); 00024 void cast_discharge(int pow); 00025 int disperse_monsters(coord_def where, int pow); 00026 void cast_dispersal(int pow); 00027 bool cast_fragmentation(int powc, const dist& spd); 00028 int wielding_rocks(); 00029 bool cast_sandblast(int powc, bolt &beam); 00030 bool cast_tornado(int powc); 00031 void tornado_damage(actor *caster, int dur); 00032 void cancel_tornado(); 00033 00034 #endif