Home
last modified time | relevance | path

Searched refs:yvect (Results 1 – 25 of 64) sorted by relevance

123

/dports/games/jfsw/jfsw-c434002/src/
H A Dmclip.c144 int xvect,yvect;
157 yvect = (sop->clipbox_vdist[i] * sintable[ang]);
210 int xvect,yvect;
293 int xvect,yvect; in MultiClipMove() local
374 int xvect, yvect; in MultiClipTurn() local
455 y[i] = qy[i] + (pp->yvect>>14); in RectClipMove()
462 pp->posy += (pp->yvect>>14); in RectClipMove()
473 x[i] = qx[i] - (pp->yvect>>15); in RectClipMove()
478 pp->posx -= (pp->yvect>>15); in RectClipMove()
489 x[i] = qx[i] + (pp->yvect>>15); in RectClipMove()
[all …]
H A Drooms.c151 LONG xvect, LONG yvect, LONG zvect, in FAFhitscan() argument
164 hitscan(x, y, z, sectnum, xvect, yvect, zvect, in FAFhitscan()
188 *hity -= yvect>>9; in FAFhitscan()
199 hitscan(*hitx, *hity, *hitz, *hitsect, xvect, yvect, zvect, in FAFhitscan()
227 hitscan(*hitx, *hity, *hitz, *hitsect, xvect, yvect, zvect, in FAFhitscan()
238 hitscan(*hitx, *hity, *hitz, *hitsect, xvect, yvect, zvect, in FAFhitscan()
268 hitscan(*hitx, *hity, *hitz, newsectnum, xvect, yvect, zvect, in FAFhitscan()
280 int xvect, yvect, zvect; in FAFcansee() local
303 yvect = sintable[NORM_ANGLE(ang)]; in FAFcansee()
314 zvect = scale(yvect, ze - zs, ye - ys); in FAFcansee()
[all …]
H A Dplayer.c2617 pp->yvect = mulscale(pp->yvect,friction,16); in DoPlayerMove()
2623 pp->yvect = (pp->yvect + (pp->oyvect*1))/2; in DoPlayerMove()
2630 pp->yvect = (pp->yvect + (pp->oyvect*2))/3; in DoPlayerMove()
2886 pp->yvect = mulscale(pp->yvect,BOAT_FRICTION,16); in DoPlayerMoveBoat()
2890 pp->yvect = (pp->yvect + (pp->oyvect*5))/6; in DoPlayerMoveBoat()
3294 pp->yvect = mulscale(pp->yvect,TANK_FRICTION,16); in DoPlayerMoveTank()
3297 pp->yvect = (pp->yvect + (pp->oyvect*1))/2; in DoPlayerMoveTank()
3899 pp->yvect = mulscale(pp->yvect,PLAYER_CLIMB_FRICTION,16); in DoPlayerClimb()
5527 int xvect, yvect; in DoPlayerCurrent() local
6115 pp->remote.yvect = pp->yvect; in PlayerToRemote()
[all …]
H A Dgame.c5546 int xvect, yvect, xvect2, yvect2; in drawoverheadmap() local
5581 yvect = sintable[(1536 - cang) & 2047] * czoom; in drawoverheadmap()
5583 yvect2 = mulscale(yvect, yxaspect, 16); in drawoverheadmap()
5629 x1 = mulscale(ox, xvect, 16) - mulscale(oy, yvect, 16); in drawoverheadmap()
5635 x2 = mulscale(ox, xvect, 16) - mulscale(oy, yvect, 16); in drawoverheadmap()
5686 x1 = mulscale(ox, xvect, 16) - mulscale(oy, yvect, 16); in drawoverheadmap()
5693 x2 = mulscale(ox, xvect, 16) - mulscale(oy, yvect, 16); in drawoverheadmap()
5759 x1 = mulscale(ox, xvect, 16) - mulscale(oy, yvect, 16); in drawoverheadmap()
5764 x2 = mulscale(ox, xvect, 16) - mulscale(oy, yvect, 16); in drawoverheadmap()
5863 x1 = mulscale(ox, xvect, 16) - mulscale(oy, yvect, 16); in drawoverheadmap()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/sw/src/
H A Dmclip.cpp145 int xvect,yvect;
158 yvect = (sop->clipbox_vdist[i] * sintable[ang]);
211 int xvect,yvect;
292 int xvect,yvect; in MultiClipMove() local
373 int xvect, yvect; in MultiClipTurn() local
450 xy[i].y = qy[i] + (pp->yvect>>14); in RectClipMove()
457 pp->posy += (pp->yvect>>14); in RectClipMove()
468 xy[i].x = qx[i] - (pp->yvect>>15); in RectClipMove()
473 pp->posx -= (pp->yvect>>15); in RectClipMove()
484 xy[i].x = qx[i] + (pp->yvect>>15); in RectClipMove()
[all …]
H A Drooms.cpp150 int32_t xvect, int32_t yvect, int32_t zvect, in FAFhitscan() argument
162 hitscan(&firstpos, sectnum, xvect, yvect, zvect, in FAFhitscan()
179 hitinfo->pos.y -= yvect>>9; in FAFhitscan()
192 hitscan(&pos, hitinfo->sect, xvect, yvect, zvect, in FAFhitscan()
220 hitscan(&pos, hitinfo->sect, xvect, yvect, zvect, in FAFhitscan()
231 hitscan(&pos, hitinfo->sect, xvect, yvect, zvect, in FAFhitscan()
261 hitscan(&pos, newsectnum, xvect, yvect, zvect, in FAFhitscan()
272 int xvect, yvect, zvect; in FAFcansee() local
292 yvect = sintable[NORM_ANGLE(ang)]; in FAFcansee()
302 zvect = scale(yvect, ze - zs, ye - ys); in FAFcansee()
[all …]
H A Dplayer.cpp2711 pp->yvect = mulscale16(pp->yvect, friction); in DoPlayerMove()
2717 pp->yvect = (pp->yvect + (pp->oyvect*1))/2; in DoPlayerMove()
2723 pp->yvect = (pp->yvect + (pp->oyvect*2))/3; in DoPlayerMove()
2992 pp->yvect = mulscale16(pp->yvect, BOAT_FRICTION); in DoPlayerMoveBoat()
2996 pp->yvect = (pp->yvect + (pp->oyvect*5))/6; in DoPlayerMoveBoat()
3388 pp->yvect = mulscale16(pp->yvect, TANK_FRICTION); in DoPlayerMoveTank()
3391 pp->yvect = (pp->yvect + (pp->oyvect*1))/2; in DoPlayerMoveTank()
3983 pp->yvect = mulscale16(pp->yvect, PLAYER_CLIMB_FRICTION); in DoPlayerClimb()
5585 int xvect, yvect; in DoPlayerCurrent() local
6160 pp->remote.yvect = pp->yvect; in PlayerToRemote()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/tekwar/src/
H A Dtekmap.cpp20 int xvect, yvect, xvect2, yvect2; in drawoverheadmap()
26 yvect = sintable[(1536-cang)&2047] * czoom; in drawoverheadmap()
28 yvect2 = mulscale(yvect,yxaspect,16); in drawoverheadmap()
63 x1 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
68 x2 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
101 x1 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
108 x2 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
150 x1 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
154 x2 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
234 x1 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
[all …]
/dports/biology/molden/molden5.8/
H A Dden3d.f37 yvect = 1.0d0 - (j-1)*facty
39 call eulerh(xvect,yvect,(dens(ij))*scale,edx(ij),edy(ij))
49 yvect = j*factx
51 call eulerh(1.d0-yvect,xvect,(dens(ij))*scale
124 yvect = 1.0d0 - (j-1)*facty
126 call euler(xvect,yvect,(dens(ij))*scale,2)
135 yvect = j*factx
137 call euler(1.d0-yvect,xvect,(dens(ij))*scale,2)
/dports/finance/R-cran-urca/urca/src/
H A DUnitRootMacKinnon.f140 yvect(i) = crits(ic)
165 call gls(xmat,yvect,omega,gamma,xomx,fits,resid,ssr,ssrt,
194 yvect(i) = crits(i)
206 yvect(i) = crits(ic)
275 double precision yvect(20),xmat(20,4),resid(20),gamma(4)
304 yvect(i) = cnorm(ic)
357 yvect(i) = cnorm(i)
368 yvect(i) = cnorm(ic)
481 double precision xmat(nomax,nvmax), yvect(nomax),
504 xomy(j) = xomy(j) + xmat(i,j)*omega(k,i)*yvect(k)
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/
H A Dmap.cpp124 int32_t xvect, yvect, xvect2, yvect2; in G_DrawOverheadMap() local
133 yvect = Sin(1536 - cang) * czoom; in G_DrawOverheadMap()
136 yvect2 = mulscale16(yvect, yxaspect); in G_DrawOverheadMap()
176 x1 = dmulscale16(ox, xvect, -oy, yvect)+(xdim<<11); in G_DrawOverheadMap()
182 x2 = dmulscale16(ox, xvect, -oy, yvect)+(xdim<<11); in G_DrawOverheadMap()
227 x1 = dmulscale16(ox, xvect, -oy, yvect)+(xdim<<11); in G_DrawOverheadMap()
235 x2 = dmulscale16(ox, xvect, -oy, yvect)+(xdim<<11); in G_DrawOverheadMap()
249 int x1 = mulscale16(ox, xvect) - mulscale16(oy, yvect); in G_DrawOverheadMap()
304 int x1 = dmulscale16(px, xvect, -py, yvect); in G_DrawOverheadMap()
305 int y1 = dmulscale16(py, xvect2, px, yvect); in G_DrawOverheadMap()
[all …]
H A Dmove.cpp937 int yvect = y - y_b; in MoveSector() local
942 yvect = 0; in MoveSector()
979 eax = yvect; in MoveSector()
992 yvect = edx; in MoveSector()
998 if (yvect || xvect) in MoveSector()
1005 sprite[i].y += yvect; in MoveSector()
1037 -yvect - (Sin(nAngle) * (4 * sprite[i].clipdist)), in MoveSector()
1053 (yvect << 14) + Sin(nAngle) * sprite[i].clipdist, in MoveSector()
1068 pBlockInfo->y += yvect; in MoveSector()
1073 yvect <<= 14; in MoveSector()
[all …]
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/
H A Dmenus3.c61 long xvect, yvect, xvect2, yvect2; in drawoverheadmap() local
68 yvect = sintable[(1536-cang)&2047] * czoom; in drawoverheadmap()
70 yvect2 = mulscale16(yvect,yxaspect); in drawoverheadmap()
101 x1 = dmulscale16(ox,xvect,-oy,yvect)+(xdim<<11); in drawoverheadmap()
106 x2 = dmulscale16(ox,xvect,-oy,yvect)+(xdim<<11); in drawoverheadmap()
159 x1 = dmulscale16(ox,xvect,-oy,yvect); in drawoverheadmap()
163 x2 = dmulscale16(ox,xvect,-oy,yvect); in drawoverheadmap()
167 x3 = dmulscale16(ox,xvect,-oy,yvect); in drawoverheadmap()
214 x1 = dmulscale16(ox,xvect,-oy,yvect)+(xdim<<11); in drawoverheadmap()
220 x2 = dmulscale16(ox,xvect,-oy,yvect)+(xdim<<11); in drawoverheadmap()
[all …]
H A Dactors3.c34 long k, l, daang, dax, day, daz, xvect, yvect, zvect; in bounce() local
39 yvect = mulscale10(s->xvel,sintable[s->ang&2047]); in bounce()
56 k = xvect*dax+yvect*day+zvect*daz; in bounce()
62 yvect -= mulscale16(day,k); in bounce()
67 s->xvel = ksqrt(dmulscale8(xvect,xvect,yvect,yvect)); in bounce()
68 s->ang = getangle(xvect,yvect); in bounce()
/dports/math/scilab/scilab-6.1.1/scilab/modules/core/tests/benchmarks/
H A Dmandelbrot_vect.tst17 yvect = linspace( ymin, ymax, ysize );
18 [X,Y]=meshgrid(xvect,yvect);
H A Dmandelbrot_naive.tst17 yvect = linspace( ymin, ymax, ysize );
22 y = yvect(j);
/dports/games/NBlood/NBlood-a1689a4/source/build/include/
H A Dclip.h81 int32_t clipmove(vec3_t *const pos, int16_t *const sectnum, int32_t xvect, int32_t yvect, int32_t c…
83 int32_t clipmovex(vec3_t *const pos, int16_t *const sectnum, int32_t xvect, int32_t yvect, int32_t …
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/
H A Dscreens.cpp323 int32_t xvect, yvect, xvect2, yvect2; in G_DrawOverheadMap() local
335 yvect = sintable[(1536-cang)&2047] * czoom; in G_DrawOverheadMap()
337 yvect2 = mulscale16(yvect, yxaspect); in G_DrawOverheadMap()
405 x1 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
410 x2 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
411 y2 = dmulscale16(oy, xvect, ox, yvect); in G_DrawOverheadMap()
501 x1 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
506 x2 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
511 x3 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
516 x4 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/witchaven/src/
H A Dwitchaven.cpp1953 int xvect, yvect, xvect2, yvect2; in drawoverheadmap()
1964 yvect = sintable[(1536-cang)& kAngleMask] * czoom; in drawoverheadmap()
1966 yvect2 = mulscale(yvect,yxaspect,16); in drawoverheadmap()
2011 x1 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
2016 x2 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
2050 x1 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
2057 x2 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
2107 x1 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
2112 x2 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
2212 x1 = mulscale(ox,xvect,16) - mulscale(oy,yvect,16); in drawoverheadmap()
[all …]
H A Dinput.cpp203 *yvect = (int)((plr->forcev * (int)sintable[plr->forcea]) >> 3); in dophysics()
336 int32_t goalz, xvect, yvect; in processinput() local
953 xvect = yvect = 0; in processinput()
957 yvect = (v * tics * Sin(plr->ang + 2048)) >> 3; in processinput()
962 yvect += (s * tics * Sin(plr->ang + 1536)) >> 3; in processinput()
967 …clipmove_old(&plr->x, &plr->y, &plr->z, &plr->sector, xvect, yvect, 128, 4 << 8, 4 << 8, CLIPMASK0… in processinput()
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/
H A Dscreens.cpp313 int32_t xvect, yvect, xvect2, yvect2; in G_DrawOverheadMap() local
324 yvect = sintable[(1536-cang)&2047] * czoom; in G_DrawOverheadMap()
326 yvect2 = mulscale16(yvect, yxaspect); in G_DrawOverheadMap()
398 x1 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
403 x2 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
404 y2 = dmulscale16(oy, xvect, ox, yvect); in G_DrawOverheadMap()
484 x1 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
489 x2 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
494 x3 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
499 x4 = dmulscale16(ox, xvect, -oy, yvect); in G_DrawOverheadMap()
[all …]
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginera/
H A DGAME.C2072 long doubvel, xvect, yvect; in statuslistcode() local
2101 xvect = 0, yvect = 0; in statuslistcode()
2128 yvect = scale(yvect,j,TICSPERFRAME<<19); in statuslistcode()
2936 xvect = 0, yvect = 0; in processinput()
2947 if (flytime[snum] > lockclock) { xvect += xvect; yvect += yvect; } // DOuble flying speed in processinput()
4058 xvect = 0, yvect = 0; in fakedomovethings()
4069 …if (flytime[myconnectindex] > lockclock) { xvect += xvect; yvect += yvect; } // DOuble flying sp… in fakedomovethings()
5646 long xvect, yvect, xvect2, yvect2; in drawoverheadmap() local
5654 yvect2 = mulscale16(yvect,yxaspect); in drawoverheadmap()
5733 x1 = dmulscale16(ox,xvect,-oy,yvect); in drawoverheadmap()
[all …]
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginerr/
H A DGAME.C2073 long doubvel, xvect, yvect; in statuslistcode() local
2102 xvect = 0, yvect = 0; in statuslistcode()
2129 yvect = scale(yvect,j,TICSPERFRAME<<19); in statuslistcode()
2937 xvect = 0, yvect = 0; in processinput()
2948 if (flytime[snum] > lockclock) { xvect += xvect; yvect += yvect; } // DOuble flying speed in processinput()
4059 xvect = 0, yvect = 0; in fakedomovethings()
4070 …if (flytime[myconnectindex] > lockclock) { xvect += xvect; yvect += yvect; } // DOuble flying sp… in fakedomovethings()
5647 long xvect, yvect, xvect2, yvect2; in drawoverheadmap() local
5655 yvect2 = mulscale16(yvect,yxaspect); in drawoverheadmap()
5734 x1 = dmulscale16(ox,xvect,-oy,yvect); in drawoverheadmap()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/kenbuild/src/
H A Dgame.cpp2378 int doubvel, xvect, yvect; in statuslistcode() local
2407 xvect = 0, yvect = 0; in statuslistcode()
2434 yvect = scale(yvect,j,TICSPERFRAME<<19); in statuslistcode()
3246 int i, j, k, doubvel, xvect, yvect, goalz; in processinput() local
3257 xvect = 0, yvect = 0; in processinput()
3268 if (flytime[snum] > lockclock) { xvect += xvect; yvect += yvect; } // DOuble flying speed in processinput()
4380 xvect = 0, yvect = 0; in fakedomovethings()
4391 …if (flytime[myconnectindex] > lockclock) { xvect += xvect; yvect += yvect; } // DOuble flying sp… in fakedomovethings()
5932 int xvect, yvect, xvect2, yvect2; in drawoverheadmap() local
5942 yvect = sintable[(1536-cang)&2047] * czoom; in drawoverheadmap()
[all …]
/dports/games/jfsw/jfsw-c434002/jfbuild/kenbuild/
H A Dgame.c2344 int doubvel, xvect, yvect; local
2373 xvect = 0, yvect = 0;
2400 yvect = scale(yvect,j,TICSPERFRAME<<19);
3197 int i, j, k, doubvel, xvect, yvect, goalz; local
3208 xvect = 0, yvect = 0;
3219 if (flytime[snum] > lockclock) { xvect += xvect; yvect += yvect; } // DOuble flying speed
4298 int i, j, k, doubvel, xvect, yvect, goalz; local
4316 xvect = 0, yvect = 0;
4327 …if (flytime[myconnectindex] > lockclock) { xvect += xvect; yvect += yvect; } // DOuble flying sp…
5895 int xvect, yvect, xvect2, yvect2; local
[all …]

123