traps.cc File Reference

#include "AppHdr.h"
#include "traps.h"
#include "trap_def.h"
#include <algorithm>
#include "artefact.h"
#include "beam.h"
#include "branch.h"
#include "cloud.h"
#include "clua.h"
#include "coord.h"
#include "coordit.h"
#include "delay.h"
#include "describe.h"
#include "directn.h"
#include "exercise.h"
#include "map_knowledge.h"
#include "itemname.h"
#include "itemprop.h"
#include "items.h"
#include "libutil.h"
#include "makeitem.h"
#include "message.h"
#include "misc.h"
#include "mon-util.h"
#include "mon-stuff.h"
#include "mon-transit.h"
#include "ouch.h"
#include "player.h"
#include "skills.h"
#include "spl-miscast.h"
#include "spl-util.h"
#include "state.h"
#include "stuff.h"
#include "travel.h"
#include "env.h"
#include "areas.h"
#include "terrain.h"
#include "transform.h"
#include "hints.h"
#include "view.h"
#include "shout.h"
#include "xom.h"

Include dependency graph for traps.cc:


Functions

int get_trapping_net (const coord_def &where, bool trapped)
void monster_caught_in_net (monster *mon, bolt &pbolt)
bool player_caught_in_net ()
void check_net_will_hold_monster (monster *mons)
std::vector< coord_deffind_golubria_on_level ()
std::string direction_string (coord_def pos, bool fuzz)
int reveal_traps (const int range)
void destroy_trap (const coord_def &pos)
trap_deffind_trap (const coord_def &pos)
trap_type get_trap_type (const coord_def &pos)
const char * trap_name_at (const coord_def &c)
void disarm_trap (const coord_def &where)
void remove_net_from (monster *mon)
void free_self_from_net ()
void clear_trapping_net ()
dungeon_feature_type trap_category (trap_type type)
trap_type random_trap ()
trap_type random_trap (dungeon_feature_type feat)
bool is_valid_shaft_level (const level_id &place)
bool shaft_known (int depth, bool randomly_placed)
level_id generic_shaft_dest (level_pos lpos, bool known=false)
level_id generic_shaft_dest (coord_def pos, bool known=false)
void handle_items_on_shaft (const coord_def &pos, bool open_shaft)
int num_traps_for_place (int level_number, const level_id &place)
trap_type random_trap_slime (int level_number)
trap_type random_trap_for_place (int level_number, const level_id &place)
int traps_zero_number (int level_number)
int count_traps (trap_type ttyp)

Function Documentation

void check_net_will_hold_monster ( monster mons  ) 

Here is the call graph for this function:

void clear_trapping_net (  ) 

Here is the call graph for this function:

int count_traps ( trap_type  ttyp  ) 

void destroy_trap ( const coord_def pos  ) 

Here is the call graph for this function:

std::string direction_string ( coord_def  pos,
bool  fuzz 
)

Here is the call graph for this function:

void disarm_trap ( const coord_def where  ) 

Here is the call graph for this function:

std::vector<coord_def> find_golubria_on_level (  ) 

Here is the call graph for this function:

trap_def* find_trap ( const coord_def pos  ) 

Here is the call graph for this function:

void free_self_from_net ( void   ) 

Here is the call graph for this function:

level_id generic_shaft_dest ( coord_def  pos,
bool  known = false 
)

Here is the call graph for this function:

level_id generic_shaft_dest ( level_pos  lpos,
bool  known = false 
)

Here is the call graph for this function:

trap_type get_trap_type ( const coord_def pos  ) 

Here is the call graph for this function:

int get_trapping_net ( const coord_def where,
bool  trapped 
)

Here is the call graph for this function:

void handle_items_on_shaft ( const coord_def pos,
bool  open_shaft 
)

Here is the call graph for this function:

bool is_valid_shaft_level ( const level_id place  ) 

Here is the call graph for this function:

void monster_caught_in_net ( monster mon,
bolt pbolt 
)

Here is the call graph for this function:

int num_traps_for_place ( int  level_number,
const level_id place 
)

Here is the call graph for this function:

bool player_caught_in_net (  ) 

Here is the call graph for this function:

trap_type random_trap ( dungeon_feature_type  feat  ) 

Here is the call graph for this function:

trap_type random_trap (  ) 

Here is the call graph for this function:

trap_type random_trap_for_place ( int  level_number,
const level_id place 
)

Here is the call graph for this function:

trap_type random_trap_slime ( int  level_number  ) 

Here is the call graph for this function:

void remove_net_from ( monster mon  ) 

Here is the call graph for this function:

int reveal_traps ( const int  range  ) 

Here is the call graph for this function:

bool shaft_known ( int  depth,
bool  randomly_placed 
)

Here is the call graph for this function:

dungeon_feature_type trap_category ( trap_type  type  ) 

const char* trap_name_at ( const coord_def c  ) 

Here is the call graph for this function:

int traps_zero_number ( int  level_number  ) 


Generated on Thu Jan 13 13:28:51 2011 by  doxygen 1.5.6