beam.h File Reference

#include "externs.h"
#include "random.h"
#include "ray.h"

Include dependency graph for beam.h:

This graph shows which files directly or indirectly include this file:

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 Documentation

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)


Enumeration Type Documentation

Enumerator:
MON_RESIST 
MON_UNAFFECTED 
MON_AFFECTED 
MON_OTHER 


Function Documentation

void clear_zap_info_on_exit (  ) 

bool enchant_monster_invisible ( monster mon,
const std::string  how 
)

Here is the call graph for this function:

bool enchant_monster_with_flavour ( monster mon,
actor atk,
beam_type  flavour,
int  powc = 0 
)

Here is the call graph for this function:

void fire_tracer ( const monster mons,
struct bolt pbolt,
bool  explode_only = false 
)

Here is the call graph for this function:

void init_zap_index (  ) 

void mass_enchantment ( enchant_type  wh_enchant,
int  pow,
int  who,
int *  m_succumbed = NULL,
int *  m_attempted = NULL 
)

Here is the call graph for this function:

bool miasma_monster ( monster mons,
kill_category  who 
)

Here is the call graph for this function:

void mimic_alert ( monster mimic  ) 

Here is the call graph for this function:

int mons_adjust_flavoured ( monster mons,
bolt pbolt,
int  hurted,
bool  doFlavouredEffects = true 
)

Here is the call graph for this function:

bool napalm_monster ( monster mons,
kill_category  who,
int  levels = 1,
bool  verbose = true 
)

Here is the call graph for this function:

bool player_tracer ( zap_type  ztype,
int  power,
bolt pbolt,
int  range = 0 
)

Here is the call graph for this function:

bool poison_monster ( monster mons,
kill_category  who,
int  levels = 1,
bool  force = false,
bool  verbose = true 
)

Here is the call graph for this function:

int zap_power_cap ( zap_type  ztype  ) 

bool zapping ( zap_type  ztype,
int  power,
bolt pbolt,
bool  needs_tracer = false,
const char *  msg = NULL 
)

Here is the call graph for this function:


Generated on Thu Jan 13 13:03:20 2011 by  doxygen 1.5.6