mon-util.cc File Reference

#include "AppHdr.h"
#include "mon-util.h"
#include "artefact.h"
#include "beam.h"
#include "colour.h"
#include "coordit.h"
#include "database.h"
#include "debug.h"
#include "dgn-overview.h"
#include "directn.h"
#include "env.h"
#include "fight.h"
#include "food.h"
#include "fprop.h"
#include "ghost.h"
#include "goditem.h"
#include "itemname.h"
#include "libutil.h"
#include "mapmark.h"
#include "mislead.h"
#include "mon-abil.h"
#include "mon-behv.h"
#include "mon-clone.h"
#include "mon-death.h"
#include "mon-iter.h"
#include "mon-place.h"
#include "coord.h"
#include "mon-stuff.h"
#include "options.h"
#include "random.h"
#include "religion.h"
#include "species.h"
#include "spl-util.h"
#include "state.h"
#include "stuff.h"
#include "terrain.h"
#include "traps.h"
#include "viewchar.h"
#include "mon-data.h"

Include dependency graph for mon-util.cc:


Defines

#define MONDATASIZE   ARRAYSZ(mondata)
#define smc   get_monster_data(mc)

Typedefs

typedef std::map< std::string,
unsigned > 
mon_name_map

Functions

habitat_type grid2habitat (dungeon_feature_type grid)
dungeon_feature_type habitat2grid (habitat_type ht)
monster_type random_monster_at_grid (const coord_def &p)
monster_type random_monster_at_grid (dungeon_feature_type grid)
void init_mon_name_cache ()
monster_type get_monster_by_name (std::string name, bool exact)
void init_monsters ()
void init_monster_symbols ()
const mon_resist_defget_mons_class_resists (int mc)
mon_resist_def serpent_of_hell_resists (int flavour)
mon_resist_def get_mons_resists (const monster *mon)
monstermonster_at (const coord_def &pos)
int mons_piety (const monster *mon)
bool mons_class_flag (int mc, uint64_t bf)
int scan_mon_inv_randarts (const monster *mon, artefact_prop_type ra_prop)
int mons_unusable_items (const monster *mon)
mon_holy_type mons_class_holiness (int mc)
bool mons_class_is_confusable (int mc)
bool mons_class_is_slowable (int mc)
bool mons_class_is_stationary (int mc)
bool mons_is_stationary (const monster *mon)
bool mons_class_is_firewood (int mc)
bool mons_is_firewood (const monster *mon)
bool mons_has_body (const monster *mon)
int cheibriados_monster_player_speed_delta (const monster *mon)
bool cheibriados_thinks_mons_is_fast (const monster *mon)
bool mons_is_projectile (int mc)
bool mons_has_blood (int mc)
bool mons_behaviour_perceptible (const monster *mon)
bool mons_is_native_in_branch (const monster *mons, const branch_type branch)
bool mons_is_poisoner (const monster *mon)
bool mons_class_is_slime (int mc)
bool mons_is_slime (const monster *mon)
bool mons_class_is_plant (int mc)
bool mons_is_plant (const monster *mon)
bool mons_eats_items (const monster *mon)
bool mons_eats_corpses (const monster *mon)
bool mons_eats_food (const monster *mon)
bool invalid_monster (const monster *mon)
bool invalid_monster_type (monster_type mt)
bool invalid_monster_index (int i)
bool mons_is_statue (int mc, bool allow_disintegrate)
bool mons_is_mimic (int mc)
bool mons_is_item_mimic (int mc)
bool mons_is_feat_mimic (int mc)
void discover_mimic (monster *mimic)
bool mons_is_demon (int mc)
bool mons_is_draconian (int mc)
bool mons_is_conjured (int mc)
bool mons_foe_is_mons (const monster *mons)
int mons_weight (int mc)
corpse_effect_type mons_corpse_effect (int mc)
monster_type mons_species (int mc)
monster_type mons_genus (int mc)
monster_type mons_detected_base (monster_type mc)
monster_type draco_subspecies (const monster *mon)
int get_shout_noise_level (const shout_type shout)
shout_type mons_shouts (int mc, bool demon_shout)
bool mons_is_ghost_demon (int mc)
bool mons_is_pghost (int mc)
bool mons_is_unique (int mc)
bool mons_sense_invis (const monster *mon)
wchar_t mons_char (int mc)
char mons_base_char (int mc)
mon_itemuse_type mons_class_itemuse (int mc)
mon_itemuse_type mons_itemuse (const monster *mon)
mon_itemeat_type mons_class_itemeat (int mc)
mon_itemeat_type mons_itemeat (const monster *mon)
int mons_class_colour (int mc)
int mons_colour (const monster *mon)
bool mons_class_can_regenerate (int mc)
bool mons_can_regenerate (const monster *mon)
bool mons_class_can_display_wounds (int mc)
bool mons_can_display_wounds (const monster *mon)
zombie_size_type zombie_class_size (monster_type cs)
int mons_zombie_size (int mc)
monster_type mons_zombie_base (const monster *mon)
bool mons_class_is_zombified (int mc)
bool mons_is_zombified (const monster *mon)
monster_type mons_base_type (const monster *mon)
bool mons_class_can_leave_corpse (monster_type mc)
bool mons_class_can_be_zombified (int mc)
bool mons_can_be_zombified (const monster *mon)
bool mons_class_can_use_stairs (int mc)
bool mons_can_use_stairs (const monster *mon)
bool mons_enslaved_body_and_soul (const monster *mon)
bool mons_enslaved_soul (const monster *mon)
bool name_zombie (monster *mon, int mc, const std::string mon_name)
bool name_zombie (monster *mon, const monster *orig)
mon_attack_def mons_attack_spec (const monster *mon, int attk_number)
int mons_damage (int mc, int rt)
std::string resist_margin_phrase (int margin)
bool mons_immune_magic (const monster *mon)
std::string mons_resist_string (const monster *mon, int res_margin)
bool mons_skeleton (int mc)
flight_type mons_class_flies (int mc)
flight_type mons_flies (const monster *mon, bool temp)
bool mons_class_amphibious (int mc)
bool mons_amphibious (const monster *mon)
bool mons_class_flattens_trees (int mc)
bool mons_flattens_trees (const monster *mon)
int mons_class_res_wind (int mc)
bool mons_class_wall_shielded (int mc)
bool mons_wall_shielded (const monster *mon)
int hit_points (int hit_dice, int min_hp, int rand_hp)
int mons_class_hit_dice (int mc)
int mons_difficulty (int mc)
int exper_value (const monster *mon)
monster_type random_draconian_monster_species ()
uint8_t random_monster_colour ()
uint8_t random_large_abomination_colour ()
uint8_t random_small_abomination_colour ()
void define_monster (monster *mons)
std::string ugly_thing_colour_name (uint8_t colour)
std::string ugly_thing_colour_name (const monster *mon)
uint8_t ugly_thing_random_colour ()
int str_to_ugly_thing_colour (const std::string &s)
int ugly_thing_colour_offset (const uint8_t colour)
std::string draconian_colour_name (monster_type mon_type)
monster_type draconian_colour_by_name (const std::string &name)
std::string mons_type_name (int type, description_level_type desc)
bool give_monster_proper_name (monster *mon, bool orcs_only)
monsterentryget_monster_data (int mc)
int mons_class_base_speed (int mc)
int mons_real_base_speed (int mc)
int mons_class_zombie_base_speed (int zombie_base_mc)
int mons_base_speed (const monster *mon)
mon_intel_type mons_class_intel (int mc)
mon_intel_type mons_intel (const monster *mon)
habitat_type mons_class_habitat (int mc)
habitat_type mons_habitat (const monster *mon)
habitat_type mons_class_primary_habitat (int mc)
habitat_type mons_primary_habitat (const monster *mon)
habitat_type mons_class_secondary_habitat (int mc)
habitat_type mons_secondary_habitat (const monster *mon)
bool intelligent_ally (const monster *mon)
int mons_power (int mc)
bool mons_aligned (const actor *m1, const actor *m2)
bool mons_atts_aligned (mon_attitude_type fr1, mon_attitude_type fr2)
bool mons_class_wields_two_weapons (int mc)
bool mons_wields_two_weapons (const monster *mon)
bool mons_self_destructs (const monster *m)
int mons_base_damage_brand (const monster *m)
bool mons_att_wont_attack (mon_attitude_type fr)
mon_attitude_type mons_attitude (const monster *m)
bool mons_is_confused (const monster *m, bool class_too)
bool mons_is_wandering (const monster *m)
bool mons_is_seeking (const monster *m)
bool mons_is_fleeing (const monster *m)
bool mons_is_panicking (const monster *m)
bool mons_is_cornered (const monster *m)
bool mons_is_lurking (const monster *m)
bool mons_is_influenced_by_sanctuary (const monster *m)
bool mons_is_fleeing_sanctuary (const monster *m)
bool mons_is_batty (const monster *m)
bool mons_was_seen (const monster *m)
bool mons_is_known_mimic (const monster *m)
bool mons_is_unknown_mimic (const monster *m)
bool mons_looks_stabbable (const monster *m)
bool mons_looks_distracted (const monster *m)
void mons_start_fleeing_from_sanctuary (monster *mons)
void mons_stop_fleeing_from_sanctuary (monster *mons)
void mons_pacify (monster *mon, mon_attitude_type att)
bool mons_should_fire (struct bolt &beam)
bool ms_direct_nasty (spell_type monspell)
bool ms_useful_fleeing_out_of_sight (const monster *mon, spell_type monspell)
bool ms_low_hitpoint_cast (const monster *mon, spell_type monspell)
bool ms_quick_get_away (const monster *mon, spell_type monspell)
bool ms_waste_of_time (const monster *mon, spell_type monspell)
bool mons_has_los_ability (monster_type mon_type)
bool mons_has_los_attack (const monster *mon)
bool mons_has_ranged_spell (const monster *mon, bool attack_only, bool ench_too)
bool mons_has_ranged_ability (const monster *mon)
bool mons_has_ranged_attack (const monster *mon)
const char * mons_pronoun (monster_type mon_type, pronoun_type variant, bool visible)
bool monster_shover (const monster *m)
bool monster_senior (const monster *m1, const monster *m2, bool fleeing)
bool mons_class_can_pass (int mc, const dungeon_feature_type grid)
bool mons_can_open_door (const monster *mon, const coord_def &pos)
bool mons_can_eat_door (const monster *mon, const coord_def &pos)
bool mons_can_traverse (const monster *mon, const coord_def &p, bool checktraps)
void mons_remove_from_grid (const monster *mon)
mon_inv_type equip_slot_to_mslot (equipment_type eq)
mon_inv_type item_to_mslot (const item_def &item)
monster_type royal_jelly_ejectable_monster ()
std::string do_mon_str_replacements (const std::string &in_msg, const monster *mons, int s_type)
mon_body_shape get_mon_shape (const monster *mon)
mon_body_shape get_mon_shape (const int type)
std::string get_mon_shape_str (const monster *mon)
std::string get_mon_shape_str (const int type)
std::string get_mon_shape_str (const mon_body_shape shape)
bool player_or_mon_in_sanct (const monster *mons)
bool mons_landlubbers_in_reach (const monster *mons)
int get_dist_to_nearest_monster ()
actoractor_by_mid (mid_t m)
monstermonster_by_mid (mid_t m)
bool mons_is_tentacle (int mc)
void init_anon ()
actorfind_agent (mid_t m, kill_category kc)
const char * mons_class_name (monster_type mc)

