#include "AppHdr.h"
#include <algorithm>
#include "mon-place.h"
#include "mgen_data.h"
#include "areas.h"
#include "arena.h"
#include "branch.h"
#include "colour.h"
#include "coord.h"
#include "coordit.h"
#include "directn.h"
#include "dungeon.h"
#include "fprop.h"
#include "godabil.h"
#include "externs.h"
#include "options.h"
#include "ghost.h"
#include "itemname.h"
#include "lev-pand.h"
#include "libutil.h"
#include "message.h"
#include "mislead.h"
#include "mon-behv.h"
#include "mon-gear.h"
#include "mon-iter.h"
#include "mon-pick.h"
#include "mon-util.h"
#include "mon-stuff.h"
#include "player.h"
#include "random.h"
#include "religion.h"
#include "shopping.h"
#include "spl-damage.h"
#include "sprint.h"
#include "stairs.h"
#include "state.h"
#include "stuff.h"
#include "env.h"
#include "terrain.h"
#include "traps.h"
#include "travel.h"
#include "view.h"
#include "viewchar.h"
#define BIG_BAND 20 |
#define VAULT_MON_BASES_KEY "vault_mon_bases" |
#define VAULT_MON_TYPES_KEY "vault_mon_types" |
#define VAULT_MON_WEIGHTS_KEY "vault_mon_weights" |
bool can_place_on_trap | ( | int | mon_type, | |
trap_type | trap | |||
) |
int create_monster | ( | mgen_data | mg, | |
bool | fail_msg | |||
) |
void define_zombie | ( | monster * | mon, | |
monster_type | ztype, | |||
monster_type | cs | |||
) |
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 | |||
) |
bool feat_compatible | ( | dungeon_feature_type | feat_wanted, | |
dungeon_feature_type | actual_feat | |||
) |
bool find_mon_place_near_stairs | ( | coord_def & | pos, | |
dungeon_char_type * | stair_type, | |||
branch_type & | branch | |||
) |
coord_def find_newmons_square_contiguous | ( | monster_type | mons_class, | |
const coord_def & | start, | |||
int | distance | |||
) |
monster* get_free_monster | ( | ) |
void get_vault_mon_list | ( | std::vector< mons_spec > & | list | ) |
bool is_spawn_scaled_area | ( | const level_id & | here | ) |
void mons_add_blame | ( | monster * | mon, | |
const std::string & | blame_string | |||
) |
bool mons_airborne | ( | int | mcls, | |
int | flies, | |||
bool | paralysed | |||
) |
int mons_place | ( | mgen_data | mg | ) |
bool monster_can_submerge | ( | const monster * | mon, | |
dungeon_feature_type | feat | |||
) |
bool monster_habitable_grid | ( | monster_type | mt, | |
dungeon_feature_type | actual_grid, | |||
dungeon_feature_type | wanted_grid_feature, | |||
int | flies, | |||
bool | paralysed | |||
) |
bool monster_habitable_grid | ( | const monster * | mon, | |
dungeon_feature_type | actual_grid | |||
) |
monster_type pick_local_zombifiable_monster | ( | int | power, | |
bool | hack_hd, | |||
monster_type | cs, | |||
const coord_def & | pos | |||
) |
monster_type pick_random_monster | ( | const level_id & | place, | |
int | power, | |||
int & | lev_mons, | |||
bool * | chose_ood_monster, | |||
bool | force_mobile | |||
) |
monster_type pick_random_monster | ( | const level_id & | place, | |
bool * | chose_ood_monster | |||
) |
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 pick_random_zombie | ( | ) |
int place_monster | ( | mgen_data | mg, | |
bool | force_pos | |||
) |
bool player_angers_monster | ( | monster * | mon | ) |
bool player_will_anger_monster | ( | monster * | mon, | |
bool * | holy, | |||
bool * | unholy, | |||
bool * | lawful, | |||
bool * | antimagical | |||
) |
bool player_will_anger_monster | ( | monster_type | type, | |
bool * | holy, | |||
bool * | unholy, | |||
bool * | lawful, | |||
bool * | antimagical | |||
) |
monster_type resolve_corpse_monster_type | ( | monster_type | mon_type, | |
dungeon_feature_type | feat, | |||
level_id | place | |||
) |
monster_type resolve_monster_type | ( | monster_type | mon_type, | |
dungeon_feature_type | feat | |||
) |
void roll_zombie_hp | ( | monster * | mon | ) |
void set_vault_mon_list | ( | const std::vector< mons_spec > & | list | ) |
void setup_vault_mon_list | ( | ) |
void spawn_random_monsters | ( | ) |
monster_type summon_any_demon | ( | demon_class_type | dct | ) |
monster_type summon_any_dragon | ( | dragon_class_type | dct | ) |
monster_type summon_any_holy_being | ( | holy_being_class_type | hbct | ) |
band_type active_monster_band = BAND_NO_BAND |