/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/ |
H A D | actors1.c | 739 r1 = TRAND; in lotsofmoney() 740 r2 = TRAND; in lotsofmoney() 752 r1 = TRAND; in lotsofmail() 753 r2 = TRAND; in lotsofmail() 765 r1 = TRAND; in lotsofpaper() 766 r2 = TRAND; in lotsofpaper() 837 r1 = TRAND; in guts() 838 r2 = TRAND; in guts() 839 r3 = TRAND; in guts() 840 r4 = TRAND; in guts() [all …]
|
H A D | player1.c | 115 n = 128-(TRAND&255); in forceplayerangle() 145 … EGS(sect,x1,y1,z1,WATERBUBBLE,-32,4+(TRAND&3),4+(TRAND&3),TRAND&2047,0,0,ps[0].i,5); in tracers() 350 sa += 64 - (TRAND&127); in shoot() 352 zvel = 1024-(TRAND&2047); in shoot() 577 sa += 32-(TRAND&63); in shoot() 627 if (TRAND&1) in shoot() 775 if( (TRAND&255) < 10 ) in shoot() 831 sa -= (TRAND&16); in shoot() 833 sa += 16-(TRAND&31); in shoot() 920 sa -= (TRAND&31); in shoot() [all …]
|
H A D | game9.c | 164 global_random = TRAND; in domovethings() 1144 …EGS(sect,x,y,z-(TRAND&8191),GLASSPIECES+(z&(TRAND%3)),-32,36,36,a+128-(TRAND&255),16+(TRAND&31),0,… in vglass() 1190 EGS(SECT,x1,y1,z,GLASSPIECES+(j%3),-32,36,36,a,32+(TRAND&63),-(TRAND&1023),i,5); in lotsofglass() 1207 EGS(SECT,SX,SY,SZ,POPCORN,-32,36,36,a,32+(TRAND&63),1024-(TRAND&1023),i,5); in lotsofpopcorn() 1238 EGS(SECT,x1,y1,z,POPCORN,-32,36,36,a,32+(TRAND&63),-(TRAND&1023),i,5); in lotsofpopcorn() 1249 a = TRAND&2047; in spriteglass() 1250 z = SZ-((TRAND&16)<<8); in spriteglass() 1251 … k = EGS(SECT,SX,SY,z,GLASSPIECES+(j%3),TRAND&15,36,36,a,32+(TRAND&63),-512-(TRAND&2047),i,5); in spriteglass() 1276 a = TRAND&2047; in ceilingglass() 1294 a = TRAND&2047; in lotsofcolourglass() [all …]
|
H A D | DUKE3D.H | 117 r1 = TRAND; \ 118 r2 = TRAND; \ 119 r3 = TRAND; \ 120 r4 = TRAND; \ 121 r5 = TRAND; \ 122 r6 = TRAND; \ 123 r7 = TRAND; \ 127 …sectnum,s->x+(TRAND&255)-128,s->y+(TRAND&255)-128,s->z-(8<<8)-(TRAND&8191),SCRAP6+(TRAND&15),-8,16… 214 #define TRAND krand() macro 268 #define rnd(X) ((TRAND>>8)>=(255-(X)))
|
H A D | actors5.c | 79 s->z += 16+(TRAND&15); in moveexplosions() 237 T1 += (TRAND&63); in moveexplosions() 243 s->zvel += (gc>>5)+(TRAND&7); in moveexplosions() 247 s->zvel += (gc>>5)+(TRAND&7); in moveexplosions() 252 if( (TRAND&3) == 0 ) in moveexplosions() 437 s->xrepeat += TRAND&3; in moveexplosions() 438 s->yrepeat += TRAND&3; in moveexplosions() 445 s->xrepeat += TRAND&3; in moveexplosions() 446 s->yrepeat += TRAND&3; in moveexplosions() 453 if( s->pal == 0 && (TRAND&255) < 16) in moveexplosions() [all …]
|
H A D | warpfx.c | 68 if (TRAND > 65000) in thunder() 100 if (TRAND > 65000) in thunder() 128 r1 = TRAND&4; in thunder() 154 r2 = TRAND&8; in thunder()
|
H A D | sector3.c | 566 …EGS(SECT,SX,SY,SZ-(8<<8),SCRAP6+(TRAND&15),-8,48,48,TRAND&2047,(TRAND&63)+64,-(TRAND&4095)-(sprite… in checkhitsprite() 570 sprite[sn].ang -= (TRAND&16); in checkhitsprite() 592 SA = (SA+TRAND)&16; in checkhitsprite() 599 SA = (SA+TRAND)&16; in checkhitsprite() 604 if( TRAND&3 ) in checkhitsprite() 658 …j = EGS(SECT,SX,SY,SZ-(TRAND%(48<<8)),SCRAP6+(TRAND&3),-8,48,48,TRAND&2047,(TRAND&63)+64,-(TRAND&4… in checkhitsprite() 693 TRAND&2047,(TRAND&127)+64,-(TRAND&511)-256,i,5); in checkhitsprite() 739 SA = TRAND&2047; in checkhitsprite() 762 CS |= (TRAND&1)<<2; in checkhitsprite() 770 CS |= (TRAND&1)<<2; in checkhitsprite() [all …]
|
H A D | game4.c | 410 sp->zvel = 256-(TRAND&511); in spawn() 411 sp->xvel = 64-(TRAND&127); in spawn() 533 sp->xrepeat = 7+(TRAND&7); in spawn() 534 sp->yrepeat = 7+(TRAND&7); in spawn() 790 sp->cstat = TRAND&12; in spawn() 792 sp->ang = TRAND&2047; in spawn() 808 T1 = TRAND&1; in spawn() 995 sp->xvel = 48-(TRAND&31); in spawn() 1332 sp->ang = TRAND&2047; in spawn() 1393 sp->cstat |= (TRAND&4); in spawn() [all …]
|
H A D | gamedef2.c | 69 s->ang -= 512+(TRAND&1024); in dodge() 117 else angincs = 2048/(1+(TRAND&1)); in furthestcanseepoint() 177 j = 128-(TRAND&256); in alterang() 671 g_sp->ang = TRAND&2047; in parse() 709 switch (TRAND&1) in parse() 743 g_sp->ang = TRAND&2047; in parse() 1548 g_sp->ang = TRAND&2047; in parse() 1589 else s = (TRAND%3); in parse() 1592 … g_sp->x+(TRAND&255)-128,g_sp->y+(TRAND&255)-128,g_sp->z-(8<<8)-(TRAND&8191), in parse() 1593 dnum+s,g_sp->shade,32+(TRAND&15),32+(TRAND&15), in parse() [all …]
|
H A D | player4.c | 163 var84 = TRAND & 63; in processinput() 171 var84 = TRAND & 31; in processinput() 224 if ((TRAND & 3) == 2) in processinput() 250 p->raat5c1 = (TRAND&3)-2; in processinput() 335 var84 = TRAND&1; in processinput() 456 varcc = TRAND & 63; in processinput() 464 varcc = TRAND & 31; in processinput() 533 if ((TRAND & 15) == 14) in processinput() 941 p->dead_flag = (512-((TRAND&1)<<10)+(TRAND&255)-512)&2047; in processinput() 1877 switch (TRAND&1) in processinput() [all …]
|
H A D | actors4.c | 275 rvar = TRAND&127; in moveactors() 353 rvar = TRAND & 127; in moveactors() 673 else s->ang = (TRAND&2047); in moveactors() 677 s->ang += (TRAND&3)-6; in moveactors() 824 if (TRAND & 1) in moveactors() 831 if (TRAND & 1) in moveactors() 1135 t[0] = 2+(TRAND&2); in moveactors() 1521 if( (TRAND&255) < 16 ) in moveactors() 1853 sprite[j].clipdist = (1+(TRAND%1))*16+32; in resetpins() 1857 sprite[j].clipdist = (1+(TRAND%1))*16+32; in resetpins() [all …]
|
H A D | actors2.c | 539 s->xvel = ((64+TRAND)&127); in movefallers() 540 s->zvel = -(1024+(TRAND&1023)); in movefallers() 568 j = 1+(TRAND&7); in movefallers() 825 j = s->xrepeat-(TRAND&7); in movestandables() 833 j = s->yrepeat-(TRAND&7); in movestandables() 1036 if(TRAND&1) s->zvel -= 256; in movestandables() 1038 s->xvel += (TRAND&3); in movestandables() 1066 else if( (TRAND&8) == 0 ) in movestandables() 1081 if( s->picnum == (BOLT1+1) && (TRAND&1) && sector[sect].floorpicnum == HURTRAIL ) in movestandables() 1126 t[1] = 48+(TRAND&31); in movestandables()
|
H A D | actors6.c | 285 switch (TRAND&3) in moveeffectors() 301 switch (TRAND&3) in moveeffectors() 1882 s->ang += TRAND&511; in moveeffectors() 1884 sprite[k].xvel = 96+(TRAND&127); in moveeffectors() 2253 if( earthquaketime > 0 && (TRAND&7) == 0 ) in moveeffectors() 2308 sprite[k].z = sc->floorz-(TRAND%x); in moveeffectors() 2309 sprite[k].ang += 256-(TRAND%511); in moveeffectors() 2310 sprite[k].xvel = TRAND&127; in moveeffectors() 2324 sprite[k].z = sc->floorz-(TRAND%x); in moveeffectors() 2325 sprite[k].ang += 256-(TRAND%511); in moveeffectors() [all …]
|
H A D | player3.c | 856 else if ((TRAND & 127) == 8) in doincrements() 858 WindTime = 120+((TRAND&63)<<2); in doincrements() 859 WindDir = TRAND&2047; in doincrements() 942 if (p->eat >= 31 && TRAND < p->eat) in doincrements() 944 switch (TRAND&3) in doincrements() 1235 if(TRAND&1) in checkweapons()
|
H A D | sector2.c | 1019 wal->picnum=W_SCREENBREAK+(TRAND%2); in checkhitwall() 1021 wal->picnum=W_SCREENBREAK+(TRAND%3); in checkhitwall() 1028 lotsofmoney(&sprite[spr],1+(TRAND&7)); in checkhitwall() 1125 j = TRAND&1; in checkhitwall() 1285 j = TRAND&1;
|
H A D | actors3.c | 190 if ((TRAND & 15) == 2) in moveweapons() 363 j = 3+(TRAND&3); in moveweapons() 368 ps[p].loogiex[x] = TRAND%xdim; in moveweapons() 369 ps[p].loogiey[x] = TRAND%ydim; in moveweapons() 842 if( (TRAND&255) < 32 ) in movetransports()
|
H A D | player2.c | 277 if ((TRAND&1) == 1) in displayweapon() 284 if ((TRAND&1) == 1) in displayweapon() 580 else if ((TRAND&15) == 5) in displayweapon()
|
H A D | sector1.c | 565 if( (TRAND&255) < 16) in animatewalls() 619 if( (TRAND&255) < 32 ) in animatewalls() 620 animwall[p].tag = 128<<(TRAND&3); in animatewalls()
|
H A D | lava.c | 68 ds = TRAND&8; in dotorch()
|
H A D | game1.c | 1039 if ((TRAND&3)==2) in check_fta_sounds()
|
H A D | premap.c | 123 i = TRAND%numplayersprites; in pickrandomspot()
|
/dports/graphics/argyllcms/Argyll_V1.9.2/imdi/ |
H A D | itest.c | 25 #define TRAND /* Test random in/out table contents */ macro 54 #ifdef TRAND in input_curves() 102 #ifdef TRAND in output_curves()
|
/dports/multimedia/kdenlive/kdenlive-21.12.3/src/monitor/view/ |
H A D | kdenlivemonitoreffectscene.qml | 383 console.log('ADDREMOVE TRAND PRESSED')
|
/dports/emulators/cemu/CEmu-1.3/tests/rgb888/ |
H A D | RGB888.lab | 3891 TRAND = $00AB
|
/dports/emulators/cemu/CEmu-1.3/tests/step/ |
H A D | STEP.lab | 3937 TRAND = $00AB
|