#include "externs.h"
#include "random.h"
#include "ray.h"
Go to the source code of this file.
Classes | |
struct | tracer_info |
struct | bolt |
Typedefs | |
typedef FixedArray< int, 19, 19 > | explosion_map |
typedef bool(* | range_used_func )(const bolt &beam, const actor *victim, int &used) |
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) |
typedef bool(* | beam_affect_func )(const bolt &beam, const actor *victim) |
Enumerations | |
enum | mon_resist_type { MON_RESIST, MON_UNAFFECTED, MON_AFFECTED, MON_OTHER } |
Functions | |
int | mons_adjust_flavoured (monster *mons, bolt &pbolt, int hurted, bool doFlavouredEffects=true) |
bool | enchant_monster_with_flavour (monster *mon, actor *atk, beam_type flavour, int powc=0) |
bool | enchant_monster_invisible (monster *mon, const std::string how) |
void | mass_enchantment (enchant_type wh_enchant, int pow, int who, int *m_succumbed=NULL, int *m_attempted=NULL) |
bool | poison_monster (monster *mons, kill_category who, int levels=1, bool force=false, bool verbose=true) |
bool | miasma_monster (monster *mons, kill_category who) |
bool | napalm_monster (monster *mons, kill_category who, int levels=1, bool verbose=true) |
void | fire_tracer (const monster *mons, struct bolt &pbolt, bool explode_only=false) |
void | mimic_alert (monster *mimic) |
bool | zapping (zap_type ztype, int power, bolt &pbolt, bool needs_tracer=false, const char *msg=NULL) |
bool | player_tracer (zap_type ztype, int power, bolt &pbolt, int range=0) |
void | init_zap_index () |
void | clear_zap_info_on_exit () |
int | zap_power_cap (zap_type ztype) |
typedef bool(* beam_affect_func)(const bolt &beam, const actor *victim) |
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) |
typedef FixedArray<int, 19, 19> explosion_map |
typedef bool(* range_used_func)(const bolt &beam, const actor *victim, int &used) |
enum mon_resist_type |
void clear_zap_info_on_exit | ( | ) |
bool enchant_monster_invisible | ( | monster * | mon, | |
const std::string | how | |||
) |
void init_zap_index | ( | ) |
void mass_enchantment | ( | enchant_type | wh_enchant, | |
int | pow, | |||
int | who, | |||
int * | m_succumbed = NULL , |
|||
int * | m_attempted = NULL | |||
) |
bool miasma_monster | ( | monster * | mons, | |
kill_category | who | |||
) |
void mimic_alert | ( | monster * | mimic | ) |
int mons_adjust_flavoured | ( | monster * | mons, | |
bolt & | pbolt, | |||
int | hurted, | |||
bool | doFlavouredEffects = true | |||
) |
bool napalm_monster | ( | monster * | mons, | |
kill_category | who, | |||
int | levels = 1 , |
|||
bool | verbose = true | |||
) |
bool poison_monster | ( | monster * | mons, | |
kill_category | who, | |||
int | levels = 1 , |
|||
bool | force = false , |
|||
bool | verbose = true | |||
) |
int zap_power_cap | ( | zap_type | ztype | ) |
bool zapping | ( | zap_type | ztype, | |
int | power, | |||
bolt & | pbolt, | |||
bool | needs_tracer = false , |
|||
const char * | msg = NULL | |||
) |