/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | mon-ench.cc | 95 if (e.ench == ench) in has_ench() 154 if (ench.ench != ENCH_NONE) in update_ench() 164 if (ench.ench == ENCH_NONE) in add_ench() 175 if (ench.ench == ENCH_SHAPESHIFTER) in add_ench() 193 added = &(enchantments[ench.ench] = ench); in add_ench() 194 ench_cache.set(ench.ench, true); in add_ench() 205 if (ench.ench == ENCH_CHARM in add_ench() 206 || ench.ench == ENCH_NEUTRAL_BRIBED in add_ench() 208 || ench.ench == ENCH_HEXED) in add_ench() 218 switch (ench.ench) in add_enchantment_effect() [all …]
|
H A D | mon-ench.h | 19 enchant_type ench; 45 return ench < other.ench; 51 return ench == other.ench;
|
H A D | mon-info.cc | 129 if (mons.paralysed() && (ench == ENCH_SLOW || ench == ENCH_HASTE in ench_to_mb() 130 || ench == ENCH_SWIFT in ench_to_mb() 131 || ench == ENCH_PETRIFIED in ench_to_mb() 132 || ench == ENCH_PETRIFYING)) in ench_to_mb() 137 if (ench == ENCH_PETRIFIED && mons.has_ench(ENCH_PETRIFYING)) in ench_to_mb() 148 switch (ench) in ench_to_mb() 160 const bool heavily_drained = mons.get_ench(ench).degree in ench_to_mb() 169 if (mons.get_ench(ench).degree == 1) in ench_to_mb() 1667 bool monster_info::has_trivial_ench(enchant_type ench) const in has_trivial_ench() 1685 [this](enchant_type ench) -> bool in debuffable() [all …]
|
H A D | monster.h | 193 bool has_ench(enchant_type ench) const; // same but validated 195 bool has_ench(enchant_type ench) const { return ench_cache[ench]; } in has_ench() argument 197 bool has_ench(enchant_type ench, enchant_type ench2) const; 198 mon_enchant get_ench(enchant_type ench, 202 bool del_ench(enchant_type ench, bool quiet = false, bool effect = true);
|
H A D | god-blessing.cc | 493 mon_enchant ench, in _increase_ench_duration() argument 499 const int newdur = min(ench.duration + increase, MARSHALL_MAX); in _increase_ench_duration() 500 if (ench.duration >= newdur) in _increase_ench_duration() 503 ench.duration = newdur; in _increase_ench_duration() 504 mon->update_ench(ench); in _increase_ench_duration()
|
H A D | mon-clone.cc | 169 const enchant_type ench = in _mons_load_player_enchantments() local 171 if (ench == ENCH_NONE) in _mons_load_player_enchantments() 173 target->add_ench(mon_enchant(ench, in _mons_load_player_enchantments()
|
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/src/ |
H A D | relic.cpp | 101 if( ench.add( nench ) ) { in add_passive_effect() 326 enchantment ench; in load() local 327 ench.load( jobj ); in load() 328 if( !ench.id.is_empty() ) { in load() 329 ench = ench.id.obj(); in load() 331 add_passive_effect( ench ); in load() 360 ench.serialize( jsout ); in serialize() 586 enchantment ench; in generate() local 613 enchantment ench; in generate() local 640 enchantment ench; in generate() local [all …]
|
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/src/ |
H A D | relic.cpp | 101 if( ench.add( nench ) ) { in add_passive_effect() 326 enchantment ench; in load() local 327 ench.load( jobj ); in load() 328 if( !ench.id.is_empty() ) { in load() 329 ench = ench.id.obj(); in load() 331 add_passive_effect( ench ); in load() 360 ench.serialize( jsout ); in serialize() 586 enchantment ench; in generate() local 613 enchantment ench; in generate() local 640 enchantment ench; in generate() local [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/saga2/ |
H A D | enchant.cpp | 50 GameObject *ench; in EnchantObject() local 60 if (ench == NULL) return Nothing; in EnchantObject() 70 ench->setScript(0); in EnchantObject() 71 ench->setFlags(0, (uint8) - 1); in EnchantObject() 72 ench->setHitPoints(duration); in EnchantObject() 73 ench->setExtra(enchantmentType); in EnchantObject() 74 ench->setProtoNum(enchantmentProto); in EnchantObject() 78 ench->move(Location(slot, target)); in EnchantObject() 83 assert((ench->protoAddress(ench->thisID()))->containmentSet() & ProtoObj::isEnchantment); in EnchantObject() 84 return ench->thisID(); in EnchantObject() [all …]
|
/dports/games/nazghul/nazghul-0.7.1/worlds/haxima-1.002/ |
H A D | enchanter.scm | 51 (let ((ench (gob knpc))) 85 (quest-done! (ench-quest ench 3) #t) 124 (quest-accepted! (ench-second-quest ench) #f) 128 (quest-accepted! (ench-second-quest ench) #t) 165 (quest-done! (ench-second-quest ench) #t) 184 (quest-accepted! (ench-quest ench 3) #t) 214 (quest-offered! (ench-second-quest ench) #t) 227 (if (ench-met? ench) 228 (if (quest-done? (ench-quest ench 4)) 246 (ench-met! ench #t))))) [all …]
|
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-enc.c | 82 struct enchdr ench; in dissect_enc() local 103 ench.af = tvb_get_h_guint32(tvb, 0); in dissect_enc() 104 if ((ench.af & 0xFFFF0000) != 0) { in dissect_enc() 113 ench.af = GUINT32_SWAP_LE_BE(ench.af); in dissect_enc() 120 ench.spi = tvb_get_ntohl(tvb, 4); in dissect_enc() 126 val_to_str(ench.af, af_vals, "unknown (%u)"), in dissect_enc() 127 ench.spi); in dissect_enc() 137 if (!dissector_try_uint(enc_dissector_table, ench.af, next_tvb, pinfo, tree)) in dissect_enc()
|
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-enc.c | 82 struct enchdr ench; in dissect_enc() local 103 ench.af = tvb_get_h_guint32(tvb, 0); in dissect_enc() 104 if ((ench.af & 0xFFFF0000) != 0) { in dissect_enc() 113 ench.af = GUINT32_SWAP_LE_BE(ench.af); in dissect_enc() 120 ench.spi = tvb_get_ntohl(tvb, 4); in dissect_enc() 126 val_to_str(ench.af, af_vals, "unknown (%u)"), in dissect_enc() 127 ench.spi); in dissect_enc() 137 if (!dissector_try_uint(enc_dissector_table, ench.af, next_tvb, pinfo, tree)) in dissect_enc()
|
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-enc.c | 82 struct enchdr ench; in dissect_enc() local 103 ench.af = tvb_get_h_guint32(tvb, 0); in dissect_enc() 104 if ((ench.af & 0xFFFF0000) != 0) { in dissect_enc() 113 ench.af = GUINT32_SWAP_LE_BE(ench.af); in dissect_enc() 120 ench.spi = tvb_get_ntohl(tvb, 4); in dissect_enc() 126 val_to_str(ench.af, af_vals, "unknown (%u)"), in dissect_enc() 127 ench.spi); in dissect_enc() 137 if (!dissector_try_uint(enc_dissector_table, ench.af, next_tvb, pinfo, tree)) in dissect_enc()
|
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/ |
H A D | packet-enc.c | 82 struct enchdr ench; in dissect_enc() local 103 ench.af = tvb_get_h_guint32(tvb, 0); in dissect_enc() 104 if ((ench.af & 0xFFFF0000) != 0) { in dissect_enc() 113 ench.af = GUINT32_SWAP_LE_BE(ench.af); in dissect_enc() 120 ench.spi = tvb_get_ntohl(tvb, 4); in dissect_enc() 126 val_to_str(ench.af, af_vals, "unknown (%u)"), in dissect_enc() 127 ench.spi); in dissect_enc() 137 if (!dissector_try_uint(enc_dissector_table, ench.af, next_tvb, pinfo, tree)) in dissect_enc()
|
/dports/audio/re/re-0.5.8/src/rtp/ |
H A D | pkt.c | 139 rtcp_encode_h *ench; in rtcp_vencode() local 156 ench = va_arg(ap, rtcp_encode_h *); in rtcp_vencode() 158 if (ench) in rtcp_vencode() 159 err |= ench(mb, arg); in rtcp_vencode() 164 ench = va_arg(ap, rtcp_encode_h *); in rtcp_vencode() 166 if (ench) in rtcp_vencode() 167 err |= ench(mb, arg); in rtcp_vencode() 173 if (ench) in rtcp_vencode() 174 err |= ench(mb, arg); in rtcp_vencode() 219 if (ench) in rtcp_vencode() [all …]
|
/dports/games/dungeoncrawl/dc400b26-src/source/ |
H A D | mon-util.cc | 1375 if (ench == ENCH_NONE) in mons_has_ench() 1376 return (ench); in mons_has_ench() 1379 ench2 = ench; in mons_has_ench() 1398 if (ench == ENCH_NONE) in mons_del_ench() 1402 ench2 = ench; in mons_del_ench() 1425 if (ench == ENCH_SLOW) in mons_del_ench() 1433 if (ench == ENCH_FEAR) in mons_del_ench() 1485 if (ench == ENCH_STICKY_FLAME_I || ench == ENCH_YOUR_STICKY_FLAME_I) in mons_del_ench() 1491 if (ench == ENCH_POISON_I || ench == ENCH_YOUR_POISON_I) in mons_del_ench() 1509 if (ench == ENCH_NONE) in mons_add_ench() [all …]
|
H A D | spells4.cc | 1030 if (ench != ENCH_NONE) in ignite_poison_monsters() 1035 if (ench != ENCH_NONE) in ignite_poison_monsters() 2206 int ench; in rot_living() local 2219 if (ench >= 50) in rot_living() 2221 else if (ench >= 35) in rot_living() 2223 else if (ench >= 20) in rot_living() 2226 ench = ENCH_YOUR_ROT_I; in rot_living() 2238 int ench; in rot_undead() local 2285 if (ench >= 50) in rot_undead() 2287 else if (ench >= 35) in rot_undead() [all …]
|
H A D | mon-util.h | 449 int mons_has_ench( struct monsters *mon, unsigned int ench, 452 int mons_del_ench( struct monsters *mon, unsigned int ench, 455 bool mons_add_ench( struct monsters *mon, unsigned int ench );
|
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwgui/ |
H A D | sortfilteritemmodel.cpp | 90 …const ESM::Enchantment* ench = MWBase::Environment::get().getWorld()->getStore().get<ESM::Enchantm… in operator ()() local 91 if (ench) in operator ()() 93 if (ench->mData.mType == ESM::Enchantment::ConstantEffect) in operator ()() 96 …= static_cast<int>(left.mBase.getCellRef().getNormalizedEnchantmentCharge(ench->mData.mCharge) * 1… in operator ()() 102 …const ESM::Enchantment* ench = MWBase::Environment::get().getWorld()->getStore().get<ESM::Enchantm… in operator ()() local 103 if (ench) in operator ()() 105 if (ench->mData.mType == ESM::Enchantment::ConstantEffect) in operator ()() 108 … static_cast<int>(right.mBase.getCellRef().getNormalizedEnchantmentCharge(ench->mData.mCharge) * 1… in operator ()() 276 …const ESM::Enchantment* ench = MWBase::Environment::get().getWorld()->getStore().get<ESM::Enchantm… in filterAccepts() local 277 if (!ench) in filterAccepts() [all …]
|
H A D | itemchargeview.cpp | 189 …const ESM::Enchantment* ench = MWBase::Environment::get().getWorld()->getStore().get<ESM::Enchantm… in updateLine() local 190 if (!ench) in updateLine() 195 ench->mData.mCharge); in updateLine()
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/dialog/ |
H A D | dialog_frameborder.cpp | 68 void Dialog::FrameBorder::SetPosition( int32_t posx, int32_t posy, uint32_t encw, uint32_t ench ) in SetPosition() argument 75 if ( encw > 0 && ench > 0 ) { in SetPosition() 77 rect.height = ench + 2 * border; in SetPosition() 82 area.height = ench; in SetPosition()
|
/dports/audio/re/re-0.5.8/src/sdp/ |
H A D | format.c | 54 uint32_t srate, uint8_t ch, sdp_fmtp_enc_h *ench, in sdp_format_add() argument 103 fmt->ench = ench; in sdp_format_add()
|
/dports/audio/re/re-0.5.8/include/ |
H A D | re_sdp.h | 50 sdp_fmtp_enc_h *ench; member 91 void sdp_media_set_encode_handler(struct sdp_media *m, sdp_media_enc_h *ench, 141 uint32_t srate, uint8_t ch, sdp_fmtp_enc_h *ench,
|
/dports/audio/baresip/baresip-0.5.8/modules/av1/ |
H A D | av1.c | 24 .ench = av1_encode,
|
/dports/audio/baresip/baresip-0.5.8/modules/daala/ |
H A D | daala.c | 34 .ench = daala_encode,
|