traps.h File Reference

#include "enum.h"
#include "externs.h"

Include dependency graph for traps.h:

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

Go to the source code of this file.

Functions

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


Function Documentation

void check_net_will_hold_monster ( monster mon  ) 

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:

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 where  ) 

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 
)

Here is the call graph for this function:

trap_type get_trap_type ( const coord_def where  ) 

Here is the call graph for this function:

int get_trapping_net ( const coord_def where,
bool  trapped = true 
)

Here is the call graph for this function:

void handle_items_on_shaft ( const coord_def where,
bool  open_shaft 
)

Here is the call graph for this function:

void handle_traps ( trap_type  trt,
int  i,
bool  trap_known 
)

bool is_valid_shaft_level ( const level_id place = level_id::current()  ) 

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 = -1,
const level_id place = level_id::current() 
)

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 = -1,
const level_id place = level_id::current() 
)

Here is the call graph for this function:

trap_type random_trap_slime ( int  level_number = -1  ) 

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 = -1  ) 


Generated on Thu Jan 13 13:29:02 2011 by  doxygen 1.5.6