#include "AppHdr.h"#include "mon-stuff.h"#include "areas.h"#include "arena.h"#include "artefact.h"#include "attitude-change.h"#include "cloud.h"#include "cluautil.h"#include "coord.h"#include "coordit.h"#include "database.h"#include "delay.h"#include "dgn-actions.h"#include "dgnevent.h"#include "directn.h"#include "dlua.h"#include "env.h"#include "exclude.h"#include "fprop.h"#include "files.h"#include "food.h"#include "godabil.h"#include "godconduct.h"#include "hints.h"#include "hiscores.h"#include "itemname.h"#include "itemprop.h"#include "items.h"#include "kills.h"#include "libutil.h"#include "makeitem.h"#include "message.h"#include "mgen_data.h"#include "misc.h"#include "mon-abil.h"#include "mon-behv.h"#include "mon-death.h"#include "mon-iter.h"#include "mon-place.h"#include "mon-speak.h"#include "mon-util.h"#include "notes.h"#include "player.h"#include "random.h"#include "religion.h"#include "shout.h"#include "spl-miscast.h"#include "spl-summoning.h"#include "spl-util.h"#include "stash.h"#include "state.h"#include "stuff.h"#include "tagstring.h"#include "terrain.h"#include "transform.h"#include "traps.h"#include "view.h"#include "viewchar.h"#include "xom.h"Functions | |
| const item_def * | give_mimic_item (monster *mimic) |
| const item_def & | get_mimic_item (const monster *mimic) |
| dungeon_feature_type | get_mimic_feat (const monster *mimic) |
| bool | feature_mimic_at (const coord_def &c) |
| int | get_mimic_colour (const monster *mimic) |
| bool | curse_an_item (bool decay_potions, bool quiet) |
| bool | is_any_item (const item_def &item) |
| void | monster_drop_things (monster *mons, bool mark_item_origins, bool(*suitable)(const item_def &item), int owner_id) |
| monster_type | fill_out_corpse (const monster *mons, monster_type mtype, item_def &corpse, bool force_corpse) |
| bool | explode_corpse (item_def &corpse, const coord_def &where) |
| int | place_monster_corpse (const monster *mons, bool silent, bool force) |
| int | exp_rate (int killer) |
| void | setup_spore_explosion (bolt &beam, const monster &origin) |
| void | setup_lightning_explosion (bolt &beam, const monster &origin) |
| void | mons_relocated (monster *mons) |
| int | monster_die (monster *mons, killer_type killer, int killer_index, bool silent, bool wizard, bool fake) |
| void | monster_cleanup (monster *mons) |
| int | mounted_kill (monster *daddy, monster_type mc, killer_type killer, int killer_index) |
| void | alert_nearby_monsters (void) |
| bool | monster_polymorph (monster *mons, monster_type targetc, poly_power_type power, bool force_beh) |
| bool | monster_blink (monster *mons, bool quiet) |
| bool | mon_can_be_slimified (monster *mons) |
| void | slimify_monster (monster *mon, bool hostile) |
| void | corrode_monster (monster *mons) |
| bool | swap_places (monster *mons) |
| bool | swap_places (monster *mons, const coord_def &loc) |
| bool | swap_check (monster *mons, coord_def &loc, bool quiet) |
| bool | monster_can_hit_monster (monster *mons, const monster *targ) |
| mon_dam_level_type | mons_get_damage_level (const monster *mons) |
| std::string | get_damage_level_string (mon_holy_type holi, mon_dam_level_type mdam) |
| std::string | get_wounds_description_sentence (const monster *mons) |
| std::string | get_wounds_description (const monster *mons, bool colour) |
| void | print_wounds (const monster *mons) |
| void | make_mons_leave_level (monster *mon) |
| bool | can_go_straight (const coord_def &p1, const coord_def &p2, dungeon_feature_type allowed) |
| bool | choose_any_monster (const monster *mon) |
| monster * | choose_random_nearby_monster (int weight, bool(*suitable)(const monster *mon), bool in_sight, bool prefer_named, bool prefer_priest) |
| monster * | choose_random_monster_on_level (int weight, bool(*suitable)(const monster *mon), bool in_sight, bool near_by, bool prefer_named, bool prefer_priest) |
| bool | simple_monster_message (const monster *mons, const char *event, msg_channel_type channel, int param, description_level_type descrip) |
| bool | mons_avoids_cloud (const monster *mons, const cloud_struct &cloud, bool placement) |
| bool | mons_avoids_cloud (const monster *mons, int cloud_num, bool placement) |
| int | mons_thrown_weapon_damage (const item_def *weap, bool only_returning_weapons) |
| int | mons_weapon_damage_rating (const item_def &launcher) |
| int | mons_missile_damage (monster *mons, const item_def *launch, const item_def *missile) |
| int | mons_pick_best_missile (monster *mons, item_def **launcher, bool ignore_melee) |
| int | mons_natural_regen_rate (monster *mons) |
| void | mons_check_pool (monster *mons, const coord_def &oldpos, killer_type killer, int killnum) |
| bool | monster_descriptor (int which_class, mon_desc_type which_descriptor) |
| monster * | get_current_target () |
| void | seen_monster (monster *mons) |
| bool | shift_monster (monster *mon, coord_def p) |
| int | dismiss_monsters (std::string pattern) |
| bool | is_item_jelly_edible (const item_def &item) |
| bool | monster_random_space (const monster *mons, coord_def &target, bool forbid_sanctuary) |
| bool | monster_random_space (monster_type mon, coord_def &target, bool forbid_sanctuary) |
| void | monster_teleport (monster *mons, bool instan, bool silent) |
| void | mons_clear_trapping_net (monster *mon) |
| std::string | summoned_poof_msg (const monster *mons, bool plural) |
| std::string | summoned_poof_msg (const int midx, const item_def &item) |
| std::string | summoned_poof_msg (const monster *mons, const item_def &item) |
| bool | mons_reaped (actor *killer, monster *victim) |
| beh_type | attitude_creation_behavior (mon_attitude_type att) |
| beh_type | actual_same_attitude (const monster &base) |
| void | mons_att_changed (monster *mon) |
| actor * | forest_near_enemy (const actor *mon) |
| void | forest_message (const coord_def pos, const std::string msg, msg_channel_type ch) |
| void | forest_damage (const actor *mon) |
| void | debuff_monster (monster *mon) |
| int | count_monsters (monster_type mtyp, bool friendlyOnly) |
| int | count_allies () |
| void alert_nearby_monsters | ( | void | ) |