Variables

mon_display monster_symbols [NUM_MONSTERS]

Define Documentation

#define MONDATASIZE   ARRAYSZ(mondata)

#define smc   get_monster_data(mc)


Typedef Documentation

typedef std::map<std::string, unsigned> mon_name_map


Function Documentation

actor* actor_by_mid ( mid_t  m  ) 

Here is the call graph for this function:

int cheibriados_monster_player_speed_delta ( const monster mon  ) 

Here is the call graph for this function:

bool cheibriados_thinks_mons_is_fast ( const monster mon  ) 

Here is the call graph for this function:

void define_monster ( monster mons  ) 

Here is the call graph for this function:

void discover_mimic ( monster mimic  ) 

Here is the call graph for this function:

std::string do_mon_str_replacements ( const std::string in_msg,
const monster mons,
int  s_type 
)

Here is the call graph for this function:

monster_type draco_subspecies ( const monster mon  ) 

Here is the call graph for this function:

monster_type draconian_colour_by_name ( const std::string name  ) 

std::string draconian_colour_name ( monster_type  mon_type  ) 

mon_inv_type equip_slot_to_mslot ( equipment_type  eq  ) 

int exper_value ( const monster mon  ) 

Here is the call graph for this function:

actor* find_agent ( mid_t  m,
kill_category  kc 
)

