Searched refs:mons_habitat (Results 1 – 8 of 8) sorted by relevance
32 const bool amphibious = (mons_habitat(*mon) == HT_AMPHIBIOUS); in _mark_neighbours_target_unreachable()33 const bool amph_lava = (mons_habitat(*mon) == HT_AMPHIBIOUS_LAVA); in _mark_neighbours_target_unreachable()62 || !amphibious && mons_habitat(*m) == HT_AMPHIBIOUS in _mark_neighbours_target_unreachable()63 || !amph_lava && mons_habitat(*m) == HT_AMPHIBIOUS_LAVA) in _mark_neighbours_target_unreachable()
1448 ASSERT(mons_habitat(*this) == HT_WATER || mons_habitat(*this) == HT_LAVA); in apply_enchantment()
291 habitat_type mons_habitat(const monster& mon, bool real_amphibious = false);
467 const habitat_type hab = mons_habitat(mons); in debug_stethoscope()
301 && mons_habitat(*this, true) != HT_AMPHIBIOUS in floundering_at()3826 habitat_type hab = mons_habitat(*this, true); in res_water_drowning()5453 && (mons_habitat(*this) == HT_WATER || mons_habitat(*this) == HT_LAVA) in apply_location_effects()
212 switch (mons_habitat(*mon)) in monster_can_submerge()
1875 && mons_habitat(*callee) != HT_WATER in _valid_druids_call_target()1876 && mons_habitat(*callee) != HT_LAVA in _valid_druids_call_target()
3357 habitat_type mons_habitat(const monster& mon, bool real_amphibious) in mons_habitat() function