| beh_type attitude_creation_behavior | ( | mon_attitude_type | att | ) |
| bool can_go_straight | ( | const coord_def & | p1, | |
| const coord_def & | p2, | |||
| dungeon_feature_type | allowed | |||
| ) |

| bool choose_any_monster | ( | const monster * | mon | ) |

| monster* choose_random_monster_on_level | ( | int | weight, | |
| bool(*)(const monster *mon) | suitable, | |||
| bool | in_sight, | |||
| bool | near_by, | |||
| bool | prefer_named, | |||
| bool | prefer_priest | |||
| ) |

| monster* choose_random_nearby_monster | ( | int | weight, | |
| bool(*)(const monster *mon) | suitable, | |||
| bool | in_sight, | |||
| bool | prefer_named, | |||
| bool | prefer_priest | |||
| ) |

| void corrode_monster | ( | monster * | mons | ) |

| int count_allies | ( | ) |
| int count_monsters | ( | monster_type | mtyp, | |
| bool | friendlyOnly | |||
| ) |

| bool curse_an_item | ( | bool | decay_potions, | |
| bool | quiet | |||
| ) |

| void debuff_monster | ( | monster * | mon | ) |

| int dismiss_monsters | ( | std::string | pattern | ) |

| int exp_rate | ( | int | killer | ) |

| bool feature_mimic_at | ( | const coord_def & | c | ) |

| monster_type fill_out_corpse | ( | const monster * | mons, | |
| monster_type | mtype, | |||
| item_def & | corpse, | |||
| bool | force_corpse | |||
| ) |

| void forest_damage | ( | const actor * | mon | ) |