Here is the call graph for this function:

int get_dist_to_nearest_monster (  ) 

Here is the call graph for this function:

mon_body_shape get_mon_shape ( const int  type  ) 

Here is the call graph for this function:

mon_body_shape get_mon_shape ( const monster mon  ) 

Here is the call graph for this function:

std::string get_mon_shape_str ( const mon_body_shape  shape  ) 

std::string get_mon_shape_str ( const int  type  ) 

Here is the call graph for this function:

std::string get_mon_shape_str ( const monster mon  ) 

Here is the call graph for this function:

const mon_resist_def& get_mons_class_resists ( int  mc  ) 

Here is the call graph for this function:

mon_resist_def get_mons_resists ( const monster mon  ) 

Here is the call graph for this function:

monster_type get_monster_by_name ( std::string  name,
bool  exact 
)

Here is the call graph for this function:

monsterentry* get_monster_data ( int  mc  ) 

int get_shout_noise_level ( const shout_type  shout  ) 

bool give_monster_proper_name ( monster mon,
bool  orcs_only 
)

Here is the call graph for this function:

habitat_type grid2habitat ( dungeon_feature_type  grid  ) 

Here is the call graph for this function:

dungeon_feature_type habitat2grid ( habitat_type  ht  ) 

int hit_points ( int  hit_dice,
int  min_hp,
int  rand_hp 
)

