Home
last modified time | relevance | path

Searched refs:viewcos (Results 1 – 25 of 98) sorted by relevance

1234

/dports/games/ecwolf/ecwolf-1.3.3-src/src/
H A Dwl_atmos.cpp66 int32_t x = pt->x * viewcos + pt->z * viewsin; in DrawStarSky()
68 int32_t z = (pt->z * viewcos - pt->x * viewsin) >> 8; in DrawStarSky()
78 int32_t x = 16384 * viewcos + 16384 * viewsin; in DrawStarSky()
79 int32_t z = (16384 * viewcos - 16384 * viewsin) >> 8; in DrawStarSky()
110 fixed pz = (player->x - FixedMul(0x7900, viewcos)) >> 6; in DrawRain()
124 x = ax * viewcos + az * viewsin; in DrawRain()
126 z = (az * viewcos - ax * viewsin) >> 8; in DrawRain()
143 gu = viewx + FixedMul(dist, viewcos); in DrawRain()
187 x = ax * viewcos + az * viewsin; in DrawSnow()
189 z = (az * viewcos - ax * viewsin) >> 8; in DrawSnow()
[all …]
H A Dwl_dir3dspr.cpp161 gxt = FixedMul(gx,viewcos); in Scale3DShape()
171 gyt1 = FixedMul(gy1,viewcos); in Scale3DShape()
172 gyt2 = FixedMul(gy2,viewcos); in Scale3DShape()
189 gxt1 = FixedMul(gx1,viewcos); in Scale3DShape()
190 gxt2 = FixedMul(gx2,viewcos); in Scale3DShape()
200 gyt = FixedMul(gy,viewcos); in Scale3DShape()
H A Dwl_floorceiling.cpp66 gu = viewx + FixedMul(dist, viewcos); in R_DrawPlane()
70 dv = -FixedMul(tex_step, viewcos); in R_DrawPlane()
H A Dwl_draw.h30 extern fixed viewsin,viewcos;
H A Dwl_cloudsky.cpp238 gu = viewx + FixedMul(dist, viewcos) + cloudx; in DrawClouds()
242 dv = -FixedMul(tex_step, viewcos); in DrawClouds()
H A Dwl_draw.cpp90 fixed viewsin,viewcos; variable
185 gxt = FixedMul(gx,viewcos); in TransformActor()
196 gyt = FixedMul(gy,viewcos); in TransformActor()
233 fixed z = FixedMul(xintercept - viewx, viewcos) in CalcHeight()
1212 viewcos = finecosine[viewangle>>ANGLETOFINESHIFT]; in CalcViewVariables()
1213 viewx = players[0].camera->x - FixedMul(focallength,viewcos); in CalcViewVariables()
/dports/games/bstone/bstone-1.1.9/src/
H A D3d_draw.cpp117 int viewcos; variable
279 gxt = FixedByFrac(gx, viewcos); in TransformActor()
289 gyt = FixedByFrac(gy, viewcos); in TransformActor()
352 gxt = FixedByFrac(gx, viewcos); in TransformTile()
360 gyt = FixedByFrac(gy, viewcos); in TransformTile()
402 int gxt = FixedByFrac(gx, viewcos); in CalcHeight()
1350 viewcos = costable[viewangle]; in WallRefresh()
1351 viewx = player->x - FixedByFrac(focallength, viewcos); in WallRefresh()
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dr_plane.c146 dsvars->ystep = cachedystep[y] = FixedMul (viewcos, planeheight) / dy; in R_MapPlane()
156 dsvars->xfrac = xoffs + viewx + FixedMul(viewcos, distance) + dx * dsvars->xstep; in R_MapPlane()
212 baseyscale = FixedDiv (viewcos,projection); in R_ClearPlanes()
H A Dr_main.h44 extern fixed_t viewcos;
/dports/games/edge/Edge-1.35-source/src/
H A Dr_misc.h38 extern float viewcos;
H A Dr_things.cc230 data.lit_pos.x = player->mo->x + viewcos * away; in RGL_DrawPSprite()
261 data.lit_pos.x = player->mo->x + viewcos * 24; in RGL_DrawPSprite()
946 float tz = tr_x * viewcos + tr_y * viewsin; in RGL_WalkThing()
952 float tx = tr_x * viewsin - tr_y * viewcos; in RGL_WalkThing()
1094 dthing->left_dy = pos1 * -viewcos * mir_scale; in RGL_WalkThing()
1096 dthing->right_dy = pos2 * -viewcos * mir_scale; in RGL_WalkThing()
1226 float dx = viewcos * sprite_skew * skew2;
1273 data.normal.Set(-viewcos, -viewsin, 0);
/dports/games/prboom/prboom-2.5.0/src/
H A Dr_main.h48 extern fixed_t viewcos;
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/
H A Dr_main.h32 extern fixed_t viewcos;
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/strife/
H A Dr_main.h32 extern fixed_t viewcos;
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/
H A Dr_main.h32 extern fixed_t viewcos;
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/doom/
H A Dr_main.h32 extern fixed_t viewcos;
H A Dr_plane.c153 ds_ystep = cachedystep[y] = (FixedMul (viewcos, planeheight) / dy) << detailshift; in R_MapPlane()
164 ds_xfrac = viewx + FixedMul(viewcos, distance) + dx * ds_xstep; in R_MapPlane()
/dports/games/rottdc/rottdc-1.0-2/rott/
H A Drt_draw.h71 extern fixed viewsin,viewcos;
H A Drt_draw.c113 fixed viewsin,viewcos; variable
320 gxt = FixedMul(gx,viewcos); in TransformObject()
333 gyt = FixedMul(gy,viewcos); in TransformObject()
376 gxt = FixedMul(gx,viewcos); in TransformPoint()
388 gytt = FixedMul(gy,viewcos); in TransformPoint()
401 svc=(-centerx)*viewcos; in TransformPoint()
403 vx=(scale*viewcos)+svs; in TransformPoint()
440 svc=(centerx)*viewcos; in TransformPoint()
442 vx=(scale*viewcos)+svs; in TransformPoint()
508 gxt = FixedMul(gx,viewcos); in TransformSimplePoint()
[all …]
H A Dengine.c327 c_vy+=viewcos<<2; in InitialCast()
342 c_vy=c_starty+(curx*viewcos); in Cast()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dr_main.h38 extern fixed_t viewcos;
H A Dr_bsp.cpp751 tx1 = DMulScale20(x1, viewsin, -y1, viewcos); in Init()
752 tx2 = DMulScale20(x2, viewsin, -y2, viewcos); in Init()
828 fixed_t fullx1 = DMulScale20 (tx1, viewsin, -ty1, viewcos); in InitFromLine()
829 fixed_t fullx2 = DMulScale20 (tx2, viewsin, -ty2, viewcos); in InitFromLine()
909 rx1 = DMulScale20 (x1, viewsin, -y1, viewcos); in R_CheckBBox()
910 rx2 = DMulScale20 (x2, viewsin, -y2, viewcos); in R_CheckBBox()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dr_plane.c235 dsvars->ystep = (fixed_t)(viewcos * slope * viewfocratio); in R_MapPlane()
237 dsvars->xfrac = viewx + xoffs + (int)(viewcos * realy) + (x1 - centerx) * dsvars->xstep; in R_MapPlane()
292 baseyscale = FixedDiv (viewcos,projection); in R_ClearPlanes()
H A Dr_main.h50 extern fixed_t viewcos;
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dr_main.h62 extern fixed_t viewcos;

1234