/dports/audio/csound/csound-6.15.0/Opcodes/ |
H A D | moog1.c | 167 p->attk.wave = ftp; /* mandpluk */ in Moog1set() 175 p->attk.time = p->attk.phase = FL(0.0); in Moog1set() 196 p->attk.rate = p->baseFreq * FL(0.01) * p->attk.wave->flen * csound->onedsr; in Moog1() 237 p->attk.time += p->attk.rate; /* Update current time */ in Moog1() 240 p->attk.time, p->attk.rate); in Moog1() 242 temp_time = p->attk.time; in Moog1() 243 if (p->attk.time >= (MYFLT)p->attk.wave->flen) in Moog1() 253 output = p->attk.wave->ftable[itemp]; /* Do linear interpolation */ in Moog1() 258 output += (alpha * (p->attk.wave->ftable[itemp+1] - output)); in Moog1()
|
/dports/games/xnethack/xNetHack-xnh6.1/src/ |
H A D | mhitu.c | 216 if (!attk) { in expels() 274 && (attk->adtyp == AD_DISE || attk->adtyp == AD_PEST in getmattk() 278 attk = alt_attk_buf; in getmattk() 286 attk = alt_attk_buf; in getmattk() 310 attk = alt_attk_buf; in getmattk() 311 if (attk->adtyp == AD_ACID || attk->adtyp == AD_ELEC in getmattk() 312 || attk->adtyp == AD_COLD || attk->adtyp == AD_FIRE) { in getmattk() 319 attk->damd = 6; in getmattk() 322 attk->damn = attk->damd = 0; in getmattk() 331 && attk->aatyp == AT_WEAP && attk->adtyp != AD_PHYS in getmattk() [all …]
|
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/src/ |
H A D | mhitu.c | 232 if (!attk) { 292 && (attk->adtyp == AD_DISE || attk->adtyp == AD_PEST 296 attk = alt_attk_buf; 304 attk = alt_attk_buf; 322 attk = alt_attk_buf; 323 if (attk->adtyp == AD_ACID || attk->adtyp == AD_ELEC 324 || attk->adtyp == AD_COLD || attk->adtyp == AD_FIRE) { 331 attk->damd = 6; 339 && attk->aatyp == AT_WEAP && attk->adtyp != AD_PHYS 348 attk = alt_attk_buf; [all …]
|
H A D | artifact.c | 415 return (boolean) (weap->attk.adtyp == adtyp); 731 return (boolean) (weap->attk.adtyp == dtyp 762 return (weap->attk.adtyp == AD_PHYS); 786 && defends((int) weap->attk.adtyp, defending_weapon)) 788 switch (weap->attk.adtyp) { 835 if (weap && weap->attk.damn && spec_applies(weap, mon)) 836 return rnd((int) weap->attk.damn); 849 if (!weap || (weap->attk.adtyp == AD_PHYS /* check for `NO_ATTK' */ 850 && weap->attk.damn == 0 && weap->attk.damd == 0)) 860 return weap->attk.damd ? rnd((int) weap->attk.damd) : max(tmp, 1);
|
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/src/ |
H A D | mhitu.c | 232 if (!attk) { 292 && (attk->adtyp == AD_DISE || attk->adtyp == AD_PEST 296 attk = alt_attk_buf; 304 attk = alt_attk_buf; 322 attk = alt_attk_buf; 323 if (attk->adtyp == AD_ACID || attk->adtyp == AD_ELEC 324 || attk->adtyp == AD_COLD || attk->adtyp == AD_FIRE) { 331 attk->damd = 6; 339 && attk->aatyp == AT_WEAP && attk->adtyp != AD_PHYS 348 attk = alt_attk_buf; [all …]
|
H A D | artifact.c | 415 return (boolean) (weap->attk.adtyp == adtyp); 731 return (boolean) (weap->attk.adtyp == dtyp 762 return (weap->attk.adtyp == AD_PHYS); 786 && defends((int) weap->attk.adtyp, defending_weapon)) 788 switch (weap->attk.adtyp) { 835 if (weap && weap->attk.damn && spec_applies(weap, mon)) 836 return rnd((int) weap->attk.damn); 849 if (!weap || (weap->attk.adtyp == AD_PHYS /* check for `NO_ATTK' */ 850 && weap->attk.damn == 0 && weap->attk.damd == 0)) 860 return weap->attk.damd ? rnd((int) weap->attk.damd) : max(tmp, 1);
|
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/ |
H A D | fight.cc | 267 melee_attack attk(&you, defender); in fight_melee() local 270 attk.simu = true; in fight_melee() 279 && !wielded_weapon_check(attk.weapon)) in fight_melee() 285 if (!attk.attack()) in fight_melee() 288 if (attk.cancel_attack) in fight_melee() 290 return !attk.cancel_attack; in fight_melee() 294 *did_hit = attk.did_hit; in fight_melee()
|
H A D | mon-util.cc | 1861 switch (attk.type) in _downscale_zombie_attack() 1865 attk.type = AT_HIT; in _downscale_zombie_attack() 1872 attk.flavour = AF_COLD; in _downscale_zombie_attack() 1875 else if (attk.flavour != AF_REACH && attk.flavour != AF_CRUSH) in _downscale_zombie_attack() 1878 attk.damage = _downscale_zombie_damage(attk.damage); in _downscale_zombie_attack() 1880 return attk; in _downscale_zombie_attack() 2019 return attk; in mons_attack_spec() 2035 attk.type = AT_HIT; in mons_attack_spec() 2036 attk.damage *= 2; in mons_attack_spec() 2084 return zombified ? _downscale_zombie_attack(mon, attk, !base_flavour) : attk; in mons_attack_spec() [all …]
|
/dports/games/nethack34-nox11/nethack-3.4.3/src/ |
H A D | artifact.c | 320 return((boolean)(weap->attk.adtyp == adtyp)); 570 return(weap->attk.adtyp == AD_PHYS); 593 defends((int)weap->attk.adtyp, defending_weapon)) 595 switch(weap->attk.adtyp) { 639 if (weap && weap->attk.damn && spec_applies(weap, mon)) 640 return rnd((int)weap->attk.damn); 653 if (!weap || (weap->attk.adtyp == AD_PHYS && /* check for `NO_ATTK' */ 654 weap->attk.damn == 0 && weap->attk.damd == 0)) 660 return weap->attk.damd ? rnd((int)weap->attk.damd) : max(tmp,1);
|
/dports/games/nethack34/nethack-3.4.3/src/ |
H A D | artifact.c | 320 return((boolean)(weap->attk.adtyp == adtyp)); 570 return(weap->attk.adtyp == AD_PHYS); 593 defends((int)weap->attk.adtyp, defending_weapon)) 595 switch(weap->attk.adtyp) { 639 if (weap && weap->attk.damn && spec_applies(weap, mon)) 640 return rnd((int)weap->attk.damn); 653 if (!weap || (weap->attk.adtyp == AD_PHYS && /* check for `NO_ATTK' */ 654 weap->attk.damn == 0 && weap->attk.damd == 0)) 660 return weap->attk.damd ? rnd((int)weap->attk.damd) : max(tmp,1);
|
/dports/games/vultures-eye/vulture-2.3.67/unnethack/src/ |
H A D | artifact.c | 321 return((boolean)(weap->attk.adtyp == adtyp)); 587 return(weap->attk.adtyp == AD_PHYS); 610 defends((int)weap->attk.adtyp, defending_weapon)) 612 switch(weap->attk.adtyp) { 656 if (weap && weap->attk.damn && spec_applies(weap, mon)) 657 return rnd((int)weap->attk.damn); 670 if (!weap || (weap->attk.adtyp == AD_PHYS && /* check for `NO_ATTK' */ 671 weap->attk.damn == 0 && weap->attk.damd == 0)) 677 return weap->attk.damd ? rnd((int)weap->attk.damd) : max(tmp,1);
|
/dports/games/vultures-eye/vulture-2.3.67/nethack/src/ |
H A D | artifact.c | 320 return((boolean)(weap->attk.adtyp == adtyp)); 570 return(weap->attk.adtyp == AD_PHYS); 593 defends((int)weap->attk.adtyp, defending_weapon)) 595 switch(weap->attk.adtyp) { 639 if (weap && weap->attk.damn && spec_applies(weap, mon)) 640 return rnd((int)weap->attk.damn); 653 if (!weap || (weap->attk.adtyp == AD_PHYS && /* check for `NO_ATTK' */ 654 weap->attk.damn == 0 && weap->attk.damd == 0)) 660 return weap->attk.damd ? rnd((int)weap->attk.damd) : max(tmp,1);
|
/dports/games/vultures-eye/vulture-2.3.67/slashem/src/ |
H A D | artifact.c | 442 return((boolean)(weap->attk.adtyp == adtyp)); 698 return(weap->attk.adtyp == AD_PHYS); 729 defends((int)weap->attk.adtyp, defending_weapon)) 731 switch(weap->attk.adtyp) { 789 if (weap && weap->attk.damn && spec_applies(weap, mon)) 790 return (int)weap->attk.damn; 803 if (!weap || (weap->attk.adtyp == AD_PHYS && /* check for `NO_ATTK' */ 804 weap->attk.damn == 0 && weap->attk.damd == 0)) 810 return weap->attk.damd ? (int)weap->attk.damd : 1842 switch (artilist[(int) (obj)->oartifact].attk.adtyp) {
|
/dports/games/unnethack/unnethack-5.1.0-20131208/src/ |
H A D | artifact.c | 310 return((boolean)(weap->attk.adtyp == adtyp)); 699 return(weap->attk.adtyp == AD_PHYS); 722 defends((int)weap->attk.adtyp, defending_weapon)) 724 switch(weap->attk.adtyp) { 768 if (weap && weap->attk.damn && spec_applies(weap, mon)) 769 return rnd((int)weap->attk.damn); 786 if (!weap || (weap->attk.adtyp == AD_PHYS && /* check for `NO_ATTK' */ 787 weap->attk.damn == 0 && weap->attk.damd == 0)) 793 return weap->attk.damd ? rnd((int)weap->attk.damd) : max(tmp,1);
|
/dports/games/nethack33/nethack-3.3.1/src/ |
H A D | artifact.c | 287 return((boolean)(weap->attk.adtyp == adtyp)); 534 return(weap->attk.adtyp == AD_PHYS); 556 defends((int)weap->attk.adtyp, defending_weapon)) 558 switch(weap->attk.adtyp) { 600 return weap->attk.damn ? rnd((int)weap->attk.damn) : 0; 614 return weap->attk.damd ? rnd((int)weap->attk.damd) : max(tmp,1);
|
/dports/games/nethack33-nox11/nethack-3.3.1/src/ |
H A D | artifact.c | 287 return((boolean)(weap->attk.adtyp == adtyp)); 534 return(weap->attk.adtyp == AD_PHYS); 556 defends((int)weap->attk.adtyp, defending_weapon)) 558 switch(weap->attk.adtyp) { 600 return weap->attk.damn ? rnd((int)weap->attk.damn) : 0; 614 return weap->attk.damd ? rnd((int)weap->attk.damd) : max(tmp,1);
|
/dports/games/falconseye/falconseye-1.9.3_11/src/ |
H A D | artifact.c | 287 return((boolean)(weap->attk.adtyp == adtyp)); 534 return(weap->attk.adtyp == AD_PHYS); 556 defends((int)weap->attk.adtyp, defending_weapon)) 558 switch(weap->attk.adtyp) { 600 return weap->attk.damn ? rnd((int)weap->attk.damn) : 0; 614 return weap->attk.damd ? rnd((int)weap->attk.damd) : max(tmp,1);
|
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/include/ |
H A D | artifact.h | 50 struct attack attk, defn, cary; member
|
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/include/ |
H A D | artifact.h | 50 struct attack attk, defn, cary; member
|
/dports/games/xnethack/xNetHack-xnh6.1/include/ |
H A D | artifact.h | 48 struct attack attk, defn, cary; member
|
/dports/games/nethack33-nox11/nethack-3.3.1/include/ |
H A D | artifact.h | 45 struct attack attk, defn, cary; member
|
/dports/games/nethack34/nethack-3.4.3/include/ |
H A D | artifact.h | 45 struct attack attk, defn, cary; member
|
/dports/games/nethack34-nox11/nethack-3.4.3/include/ |
H A D | artifact.h | 45 struct attack attk, defn, cary; member
|
/dports/games/nethack33/nethack-3.3.1/include/ |
H A D | artifact.h | 45 struct attack attk, defn, cary; member
|
/dports/games/falconseye/falconseye-1.9.3_11/include/ |
H A D | artifact.h | 45 struct attack attk, defn, cary; member
|