bolt Struct Reference

#include <beam.h>

Collaboration diagram for bolt:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 bolt ()
bool is_enchantment () const
void set_target (const dist &targ)
void set_agent (actor *agent)
void setup_retrace ()
killer_type killer () const
kill_category whose_kill () const
actoragent () const
void fire ()
std::string get_short_name () const
std::string get_source_name () const
mon_resist_type apply_enchantment_to_monster (monster *mon)
bool explode (bool show_more=true, bool hole_in_the_middle=false)
bool knockback_actor (actor *actor)
bool visible () const
bool can_affect_actor (const actor *act) const
void affect_cell ()
void affect_wall ()
void affect_actor (actor *act)
void affect_monster (monster *m)
void affect_player ()
void affect_ground ()
void affect_place_clouds ()
void affect_place_explosion_clouds ()
void affect_endpoint ()
void beam_hits_actor (actor *act)
void affect_player_enchantment ()
void tracer_affect_player ()
void tracer_affect_monster (monster *mon)
bool handle_statue_disintegration (monster *mon)
void apply_bolt_paralysis (monster *mons)
void apply_bolt_petrify (monster *mons)
void enchantment_affect_monster (monster *mon)
mon_resist_type try_enchant_monster (monster *mon, int &res_margin)
void tracer_enchantment_affect_monster (monster *mon)
void tracer_nonenchantment_affect_monster (monster *mon)
void update_hurt_or_helped (monster *mon)
bool attempt_block (monster *mon)
void handle_stop_attack_prompt (monster *mon)
bool determine_damage (monster *mon, int &preac, int &postac, int &final, std::vector< std::string > &messages)
void monster_post_hit (monster *mon, int dmg)
bool misses_player ()
void initialise_fire ()
void apply_beam_conducts ()
void choose_ray ()
void draw (const coord_def &p)
void bounce ()
void reflect ()
void fake_flavour ()
void digging_wall_effect ()
void fire_wall_effect ()
void elec_wall_effect ()
void nuke_wall_effect ()
void drop_object ()
int range_used (bool leg_only=false) const
void finish_beam ()
bool fuzz_invis_tracer ()
void internal_ouch (int dam)
void refine_for_explosion ()
void explosion_draw_cell (const coord_def &p)
void explosion_affect_cell (const coord_def &p)
void determine_affected_cells (explosion_map &m, const coord_def &delta, int count, int r, bool stop_at_statues, bool stop_at_walls)

Public Attributes

spell_type origin_spell
int range
unsigned glyph
int colour
beam_type flavour
beam_type real_flavour
bool drop_item
item_defitem
coord_def source
coord_def target
dice_def damage
int ench_power
int hit
killer_type thrower
int ex_size
int beam_source
std::string source_name
std::string name
std::string short_name
std::string hit_verb
int loudness
std::string noise_msg
bool is_beam
bool is_explosion
bool is_big_cloud
bool aimed_at_spot
std::string aux_source
bool affects_nothing
bool affects_items
bool effect_known
int draw_delay
boltspecial_explosion
bool was_missile
std::vector< range_used_funcrange_funcs
std::vector< beam_damage_funcdamage_funcs
std::vector< beam_hit_funchit_funcs
std::vector< explosion_aoe_funcaoe_funcs
beam_affect_func affect_func
bool obvious_effect
bool seen
bool heard
std::vector< coord_defpath_taken
int extra_range_used
bool is_tracer
bool aimed_at_feet
bool msg_generated
bool noise_generated
bool passed_target
bool in_explosion_phase
bool smart_monster
bool can_see_invis
mon_attitude_type attitude
int foe_ratio
tracer_info foe_info
tracer_info friend_info
bool chose_ray
bool beam_cancelled
bool dont_stop_player
int bounces
coord_def bounce_pos
int reflections
int reflector
bool use_target_as_pos
bool auto_hit
ray_def ray


Constructor & Destructor Documentation

bolt::bolt (  ) 


Member Function Documentation

bool bolt::is_enchantment (  )  const

void bolt::set_target ( const dist targ  ) 

void bolt::set_agent ( actor agent  ) 

Here is the call graph for this function:

void bolt::setup_retrace (  ) 

killer_type bolt::killer (  )  const

kill_category bolt::whose_kill (  )  const

Here is the call graph for this function:

actor * bolt::agent (  )  const

Here is the call graph for this function:

void bolt::fire (  ) 

Here is the call graph for this function:

std::string bolt::get_short_name (  )  const

Here is the call graph for this function:

std::string bolt::get_source_name (  )  const

Here is the call graph for this function:

mon_resist_type bolt::apply_enchantment_to_monster ( monster mon  ) 

