effects.cc File Reference

#include "AppHdr.h"
#include "effects.h"
#include <cstdlib>
#include <string.h>
#include <stdio.h>
#include <algorithm>
#include <queue>
#include <set>
#include <cmath>
#include "externs.h"
#include "options.h"
#include "areas.h"
#include "artefact.h"
#include "beam.h"
#include "cloud.h"
#include "colour.h"
#include "coord.h"
#include "coordit.h"
#include "delay.h"
#include "dgn-shoals.h"
#include "dgnevent.h"
#include "directn.h"
#include "dungeon.h"
#include "env.h"
#include "exercise.h"
#include "fight.h"
#include "food.h"
#include "fprop.h"
#include "godpassive.h"
#include "hints.h"
#include "hiscores.h"
#include "invent.h"
#include "it_use2.h"
#include "item_use.h"
#include "itemname.h"
#include "itemprop.h"
#include "items.h"
#include "makeitem.h"
#include "map_knowledge.h"
#include "message.h"
#include "mgen_data.h"
#include "misc.h"
#include "mon-behv.h"
#include "mon-cast.h"
#include "mon-iter.h"
#include "mon-pathfind.h"
#include "mon-place.h"
#include "mon-project.h"
#include "mon-stuff.h"
#include "mon-util.h"
#include "mutation.h"
#include "notes.h"
#include "ouch.h"
#include "place.h"
#include "player-stats.h"
#include "player.h"
#include "religion.h"
#include "shout.h"
#include "skills.h"
#include "spl-clouds.h"
#include "spl-miscast.h"
#include "spl-summoning.h"
#include "spl-util.h"
#include "stairs.h"
#include "state.h"
#include "stuff.h"
#include "terrain.h"
#include "traps.h"
#include "travel.h"
#include "viewchar.h"
#include "xom.h"

Classes

struct  greater_second< T >

Defines

#define ROTTING_WARNED_KEY   "rotting_warned"

Functions

int holy_word_player (int pow, int caster, actor *attacker)
int holy_word_monsters (coord_def where, int pow, int caster, actor *attacker)
int holy_word (int pow, int caster, const coord_def &where, bool silent, actor *attacker)
int torment_player (int pow, int caster)
int torment_monsters (coord_def where, int pow, int caster, actor *attacker)
int torment (int caster, const coord_def &where)
void immolation (int pow, int caster, coord_def where, bool known, actor *attacker)
void conduct_electricity (coord_def where, actor *attacker)
void cleansing_flame (int pow, int caster, coord_def where, actor *attacker)
void banished (dungeon_feature_type gate_type, const std::string &who)
bool forget_spell (void)
void direct_effect (monster *source, spell_type spell, bolt &pbolt, actor *defender)
void random_uselessness (int scroll_slot)
bool recharge_wand (int item_slot, bool known)
void yell (bool force)
bool vitrify_area (int radius)
void change_labyrinth (bool msg)
void handle_time ()
void update_level (int elapsedTime)
int place_ring (std::vector< coord_def > &ring_points, const coord_def &origin, mgen_data prototype, int n_arcs, int arc_occupancy, int &seen_count)
void collect_radius_points (std::vector< std::vector< coord_def > > &radius_points, const coord_def &origin, const los_base *los)
int spawn_corpse_mushrooms (item_def &corpse, int target_count, int &seen_targets, beh_type toadstool_behavior, bool distance_as_time)
int mushroom_prob (item_def &corpse)
bool mushroom_spawn_message (int seen_targets, int seen_corpses)
void update_corpses (int elapsedTime)
void recharge_rods (int aut, bool level_only)
void slime_wall_damage (actor *act, int delay)

Define Documentation

#define ROTTING_WARNED_KEY   "rotting_warned"


Function Documentation

void banished ( dungeon_feature_type  gate_type,
const std::string who 
)

Here is the call graph for this function:

void change_labyrinth ( bool  msg  ) 

Here is the call graph for this function:

void cleansing_flame ( int  pow,
int  caster,
coord_def  where,
actor attacker 
)

Here is the call graph for this function:

void collect_radius_points ( std::vector< std::vector< coord_def > > &  radius_points,
const coord_def origin,
const los_base los 
)

Here is the call graph for this function:

void conduct_electricity ( coord_def  where,
actor attacker 
)

Here is the call graph for this function:

void direct_effect ( monster source,
spell_type  spell,
bolt pbolt,
actor defender 
)

Here is the call graph for this function:

bool forget_spell ( void   ) 

Here is the call graph for this function:

void handle_time (  ) 

Here is the call graph for this function:

int holy_word ( int  pow,
int  caster,
const coord_def where,
bool  silent,
actor attacker 
)

Here is the call graph for this function:

int holy_word_monsters ( coord_def  where,
int  pow,
int  caster,
actor attacker 
)

Here is the call graph for this function:

int holy_word_player ( int  pow,
int  caster,
actor attacker 
)

Here is the call graph for this function:

void immolation ( int  pow,
int  caster,
coord_def  where,
bool  known,
actor attacker 
)

Here is the call graph for this function:

int mushroom_prob ( item_def corpse  ) 

Here is the call graph for this function:

bool mushroom_spawn_message ( int  seen_targets,
int  seen_corpses 
)

Here is the call graph for this function:

int place_ring ( std::vector< coord_def > &  ring_points,
const coord_def origin,
mgen_data  prototype,
int  n_arcs,
int  arc_occupancy,
int &  seen_count 
)

Here is the call graph for this function:

void random_uselessness ( int  scroll_slot  ) 

Here is the call graph for this function:

void recharge_rods ( int  aut,
bool  level_only 
)

bool recharge_wand ( int  item_slot,
bool  known 
)

Here is the call graph for this function:

void slime_wall_damage ( actor act,
int  delay 
)

Here is the call graph for this function:

int spawn_corpse_mushrooms ( item_def corpse,
int  target_count,
int &  seen_targets,
beh_type  toadstool_behavior,
bool  distance_as_time 
)

Here is the call graph for this function:

int torment ( int  caster,
const coord_def where 
)

Here is the call graph for this function:

int torment_monsters ( coord_def  where,
int  pow,
int  caster,
actor attacker 
)

Here is the call graph for this function:

int torment_player ( int  pow,
int  caster 
)

Here is the call graph for this function:

void update_corpses ( int  elapsedTime  ) 

Here is the call graph for this function:

void update_level ( int  elapsedTime  ) 

Here is the call graph for this function:

bool vitrify_area ( int  radius  ) 

Here is the call graph for this function:

void yell ( bool  force  ) 

Here is the call graph for this function:


Generated on Thu Jan 13 13:04:48 2011 by  doxygen 1.5.6