Here is the call graph for this function:

void init_anon (  ) 

Here is the call graph for this function:

void init_mon_name_cache (  ) 

Here is the call graph for this function:

void init_monster_symbols (  ) 

Here is the call graph for this function:

void init_monsters (  ) 

Here is the call graph for this function:

bool intelligent_ally ( const monster mon  ) 

Here is the call graph for this function:

bool invalid_monster ( const monster mon  ) 

Here is the call graph for this function:

bool invalid_monster_index ( int  i  ) 

bool invalid_monster_type ( monster_type  mt  ) 

mon_inv_type item_to_mslot ( const item_def item  ) 

Here is the call graph for this function:

bool mons_aligned ( const actor m1,
const actor m2 
)

Here is the call graph for this function:

bool mons_amphibious ( const monster mon  ) 

Here is the call graph for this function:

bool mons_att_wont_attack ( mon_attitude_type  fr  ) 

mon_attack_def mons_attack_spec ( const monster mon,
int  attk_number 
)

Here is the call graph for this function:

mon_attitude_type mons_attitude ( const monster m  ) 

Here is the call graph for this function:

bool mons_atts_aligned ( mon_attitude_type  fr1,
mon_attitude_type  fr2 
)

Here is the call graph for this function:

char mons_base_char ( int  mc  ) 

Here is the call graph for this function:

int mons_base_damage_brand ( const monster m  ) 

Here is the call graph for this function:

int mons_base_speed ( const monster mon  ) 

Here is the call graph for this function:

monster_type mons_base_type ( const monster mon  ) 

Here is the call graph for this function:

bool mons_behaviour_perceptible ( const monster mon  ) 

Here is the call graph for this function:

bool mons_can_be_zombified ( const monster mon  ) 

Here is the call graph for this function:

bool mons_can_display_wounds ( const monster mon  ) 

Here is the call graph for this function:

bool mons_can_eat_door ( const monster mon,
const coord_def pos 
)