bool bolt::explode ( bool  show_more = true,
bool  hole_in_the_middle = false 
)

Here is the call graph for this function:

bool bolt::knockback_actor ( actor actor  ) 

Here is the call graph for this function:

bool bolt::visible (  )  const

Here is the call graph for this function:

bool bolt::can_affect_actor ( const actor act  )  const

Here is the call graph for this function:

void bolt::affect_cell (  ) 

Here is the call graph for this function:

void bolt::affect_wall (  ) 

Here is the call graph for this function:

void bolt::affect_actor ( actor act  ) 

Here is the call graph for this function:

void bolt::affect_monster ( monster m  ) 

Here is the call graph for this function:

void bolt::affect_player (  ) 

Here is the call graph for this function:

void bolt::affect_ground (  ) 

Here is the call graph for this function:

void bolt::affect_place_clouds (  ) 

Here is the call graph for this function:

void bolt::affect_place_explosion_clouds (  ) 

Here is the call graph for this function:

void bolt::affect_endpoint (  ) 

Here is the call graph for this function:

void bolt::beam_hits_actor ( actor act  ) 

Here is the call graph for this function:

void bolt::affect_player_enchantment (  ) 

Here is the call graph for this function:

void bolt::tracer_affect_player (  ) 

Here is the call graph for this function:

void bolt::tracer_affect_monster ( monster mon  ) 

Here is the call graph for this function:

bool bolt::handle_statue_disintegration ( monster mon  ) 

Here is the call graph for this function:

void bolt::apply_bolt_paralysis ( monster mons  ) 

Here is the call graph for this function:

void bolt::apply_bolt_petrify ( monster mons  ) 

Here is the call graph for this function:

void bolt::enchantment_affect_monster ( monster mon  ) 

Here is the call graph for this function:

mon_resist_type bolt::try_enchant_monster ( monster mon,
int &  res_margin 
)

Here is the call graph for this function:

void bolt::tracer_enchantment_affect_monster ( monster mon  ) 

Here is the call graph for this function:

void bolt::tracer_nonenchantment_affect_monster ( monster mon  ) 

Here is the call graph for this function:

void bolt::update_hurt_or_helped ( monster mon  ) 

Here is the call graph for this function:

bool bolt::attempt_block ( monster mon  ) 

Here is the call graph for this function:

void bolt::handle_stop_attack_prompt ( monster mon  ) 

Here is the call graph for this function:

bool bolt::determine_damage ( monster mon,
int &  preac,
int &  postac,
int &  final,
std::vector< std::string > &  messages 
)

Here is the call graph for this function:

void bolt::monster_post_hit ( monster mon,
int  dmg 
)

Here is the call graph for this function:

bool bolt::misses_player (  ) 

Here is the call graph for this function:

void bolt::initialise_fire (  ) 

Here is the call graph for this function:

void bolt::apply_beam_conducts (  ) 

Here is the call graph for this function:

void bolt::choose_ray (  ) 

Here is the call graph for this function:

void bolt::draw ( const coord_def p  ) 

Here is the call graph for this function:

void bolt::bounce (  ) 

Here is the call graph for this function:

void bolt::reflect (  ) 

Here is the call graph for this function:

void bolt::fake_flavour (  ) 

Here is the call graph for this function:

void bolt::digging_wall_effect (  ) 

Here is the call graph for this function:

void bolt::fire_wall_effect (  ) 

Here is the call graph for this function:

void bolt::elec_wall_effect (  ) 

Here is the call graph for this function:

void bolt::nuke_wall_effect (  ) 

Here is the call graph for this function:

void bolt::drop_object (  ) 

Here is the call graph for this function:

int bolt::range_used ( bool  leg_only = false  )  const

void bolt::finish_beam (  ) 

bool bolt::fuzz_invis_tracer (  ) 

Here is the call graph for this function:

void bolt::internal_ouch ( int  dam  ) 

Here is the call graph for this function:

void bolt::refine_for_explosion (  ) 

Here is the call graph for this function:

void bolt::explosion_draw_cell ( const coord_def p  ) 

Here is the call graph for this function:

void bolt::explosion_affect_cell ( const coord_def p  ) 

Here is the call graph for this function:

void bolt::determine_affected_cells ( explosion_map m,
const coord_def delta,
int  count,
int  r,
bool  stop_at_statues,
bool  stop_at_walls 
)

Here is the call graph for this function:


Member Data Documentation

unsigned bolt::glyph

int bolt::hit

bool bolt::seen


The documentation for this struct was generated from the following files:

Generated on Thu Jan 13 13:31:38 2011 by  doxygen 1.5.6