mon-place.h File Reference

#include "mgen_enum.h"

Include dependency graph for mon-place.h:

Go to the source code of this file.

Functions

int create_monster (mgen_data mg, bool fail_msg=true)
int mons_place (mgen_data mg)
int place_monster (mgen_data mg, bool force_pos=false)
monster_type pick_random_zombie ()
monster_type pick_local_zombifiable_monster (int power, bool hack_hd=false, monster_type cs=MONS_NO_MONSTER, const coord_def &pos=coord_def())
void roll_zombie_hp (monster *mon)
void define_zombie (monster *mon, monster_type ztype, monster_type cs)
monster_type resolve_monster_type (monster_type mon_type, dungeon_feature_type feat)
monster_type pick_random_monster_for_place (const level_id &place, monster_type zombie_monster, bool moderate_ood, bool super_ood, bool want_corpse_capable)
monster_type resolve_corpse_monster_type (monster_type mon_type, dungeon_feature_type feat, level_id place)
monster_type pick_random_monster (const level_id &place, bool *chose_ood_monster=NULL)
monster_type pick_random_monster (const level_id &place, int power, int &lev_mons, bool *chose_ood_monster, bool force_mobile=false)
bool player_will_anger_monster (monster_type type, bool *holy=NULL, bool *unholy=NULL, bool *lawful=NULL, bool *antimagical=NULL)
bool player_will_anger_monster (monster *mon, bool *holy=NULL, bool *unholy=NULL, bool *lawful=NULL, bool *antimagical=NULL)
bool player_angers_monster (monster *mon)
bool empty_surrounds (const coord_def &where, dungeon_feature_type spc_wanted, int radius, bool allow_centre, coord_def &empty)
monster_type summon_any_demon (demon_class_type dct)
monster_type summon_any_holy_being (holy_being_class_type hbct)
monster_type summon_any_dragon (dragon_class_type dct)
bool drac_colour_incompatible (int drac, int colour)
void mark_interesting_monst (monster *mons, beh_type behaviour=BEH_SLEEP)
bool feat_compatible (dungeon_feature_type grid_wanted, dungeon_feature_type actual_grid)
bool monster_habitable_grid (const monster *mon, dungeon_feature_type actual_grid)
bool monster_habitable_grid (monster_type mt, dungeon_feature_type actual_grid, dungeon_feature_type wanted_grid_feature=DNGN_UNSEEN, int flies=-1, bool paralysed=false)
bool monster_can_submerge (const monster *mon, dungeon_feature_type grid)
coord_def find_newmons_square (int mons_class, const coord_def &p)
coord_def find_newmons_square_contiguous (monster_type mons_class, const coord_def &start, int maxdistance=3)
void spawn_random_monsters ()
void set_vault_mon_list (const std::vector< mons_spec > &list)
void get_vault_mon_list (std::vector< mons_spec > &list)
void setup_vault_mon_list ()
monsterget_free_monster ()
bool can_place_on_trap (int mon_type, trap_type trap)
bool mons_airborne (int mcls, int flies, bool paralysed)
void mons_add_blame (monster *mon, const std::string &blame_string)

Variables

band_type active_monster_band


Function Documentation

bool can_place_on_trap ( int  mon_type,
trap_type  trap 
)

Here is the call graph for this function:

int create_monster ( mgen_data  mg,
bool  fail_msg = true 
)

Here is the call graph for this function:

void define_zombie ( monster mon,
monster_type  ztype,
monster_type  cs 
)

Here is the call graph for this function:

bool drac_colour_incompatible ( int  drac,
int  colour 
)

bool empty_surrounds ( const coord_def where,
dungeon_feature_type  spc_wanted,
int  radius,
bool  allow_centre,
coord_def empty 
)

Here is the call graph for this function:

bool feat_compatible ( dungeon_feature_type  grid_wanted,
dungeon_feature_type  actual_grid 
)

coord_def find_newmons_square ( int  mons_class,
const coord_def p 
)

Here is the call graph for this function:

coord_def find_newmons_square_contiguous ( monster_type  mons_class,
const coord_def start,
int  maxdistance = 3 
)

Here is the call graph for this function:

monster* get_free_monster (  ) 

void get_vault_mon_list ( std::vector< mons_spec > &  list  ) 

Here is the call graph for this function:

void mark_interesting_monst ( monster mons,
beh_type  behaviour = BEH_SLEEP 
)

Here is the call graph for this function:

void mons_add_blame ( monster mon,
const std::string blame_string 
)

Here is the call graph for this function:

bool mons_airborne ( int  mcls,
int  flies,
bool  paralysed 
)

Here is the call graph for this function:

int mons_place ( mgen_data  mg  ) 

Here is the call graph for this function:

bool monster_can_submerge ( const monster mon,
dungeon_feature_type  grid 
)

Here is the call graph for this function:

bool monster_habitable_grid ( monster_type  mt,
dungeon_feature_type  actual_grid,
dungeon_feature_type  wanted_grid_feature = DNGN_UNSEEN,
int  flies = -1,
bool  paralysed = false 
)

Here is the call graph for this function:

bool monster_habitable_grid ( const monster mon,
dungeon_feature_type  actual_grid 
)

Here is the call graph for this function:

monster_type pick_local_zombifiable_monster ( int  power,
bool  hack_hd = false,
monster_type  cs = MONS_NO_MONSTER,
const coord_def pos = coord_def() 
)

Here is the call graph for this function:

monster_type pick_random_monster ( const level_id place,
int  power,
int &  lev_mons,
bool *  chose_ood_monster,
bool  force_mobile = false 
)

Here is the call graph for this function:

monster_type pick_random_monster ( const level_id place,
bool *  chose_ood_monster = NULL 
)

Here is the call graph for this function:

monster_type pick_random_monster_for_place ( const level_id place,
monster_type  zombie_monster,
bool  moderate_ood,
bool  super_ood,
bool  want_corpse_capable 
)

Here is the call graph for this function:

monster_type pick_random_zombie (  ) 

Here is the call graph for this function:

int place_monster ( mgen_data  mg,
bool  force_pos = false 
)

Here is the call graph for this function:

bool player_angers_monster ( monster mon  ) 

Here is the call graph for this function:

bool player_will_anger_monster ( monster mon,
bool *  holy = NULL,
bool *  unholy = NULL,
bool *  lawful = NULL,
bool *  antimagical = NULL 
)

Here is the call graph for this function:

bool player_will_anger_monster ( monster_type  type,
bool *  holy = NULL,
bool *  unholy = NULL,
bool *  lawful = NULL,
bool *  antimagical = NULL 
)

Here is the call graph for this function:

monster_type resolve_corpse_monster_type ( monster_type  mon_type,
dungeon_feature_type  feat,
level_id  place 
)

Here is the call graph for this function:

monster_type resolve_monster_type ( monster_type  mon_type,
dungeon_feature_type  feat 
)

void roll_zombie_hp ( monster mon  ) 

Here is the call graph for this function:

void set_vault_mon_list ( const std::vector< mons_spec > &  list  ) 

Here is the call graph for this function:

void setup_vault_mon_list (  ) 

Here is the call graph for this function:

void spawn_random_monsters (  ) 

Here is the call graph for this function:

monster_type summon_any_demon ( demon_class_type  dct  ) 

Here is the call graph for this function:

monster_type summon_any_dragon ( dragon_class_type  dct  ) 

Here is the call graph for this function:

monster_type summon_any_holy_being ( holy_being_class_type  hbct  ) 

Here is the call graph for this function:


Variable Documentation


Generated on Thu Jan 13 13:13:22 2011 by  doxygen 1.5.6