| void forest_message | ( | const coord_def | pos, | |
| const std::string | msg, | |||
| msg_channel_type | ch | |||
| ) |

| monster* get_current_target | ( | ) |

| std::string get_damage_level_string | ( | mon_holy_type | holi, | |
| mon_dam_level_type | mdam | |||
| ) |
| int get_mimic_colour | ( | const monster * | mimic | ) |

| dungeon_feature_type get_mimic_feat | ( | const monster * | mimic | ) |

| std::string get_wounds_description | ( | const monster * | mons, | |
| bool | colour | |||
| ) |

| std::string get_wounds_description_sentence | ( | const monster * | mons | ) |

| bool is_any_item | ( | const item_def & | item | ) |
| bool is_item_jelly_edible | ( | const item_def & | item | ) |

| void make_mons_leave_level | ( | monster * | mon | ) |

| bool mon_can_be_slimified | ( | monster * | mons | ) |

| void mons_att_changed | ( | monster * | mon | ) |

| bool mons_avoids_cloud | ( | const monster * | mons, | |
| int | cloud_num, | |||
| bool | placement | |||
| ) |

| bool mons_avoids_cloud | ( | const monster * | mons, | |
| const cloud_struct & | cloud, | |||
| bool | placement | |||
| ) |

| void mons_check_pool | ( | monster * | mons, | |
| const coord_def & | oldpos, | |||
| killer_type | killer, | |||
| int | killnum | |||
| ) |

| void mons_clear_trapping_net | ( | monster * | mon | ) |

| mon_dam_level_type mons_get_damage_level | ( | const monster * | mons | ) |


| int mons_natural_regen_rate | ( | monster * | mons | ) |


| void mons_relocated | ( | monster * | mons | ) |

| int mons_thrown_weapon_damage | ( | const item_def * | weap, | |
| bool | only_returning_weapons | |||
| ) |

| int mons_weapon_damage_rating | ( | const item_def & | launcher | ) |

| bool monster_blink | ( | monster * | mons, | |
| bool | quiet | |||
| ) |


| void monster_cleanup | ( | monster * | mons | ) |

| bool monster_descriptor | ( | int | which_class, | |
| mon_desc_type | which_descriptor | |||
| ) |

| int monster_die | ( | monster * | mons, | |
| killer_type | killer, | |||
| int | killer_index, | |||
| bool | silent, | |||
| bool | wizard, | |||
| bool | fake | |||
| ) |
| void monster_drop_things | ( | monster * | mons, | |
| bool | mark_item_origins, | |||
| bool(*)(const item_def &item) | suitable, | |||
| int | owner_id | |||
| ) |

| bool monster_polymorph | ( | monster * | mons, | |
| monster_type | targetc, | |||
| poly_power_type | power, | |||
| bool | force_beh | |||
| ) |

| bool monster_random_space | ( | monster_type | mon, | |
| coord_def & | target, | |||
| bool | forbid_sanctuary | |||
| ) |


| void monster_teleport | ( | monster * | mons, | |
| bool | instan, | |||
| bool | silent | |||
| ) |

| int mounted_kill | ( | monster * | daddy, | |
| monster_type | mc, | |||
| killer_type | killer, | |||
| int | killer_index | |||
| ) |

| int place_monster_corpse | ( | const monster * | mons, | |
| bool | silent, | |||
| bool | force | |||
| ) |

| void print_wounds | ( | const monster * | mons | ) |

| void seen_monster | ( | monster * | mons | ) |


| bool simple_monster_message | ( | const monster * | mons, | |
| const char * | event, | |||
| msg_channel_type | channel, | |||
| int | param, | |||
| description_level_type | descrip | |||
| ) |

| void slimify_monster | ( | monster * | mon, | |
| bool | hostile | |||
| ) |

| std::string summoned_poof_msg | ( | const monster * | mons, | |
| const item_def & | item | |||
| ) |

| std::string summoned_poof_msg | ( | const int | midx, | |
| const item_def & | item | |||
| ) |

| std::string summoned_poof_msg | ( | const monster * | mons, | |
| bool | plural | |||
| ) |



| bool swap_places | ( | monster * | mons | ) |

1.5.6