Here is the call graph for this function:

bool mons_can_open_door ( const monster mon,
const coord_def pos 
)

Here is the call graph for this function:

bool mons_can_regenerate ( const monster mon  ) 

Here is the call graph for this function:

bool mons_can_traverse ( const monster mon,
const coord_def p,
bool  checktraps 
)

Here is the call graph for this function:

bool mons_can_use_stairs ( const monster mon  ) 

Here is the call graph for this function:

wchar_t mons_char ( int  mc  ) 

bool mons_class_amphibious ( int  mc  ) 

Here is the call graph for this function:

int mons_class_base_speed ( int  mc  ) 

bool mons_class_can_be_zombified ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_can_display_wounds ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_can_leave_corpse ( monster_type  mc  ) 

Here is the call graph for this function:

bool mons_class_can_pass ( int  mc,
const dungeon_feature_type  grid 
)

Here is the call graph for this function:

bool mons_class_can_regenerate ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_can_use_stairs ( int  mc  ) 

Here is the call graph for this function:

int mons_class_colour ( int  mc  ) 

bool mons_class_flag ( int  mc,
uint64_t  bf 
)

Here is the call graph for this function:

bool mons_class_flattens_trees ( int  mc  ) 

flight_type mons_class_flies ( int  mc  ) 

Here is the call graph for this function:

habitat_type mons_class_habitat ( int  mc  ) 

Here is the call graph for this function:

int mons_class_hit_dice ( int  mc  ) 

Here is the call graph for this function:

mon_holy_type mons_class_holiness ( int  mc  ) 

mon_intel_type mons_class_intel ( int  mc  ) 

bool mons_class_is_confusable ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_is_firewood ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_is_plant ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_is_slime ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_is_slowable ( int  mc  ) 

bool mons_class_is_stationary ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_is_zombified ( int  mc  ) 

mon_itemeat_type mons_class_itemeat ( int  mc  ) 

mon_itemuse_type mons_class_itemuse ( int  mc  ) 

const char* mons_class_name ( monster_type  mc  ) 

Here is the call graph for this function:

habitat_type mons_class_primary_habitat ( int  mc  ) 

Here is the call graph for this function:

int mons_class_res_wind ( int  mc  ) 

habitat_type mons_class_secondary_habitat ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_wall_shielded ( int  mc  ) 

Here is the call graph for this function:

bool mons_class_wields_two_weapons ( int  mc  ) 

Here is the call graph for this function:

int mons_class_zombie_base_speed ( int  zombie_base_mc  ) 

Here is the call graph for this function:

int mons_colour ( const monster mon  ) 

corpse_effect_type mons_corpse_effect ( int  mc  ) 

int mons_damage ( int  mc,
int  rt 
)

monster_type mons_detected_base ( monster_type  mc  ) 

int mons_difficulty ( int  mc  ) 

Here is the call graph for this function:

bool mons_eats_corpses ( const monster mon  ) 

Here is the call graph for this function:

bool mons_eats_food ( const monster mon  ) 

Here is the call graph for this function:

bool mons_eats_items ( const monster mon  ) 

Here is the call graph for this function:

bool mons_enslaved_body_and_soul ( const monster mon  ) 

Here is the call graph for this function:

bool mons_enslaved_soul ( const monster mon  ) 

Here is the call graph for this function:

bool mons_flattens_trees ( const monster mon  ) 

Here is the call graph for this function:

flight_type mons_flies ( const monster mon,
bool  temp 
)

Here is the call graph for this function:

bool mons_foe_is_mons ( const monster mons  ) 

Here is the call graph for this function:

monster_type mons_genus ( int  mc  ) 

Here is the call graph for this function:

habitat_type mons_habitat ( const monster mon  ) 

Here is the call graph for this function:

bool mons_has_blood ( int  mc  ) 

Here is the call graph for this function:

bool mons_has_body ( const monster mon  ) 

Here is the call graph for this function:

bool mons_has_los_ability ( monster_type  mon_type  ) 

Here is the call graph for this function:

bool mons_has_los_attack ( const monster mon  ) 

Here is the call graph for this function:

