/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | mon-util.h | 234 bool mons_is_job(monster_type mc); 239 int mons_avg_hp(monster_type mc); 240 int mons_max_hp(monster_type mc, monster_type mbase_typeg = MONS_NO_MONSTER); 246 int mons_class_willpower(monster_type type, monster_type base); 247 bool mons_class_sees_invis(monster_type type, monster_type base); 289 habitat_type mons_habitat_type(monster_type t, monster_type base_t, 336 int mons_power(monster_type mc); 398 monster_type mons_genus(monster_type mc); 399 monster_type mons_species(monster_type mc); 401 monster_type draco_or_demonspawn_subspecies(monster_type type, [all …]
|
H A D | mon-place.h | 41 bool needs_resolution(monster_type mon_type); 43 monster_type resolve_monster_type(monster_type mon_type, 44 monster_type &base_type, 52 monster_type fixup_zombie_type(const monster_type cls, 78 monster_type pick_local_corpsey_monster(level_id place); 82 void define_zombie(monster* mon, monster_type ztype, monster_type cs); 88 monster_type pick_random_monster(level_id place, 93 conduct_type god_hates_monster(monster_type type); 95 bool mons_can_hate(monster_type type); 102 monster_type random_demon_by_tier(int tier); [all …]
|
H A D | mon-pick.h | 12 typedef random_pick_entry<monster_type> pop_entry; 14 typedef bool (*mon_pick_vetoer)(monster_type); 15 typedef bool (*mon_pick_pos_vetoer)(monster_type, coord_def); 18 int monster_probability(level_id place, monster_type m); 19 int monster_pop_depth_avg(branch_type branch, monster_type m); 24 monster_type pick_monster_no_rarity(branch_type branch); 44 monster_type none, 47 virtual bool veto(monster_type mon) override; 60 virtual bool veto(monster_type mon) override; 77 virtual bool veto(monster_type mon) override; [all …]
|
H A D | mon-tentacle.h | 12 bool mons_is_tentacle_head(monster_type mc); 13 bool mons_is_child_tentacle(monster_type mc); 14 bool mons_is_child_tentacle_segment(monster_type mc); 15 bool mons_is_solo_tentacle(monster_type mc); 16 bool mons_is_tentacle(monster_type mc); 17 bool mons_is_tentacle_segment(monster_type mc); 18 bool mons_is_tentacle_or_tentacle_segment(monster_type mc); 20 monster_type mons_tentacle_parent_type(const monster* mons); 21 monster_type mons_tentacle_child_type(const monster* mons);
|
H A D | mon-pick.cc | 45 monster_type pick_monster_no_rarity(branch_type branch) in pick_monster_no_rarity() 53 monster_type pick_monster_by_hash(branch_type branch, uint32_t hash) in pick_monster_by_hash() 61 monster_type pick_monster(level_id place, mon_pick_vetoer veto) in pick_monster() 76 monster_type pick_monster_from(const vector<pop_entry>& fpop, int depth, in pick_monster_from() 95 bool monster_picker::veto(monster_type mon) in veto() 100 bool positioned_monster_picker::veto(monster_type mon) in veto() 124 monster_type valid[NUM_MONSTERS]; in pick_monster_all_branches() 146 monster_type mons = pop.value; in pick_monster_all_branches() 218 int monster_probability(level_id place, monster_type m) in monster_probability() 227 int monster_pop_depth_avg(branch_type branch, monster_type m) in monster_pop_depth_avg() [all …]
|
H A D | mon-util.cc | 209 const monster_type mon = monster_type(mtype); in init_mon_name_cache() 1312 monster_type mons_genus(monster_type mc) in mons_genus() 1334 monster_type mons_species(monster_type mc) in mons_species() 1340 monster_type draco_or_demonspawn_subspecies(monster_type type, in draco_or_demonspawn_subspecies() 1368 monster_type mons_detected_base(monster_type mc) in mons_detected_base() 2317 int mons_class_willpower(monster_type type, monster_type base) in mons_class_willpower() 2341 bool mons_class_sees_invis(monster_type type, monster_type base) in mons_class_sees_invis() 2390 int mons_max_hp(monster_type mc, monster_type mbase_type) in mons_max_hp() 2610 static monster_type _random_mons_between(monster_type min, monster_type max) in _random_mons_between() 3350 habitat_type mons_habitat_type(monster_type t, monster_type base_t, in mons_habitat_type() [all …]
|
H A D | mgen-data.h | 25 monster_type cls; 68 monster_type base_type; 94 monster_type initial_shifter; 119 mgen_data(monster_type mt = RANDOM_MONSTER, 158 mgen_data &set_base(monster_type base) in set_base() 202 static mgen_data sleeper_at(monster_type what, 209 static mgen_data hostile_at(monster_type mt,
|
H A D | mon-tentacle.cc | 29 static monster_type _head_child_segment[][3] = 37 static monster_type _solo_tentacle_to_segment[][2] = 44 monster_type type) in _segment_data() 54 bool mons_is_tentacle_head(monster_type mc) in mons_is_tentacle_head() 63 bool mons_is_child_tentacle(monster_type mc) in mons_is_child_tentacle() 72 bool mons_is_child_tentacle_segment(monster_type mc) in mons_is_child_tentacle_segment() 81 bool mons_is_solo_tentacle(monster_type mc) in mons_is_solo_tentacle() 90 bool mons_is_tentacle(monster_type mc) in mons_is_tentacle() 95 bool mons_is_tentacle_segment(monster_type mc) in mons_is_tentacle_segment() 111 const monster_type mc = mons_base_type(*mons); in mons_tentacle_parent_type() [all …]
|
H A D | mon-poly.cc | 194 static bool _jiyva_slime_target(monster_type targetc) in _jiyva_slime_target() 302 const monster_type type = mons_is_job(mons->type) in change_monster_type() 425 monster_type new_type) in _habitat_matches() 472 map<monster_type, int> weights; in init_poly_set() 473 for (monster_type mt = MONS_0; mt < NUM_MONSTERS; ++mt) in init_poly_set() 478 const monster_type species = mons_species(mt); in init_poly_set() 507 const monster_type *chosen = random_choose_weighted<map<monster_type,int>>(weights); in init_poly_set() 514 static monster_type _poly_from_set(monster *mons) in _poly_from_set() 587 monster_type oldc = mons->type; in monster_polymorph() 591 vector<monster_type> target_types; in monster_polymorph() [all …]
|
H A D | mon-place.cc | 147 bool monster_habitable_grid(monster_type mt, in monster_habitable_grid() 367 static bool _has_big_aura(monster_type mt) in _has_big_aura() 438 monster_type resolve_monster_type(monster_type mon_type, in resolve_monster_type() 555 monster_type fixup_zombie_type(const monster_type cls, in fixup_zombie_type() 1532 static bool _good_zombie(monster_type base, monster_type cs, in _good_zombie() 1654 void define_zombie(monster* mon, monster_type ztype, monster_type cs) in define_zombie() 2865 bool mons_can_hate(monster_type type) in mons_can_hate() 3054 monster_type summon_any_demon(monster_type dct, bool use_local_demons) in summon_any_demon() 3061 monster_type typ = MONS_0; in summon_any_demon() 3238 monster_type type = static_cast<monster_type>(type_vec[i].get_int()); in _get_vault_mon_list() [all …]
|
H A D | mon-grow.h | 15 monster_type before, after; 21 monster_level_up(monster_type _before, monster_type _after,
|
H A D | show.h | 53 monster_type mons; 60 show_type(monster_type montype); 72 monster_type mons;
|
H A D | bloodspatter.h | 8 void bleed_onto_floor(const coord_def& where, monster_type mon, int damage, 12 void blood_spray(const coord_def& where, monster_type mon, int level);
|
H A D | mon-death.h | 46 item_def* mounted_kill(monster* daddy, monster_type mc, killer_type killer, 54 int mummy_curse_power(monster_type type); 70 bool mons_is_mons_class(const monster* mons, monster_type type);
|
H A D | mon-gear.h | 16 int make_mons_weapon(monster_type mtyp, int level, bool melee_only = false); 18 int make_mons_armour(monster_type mtyp, int level);
|
H A D | mon-info.h | 208 monster_type type; 209 monster_type base_type; 265 explicit monster_info(monster_type p_type, 266 monster_type p_base_type = MONS_NO_MONSTER); 340 monster_type draco_or_demonspawn_subspecies() const;
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/tests/ |
H A D | monster_test.cpp | 34 static int moves_to_destination( const std::string &monster_type, in moves_to_destination() argument 39 monster &test_monster = spawn_test_monster( monster_type, start ); in moves_to_destination() 91 static int can_catch_player( const std::string &monster_type, const tripoint &direction_of_flight ) in can_catch_player() argument 107 monster &test_monster = spawn_test_monster( monster_type, monster_start ); in can_catch_player() 166 static void check_shamble_speed( const std::string &monster_type, const tripoint &destination ) in check_shamble_speed() argument 172 INFO( monster_type << " " << destination ); in check_shamble_speed() 176 move_stats.add( moves_to_destination( monster_type, tripoint_zero, destination ) ); in check_shamble_speed() 189 static void test_moves_to_squares( const std::string &monster_type, const bool write_data = false ) in test_moves_to_squares() argument 234 INFO( "Monster:" << monster_type << " Dist: " << stat_pair.first << " moves: " << in test_moves_to_squares() 239 INFO( "Monster:" << monster_type << " Slope: " << stat_pair.first << in test_moves_to_squares() [all …]
|
H A D | monster_attack_test.cpp | 54 const std::string monster_type = "mon_zombie"; in test_monster_attack() local 63 monster &test_monster = spawn_test_monster( monster_type, attacker_location ); in test_monster_attack() 80 monster &target_monster = spawn_test_monster( monster_type, target_location ); in test_monster_attack() 182 const std::string monster_type = "mon_feral_human_pipe"; variable 183 monster &test_monster = spawn_test_monster( monster_type, attacker_location );
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/tests/ |
H A D | monster_test.cpp | 34 static int moves_to_destination( const std::string &monster_type, in moves_to_destination() argument 39 monster &test_monster = spawn_test_monster( monster_type, start ); in moves_to_destination() 91 static int can_catch_player( const std::string &monster_type, const tripoint &direction_of_flight ) in can_catch_player() argument 107 monster &test_monster = spawn_test_monster( monster_type, monster_start ); in can_catch_player() 166 static void check_shamble_speed( const std::string &monster_type, const tripoint &destination ) in check_shamble_speed() argument 172 INFO( monster_type << " " << destination ); in check_shamble_speed() 176 move_stats.add( moves_to_destination( monster_type, tripoint_zero, destination ) ); in check_shamble_speed() 189 static void test_moves_to_squares( const std::string &monster_type, const bool write_data = false ) in test_moves_to_squares() argument 234 INFO( "Monster:" << monster_type << " Dist: " << stat_pair.first << " moves: " << in test_moves_to_squares() 239 INFO( "Monster:" << monster_type << " Slope: " << stat_pair.first << in test_moves_to_squares() [all …]
|
H A D | monster_attack_test.cpp | 54 const std::string monster_type = "mon_zombie"; in test_monster_attack() local 63 monster &test_monster = spawn_test_monster( monster_type, attacker_location ); in test_monster_attack() 80 monster &target_monster = spawn_test_monster( monster_type, target_location ); in test_monster_attack() 182 const std::string monster_type = "mon_feral_human_pipe"; variable 183 monster &test_monster = spawn_test_monster( monster_type, attacker_location );
|
/dports/games/zangband/zangband/src/ |
H A D | monster2.c | 90 monster_type *m_ptr = &m_list[i]; in delete_monster_idx() 134 (void)WIPE(m_ptr, monster_type); in delete_monster_idx() 171 monster_type *m_ptr; in compact_monsters_aux() 333 (void)WIPE(m_ptr, monster_type); in wipe_m_list() 363 monster_type *m_ptr; in wipe_monsters() 413 monster_type *m_ptr; in m_pop() 1217 const monster_type *m_ptr; in monster_fmt() 1690 monster_type *m_ptr; in place_monster_one() 2089 monster_type *m_ptr; in place_monster_aux() 2706 monster_type *m_ptr = NULL; in summon_named_creature() [all …]
|
/dports/games/freeorion/freeorion-0.4.10.2/default/python/turn_events/ |
H A D | turn_events.py | 48 monster_type = "SM_KRILL_1" 50 monster_type = "SM_FLOATER" 58 print("...creating new", monster_type, "at", fo.get_name(system)) 67 monster = fo.create_monster(monster_type, monster_fleet)
|
/dports/games/alephone/alephone-release-20190331/Source_Files/Lua/ |
H A D | lua_monsters.cpp | 88 int monster_type = Lua_MonsterType_Enemies::Index(L, 1); in Lua_MonsterType_Enemies_Get() local 91 monster_definition *definition = get_monster_definition_external(monster_type); in Lua_MonsterType_Enemies_Get() 101 int monster_type = Lua_MonsterType_Enemies::Index(L, 1); in Lua_MonsterType_Enemies_Set() local 128 int monster_type = Lua_MonsterType_Friends::Index(L, 1); in Lua_MonsterType_Friends_Get() local 141 int monster_type = Lua_MonsterType_Friends::Index(L, 1); in Lua_MonsterType_Friends_Set() local 168 int monster_type = Lua_MonsterType_Immunities::Index(L, 1); in Lua_MonsterType_Immunities_Get() local 181 int monster_type = Lua_MonsterType_Immunities::Index(L, 1); in Lua_MonsterType_Immunities_Set() local 209 int monster_type = Lua_MonsterType_Weaknesses::Index(L, 1); in Lua_MonsterType_Weaknesses_Get() local 222 int monster_type = Lua_MonsterType_Weaknesses::Index(L, 1); in Lua_MonsterType_Weaknesses_Set() local 990 short monster_type = Lua_MonsterType::ToIndex(L, 5); in Lua_Monsters_New() local [all …]
|
/dports/games/mangband/mangband-1.5.3/src/server/ |
H A D | monster2.c | 56 monster_type *m_ptr = &m_list[i]; in delete_monster_idx() 109 WIPE(m_ptr, monster_type); in delete_monster_idx() 141 monster_type *m_ptr; in compact_monsters_aux() 241 monster_type *m_ptr = &m_list[i]; in compact_monsters() 282 monster_type *m_ptr = &m_list[i]; in compact_monsters() 326 monster_type *m_ptr = &m_list[i]; in wipe_m_list() 342 WIPE(m_ptr, monster_type); in wipe_m_list() 364 monster_type *m_ptr = &m_list[i]; in wipe_m_list() 523 monster_type *m_ptr; in get_mon_num() 732 monster_type *m_ptr; in display_monlist() [all …]
|
/dports/games/moria/umoria/source/ |
H A D | monsters.c | 780 monster_type m_list[MAX_MALLOC]; 784 monster_type blank_monster = {0,0,0,0,0,0,0,FALSE,0,FALSE};
|