bool mons_has_ranged_ability ( const monster mon  ) 

bool mons_has_ranged_attack ( const monster mon  ) 

Here is the call graph for this function:

bool mons_has_ranged_spell ( const monster mon,
bool  attack_only,
bool  ench_too 
)

Here is the call graph for this function:

bool mons_immune_magic ( const monster mon  ) 

Here is the call graph for this function:

mon_intel_type mons_intel ( const monster mon  ) 

Here is the call graph for this function:

bool mons_is_batty ( const monster m  ) 

Here is the call graph for this function:

bool mons_is_confused ( const monster m,
bool  class_too 
)

Here is the call graph for this function:

bool mons_is_conjured ( int  mc  ) 

Here is the call graph for this function:

bool mons_is_cornered ( const monster m  ) 

bool mons_is_demon ( int  mc  ) 

Here is the call graph for this function:

bool mons_is_draconian ( int  mc  ) 

bool mons_is_feat_mimic ( int  mc  ) 

Here is the call graph for this function:

bool mons_is_firewood ( const monster mon  ) 

Here is the call graph for this function:

bool mons_is_fleeing ( const monster m  ) 

Here is the call graph for this function:

bool mons_is_fleeing_sanctuary ( const monster m  ) 

Here is the call graph for this function:

bool mons_is_ghost_demon ( int  mc  ) 

bool mons_is_influenced_by_sanctuary ( const monster m  ) 

Here is the call graph for this function:

bool mons_is_item_mimic ( int  mc  ) 

Here is the call graph for this function:

bool mons_is_known_mimic ( const monster m  ) 

Here is the call graph for this function:

bool mons_is_lurking ( const monster m  ) 

bool mons_is_mimic ( int  mc  ) 

Here is the call graph for this function:

bool mons_is_native_in_branch ( const monster mons,
const branch_type  branch 
)

Here is the call graph for this function:

bool mons_is_panicking ( const monster m  ) 

bool mons_is_pghost ( int  mc  ) 

bool mons_is_plant ( const monster mon  ) 

Here is the call graph for this function:

bool mons_is_poisoner ( const monster mon  ) 

Here is the call graph for this function:

bool mons_is_projectile ( int  mc  ) 

bool mons_is_seeking ( const monster m  ) 

bool mons_is_slime ( const monster mon  ) 

Here is the call graph for this function:

bool mons_is_stationary ( const monster mon  ) 

Here is the call graph for this function:

bool mons_is_statue ( int  mc,
bool  allow_disintegrate 
)

bool mons_is_tentacle ( int  mc  ) 

bool mons_is_unique ( int  mc  ) 

Here is the call graph for this function:

bool mons_is_unknown_mimic ( const monster m  ) 

Here is the call graph for this function:

bool mons_is_wandering ( const monster m  ) 

bool mons_is_zombified ( const monster mon  ) 

Here is the call graph for this function:

mon_itemeat_type mons_itemeat ( const monster mon  ) 

Here is the call graph for this function:

mon_itemuse_type mons_itemuse ( const monster mon  ) 

Here is the call graph for this function:

bool mons_landlubbers_in_reach ( const monster mons  ) 

Here is the call graph for this function:

bool mons_looks_distracted ( const monster m  ) 

Here is the call graph for this function:

bool mons_looks_stabbable ( const monster m  ) 

Here is the call graph for this function:

void mons_pacify ( monster mon,
mon_attitude_type  att 
)

Here is the call graph for this function:

int mons_piety ( const monster mon  ) 

int mons_power ( int  mc  ) 

Here is the call graph for this function:

habitat_type mons_primary_habitat ( const monster mon  ) 

Here is the call graph for this function:

const char* mons_pronoun ( monster_type  mon_type,
pronoun_type  variant,
bool  visible 
)

Here is the call graph for this function:

int mons_real_base_speed ( int  mc  ) 

Here is the call graph for this function:

void mons_remove_from_grid ( const monster mon  ) 

Here is the call graph for this function:

std::string mons_resist_string ( const monster mon,
int  res_margin 
)

Here is the call graph for this function:

habitat_type mons_secondary_habitat ( const monster mon  ) 

Here is the call graph for this function:

bool mons_self_destructs ( const monster m  ) 

bool mons_sense_invis ( const monster mon  ) 

Here is the call graph for this function:

bool mons_should_fire ( struct bolt beam  ) 

Here is the call graph for this function:

shout_type mons_shouts ( int  mc,
bool  demon_shout 
)

Here is the call graph for this function:

bool mons_skeleton ( int  mc  ) 

Here is the call graph for this function:

monster_type mons_species ( int  mc  ) 

Here is the call graph for this function:

void mons_start_fleeing_from_sanctuary ( monster mons  ) 

Here is the call graph for this function:

void mons_stop_fleeing_from_sanctuary ( monster mons  ) 

Here is the call graph for this function:

std::string mons_type_name ( int  type,
description_level_type  desc 
)

Here is the call graph for this function:

int mons_unusable_items ( const monster mon  ) 

Here is the call graph for this function:

bool mons_wall_shielded ( const monster mon  ) 

Here is the call graph for this function:

bool mons_was_seen ( const monster m  ) 

Here is the call graph for this function:

int mons_weight ( int  mc  ) 

bool mons_wields_two_weapons ( const monster mon  ) 

Here is the call graph for this function:

monster_type mons_zombie_base ( const monster mon  ) 

int mons_zombie_size ( int  mc  ) 

monster* monster_at ( const coord_def pos  ) 

Here is the call graph for this function:

monster* monster_by_mid ( mid_t  m  ) 

bool monster_senior ( const monster m1,
const monster m2,
bool  fleeing 
)

Here is the call graph for this function:

bool monster_shover ( const monster m  ) 

Here is the call graph for this function:

bool ms_direct_nasty ( spell_type  monspell  ) 

Here is the call graph for this function:

bool ms_low_hitpoint_cast ( const monster mon,
spell_type  monspell 
)

Here is the call graph for this function:

bool ms_quick_get_away ( const monster mon,
spell_type  monspell 
)

Here is the call graph for this function:

bool ms_useful_fleeing_out_of_sight ( const monster mon,
spell_type  monspell 
)

Here is the call graph for this function:

bool ms_waste_of_time ( const monster mon,
spell_type  monspell 
)

Here is the call graph for this function:

bool name_zombie ( monster mon,
const monster orig 
)

Here is the call graph for this function:

bool name_zombie ( monster mon,
int  mc,
const std::string  mon_name 
)

Here is the call graph for this function:

bool player_or_mon_in_sanct ( const monster mons  ) 

Here is the call graph for this function:

monster_type random_draconian_monster_species (  ) 

Here is the call graph for this function:

uint8_t random_large_abomination_colour (  ) 

Here is the call graph for this function:

monster_type random_monster_at_grid ( dungeon_feature_type  grid  ) 

Here is the call graph for this function:

monster_type random_monster_at_grid ( const coord_def p  ) 

Here is the call graph for this function:

uint8_t random_monster_colour (  ) 

Here is the call graph for this function:

uint8_t random_small_abomination_colour (  ) 

Here is the call graph for this function:

std::string resist_margin_phrase ( int  margin  ) 

monster_type royal_jelly_ejectable_monster (  ) 

Here is the call graph for this function:

int scan_mon_inv_randarts ( const monster mon,
artefact_prop_type  ra_prop 
)

Here is the call graph for this function:

mon_resist_def serpent_of_hell_resists ( int  flavour  ) 

int str_to_ugly_thing_colour ( const std::string s  ) 

std::string ugly_thing_colour_name ( const monster mon  ) 

Here is the call graph for this function:

std::string ugly_thing_colour_name ( uint8_t  colour  ) 

Here is the call graph for this function:

int ugly_thing_colour_offset ( const uint8_t  colour  ) 

Here is the call graph for this function:

uint8_t ugly_thing_random_colour (  ) 

zombie_size_type zombie_class_size ( monster_type  cs  ) 


Variable Documentation


Generated on Thu Jan 13 13:15:40 2011 by  doxygen 1.5.6