/dports/games/zdoom/zdoom-2.8.1/src/r_data/ |
H A D | r_interpolate.cpp | 68 void Interpolate(fixed_t smoothratio); 96 void Interpolate(fixed_t smoothratio); 123 void Interpolate(fixed_t smoothratio); 149 void Interpolate(fixed_t smoothratio); 254 void FInterpolator::DoInterpolations(fixed_t smoothratio) in DoInterpolations() argument 256 if (smoothratio == FRACUNIT) in DoInterpolations() 268 probe->Interpolate(smoothratio); in DoInterpolations() 480 void DSectorPlaneInterpolation::Interpolate(fixed_t smoothratio) in Interpolate() argument 627 void DSectorScrollInterpolation::Interpolate(fixed_t smoothratio) in Interpolate() argument 718 void DWallScrollInterpolation::Interpolate(fixed_t smoothratio) in Interpolate() argument [all …]
|
H A D | r_interpolate.h | 33 virtual void Interpolate(fixed_t smoothratio) = 0; 61 void DoInterpolations(fixed_t smoothratio);
|
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/ |
H A D | game3.c | 159 void displayrest(long smoothratio) in displayrest() argument 247 smoothratio = min(max(smoothratio,0),65536); in displayrest() 248 dointerpolations(smoothratio); in displayrest() 687 SE_150_Draw(i,x,y,z,a,h,smoothratio); in SE_150() 697 void displayrooms(short snum,long smoothratio) in displayrooms() argument 719 smoothratio = min(max(smoothratio,0),65536); in displayrooms() 733 dointerpolations(smoothratio); in displayrooms() 749 animatesprites(s->x,s->y,cang,smoothratio); in displayrooms() 929 smoothratio = 65536L; in displayrooms() 1004 animatesprites(cposx,cposy,cang,smoothratio); in displayrooms() [all …]
|
H A D | game5.c | 46 void animatesprites(long x,long y,short a,long smoothratio) in animatesprites() argument 187 t->x -= mulscale16(65536-smoothratio,ps[s->yvel].posx-ps[s->yvel].oposx); in animatesprites() 188 t->y -= mulscale16(65536-smoothratio,ps[s->yvel].posy-ps[s->yvel].oposy); in animatesprites() 189 t->z = ps[s->yvel].oposz + mulscale16(smoothratio,ps[s->yvel].posz-ps[s->yvel].oposz); in animatesprites() 196 t->x -= mulscale16(65536-smoothratio,s->x-hittype[i].bposx); in animatesprites() 197 t->y -= mulscale16(65536-smoothratio,s->y-hittype[i].bposy); in animatesprites() 198 t->z -= mulscale16(65536-smoothratio,s->z-hittype[i].bposz); in animatesprites() 403 t->x = omyx+mulscale16((long)(myx-omyx),smoothratio); in animatesprites() 404 t->y = omyy+mulscale16((long)(myy-omyy),smoothratio); in animatesprites() 405 t->z = omyz+mulscale16((long)(myz-omyz),smoothratio)+(40<<8); in animatesprites() [all …]
|
H A D | FUNCT.H | 387 extern void displayrest(long smoothratio); 395 extern void displayrooms(short snum,long smoothratio); 405 extern void animatesprites(long x,long y,short a,long smoothratio); 533 extern void dointerpolations(long smoothratio);
|
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/ |
H A D | r_fps.c | 66 static void R_DoAnInterpolation (int i, fixed_t smoothratio); 183 static void R_DoAnInterpolation (int i, fixed_t smoothratio) in R_DoAnInterpolation() argument 221 *adr1 = oldipos[i][0] + FixedMul (pos - oldipos[i][0], smoothratio); in R_DoAnInterpolation() 227 *adr2 = oldipos[i][1] + FixedMul (pos - oldipos[i][1], smoothratio); in R_DoAnInterpolation() 308 void R_DoInterpolations(fixed_t smoothratio) in R_DoInterpolations() argument 314 if (smoothratio == FRACUNIT) in R_DoInterpolations() 324 R_DoAnInterpolation (i, smoothratio); in R_DoInterpolations()
|
H A D | r_fps.h | 61 void R_DoInterpolations(fixed_t smoothratio);
|
/dports/games/NBlood/NBlood-a1689a4/source/rr/src/ |
H A D | sector.h | 159 static inline vec3_t G_GetCameraPosition(int32_t i, int32_t smoothratio) in G_GetCameraPosition() argument 164 vec3_t cam = { ca->bpos.x + mulscale16(cs->x - ca->bpos.x, smoothratio), in G_GetCameraPosition() 165 ca->bpos.y + mulscale16(cs->y - ca->bpos.y, smoothratio), in G_GetCameraPosition() 166 ca->bpos.z + mulscale16(cs->z - ca->bpos.z, smoothratio) in G_GetCameraPosition()
|
H A D | game.h | 347 void G_DisplayRest(int32_t smoothratio); 348 … G_DoSpriteAnimations(int32_t ourx, int32_t oury, int32_t ourz, int32_t oura, int32_t smoothratio); 351 void G_HandleMirror(int32_t x, int32_t y, int32_t z, fix16_t a, fix16_t horiz, int32_t smoothratio); 352 void G_DrawRooms(int32_t playerNum,int32_t smoothratio);
|
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/ |
H A D | sector.h | 159 static inline vec3_t G_GetCameraPosition(int32_t const i, int32_t const smoothratio) in G_GetCameraPosition() argument 164 return { ca->bpos.x + mulscale16(cs->x - ca->bpos.x, smoothratio), in G_GetCameraPosition() 165 ca->bpos.y + mulscale16(cs->y - ca->bpos.y, smoothratio), in G_GetCameraPosition() 166 ca->bpos.z + mulscale16(cs->z - ca->bpos.z, smoothratio) }; in G_GetCameraPosition()
|
H A D | game.h | 359 void G_DisplayRest(int32_t smoothratio); 360 … G_DoSpriteAnimations(int32_t ourx, int32_t oury, int32_t ourz, int32_t oura, int32_t smoothratio); 363 void G_HandleMirror(int32_t x, int32_t y, int32_t z, fix16_t a, fix16_t horiz, int32_t smoothratio); 364 void G_DrawRooms(int32_t playerNum,int32_t smoothratio);
|
/dports/games/prboom/prboom-2.5.0/src/ |
H A D | r_fps.c | 175 static void R_DoAnInterpolation (int i, fixed_t smoothratio) in R_DoAnInterpolation() argument 213 *adr1 = oldipos[i][0] + FixedMul (pos - oldipos[i][0], smoothratio); in R_DoAnInterpolation() 219 *adr2 = oldipos[i][1] + FixedMul (pos - oldipos[i][1], smoothratio); in R_DoAnInterpolation() 298 void R_DoInterpolations(fixed_t smoothratio) in R_DoInterpolations() argument 304 if (smoothratio == FRACUNIT) in R_DoInterpolations() 314 R_DoAnInterpolation (i, smoothratio); in R_DoInterpolations()
|
H A D | r_fps.h | 70 void R_DoInterpolations(fixed_t smoothratio);
|
/dports/games/NBlood/NBlood-a1689a4/source/sw/src/ |
H A D | interp.cpp | 81 void dointerpolations(int smoothratio) // Stick at beginning of drawscreen in dointerpolations() argument 96 j = mulscale16(ndelta, smoothratio); in dointerpolations()
|
H A D | interpsh.cpp | 82 void short_dointerpolations(int smoothratio) // Stick at beginning of drawscre… in short_dointerpolations() argument 97 j = mulscale16(ndelta, smoothratio); in short_dointerpolations()
|
H A D | draw.cpp | 693 smr4 = smoothratio + (((int) MoveSkip4) << 16); in analyzesprites() 694 smr2 = smoothratio + (((int) MoveSkip2) << 16); in analyzesprites() 918 tsp->x -= mulscale16(pp->posx - pp->oposx, 65536-smoothratio); in analyzesprites() 919 tsp->y -= mulscale16(pp->posy - pp->oposy, 65536-smoothratio); in analyzesprites() 920 tsp->z -= mulscale16(pp->posz - pp->oposz, 65536-smoothratio); in analyzesprites() 2329 smoothratio = min(max(((int32_t) totalclock - ototalclock) * (65536 / synctics),0),65536); in drawscreen() 2331 smoothratio = 65536; in drawscreen() 2348 tx = camerapp->oposx + mulscale16(camerapp->posx - camerapp->oposx, smoothratio); in drawscreen() 2349 ty = camerapp->oposy + mulscale16(camerapp->posy - camerapp->oposy, smoothratio); in drawscreen() 2350 tz = camerapp->oposz + mulscale16(camerapp->posz - camerapp->oposz, smoothratio); in drawscreen() [all …]
|
H A D | interp.h | 48 void dointerpolations(int smoothratio);
|
H A D | interpso.h | 40 void so_dointerpolations(int32_t smoothratio);
|
H A D | interpso.cpp | 227 void so_dointerpolations(int32_t smoothratio) // Stick at beginning of drawscr… in so_dointerpolations() argument 282 int32_t ratio = smoothratio * synctics + 65536 * interp->tic; in so_dointerpolations()
|
/dports/games/jfsw/jfsw-c434002/src/ |
H A D | interp.c | 82 void dointerpolations(int smoothratio) // Stick at beginning of drawscreen in dointerpolations() argument 97 j = mulscale16(ndelta, smoothratio); in dointerpolations()
|
H A D | interpsh.c | 82 void short_dointerpolations(int smoothratio) // Stick at beginning of drawscre… in short_dointerpolations() argument 97 j = mulscale16(ndelta, smoothratio); in short_dointerpolations()
|
H A D | interp.h | 42 void dointerpolations(int smoothratio);
|
H A D | draw.c | 687 smr4 = smoothratio + (((int) MoveSkip4) << 16); in analyzesprites() 688 smr2 = smoothratio + (((int) MoveSkip2) << 16); in analyzesprites() 2156 smr4 = smoothratio + (((int) MoveSkip4) << 16); in PreDrawStackedWater() 2157 smr2 = smoothratio + (((int) MoveSkip2) << 16); in PreDrawStackedWater() 2342 smoothratio = min(max((totalclock - ototalclock) * (65536 / synctics),0),65536); in drawscreen() 2346 dointerpolations(smoothratio); // Stick at beginning of drawscreen in drawscreen() 2347 … short_dointerpolations(smoothratio); // Stick at beginning of drawscreen in drawscreen() 2357 tx = camerapp->oposx + mulscale(camerapp->posx - camerapp->oposx, smoothratio, 16); in drawscreen() 2358 ty = camerapp->oposy + mulscale(camerapp->posy - camerapp->oposy, smoothratio, 16); in drawscreen() 2359 tz = camerapp->oposz + mulscale(camerapp->posz - camerapp->oposz, smoothratio, 16); in drawscreen() [all …]
|
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/ |
H A D | r_fps.c | 69 static void R_DoAnInterpolation (int i, fixed_t smoothratio); 257 static void R_DoAnInterpolation (int i, fixed_t smoothratio) in R_DoAnInterpolation() argument 295 *adr1 = oldipos[i][0] + FixedMul (pos - oldipos[i][0], smoothratio); in R_DoAnInterpolation() 301 *adr2 = oldipos[i][1] + FixedMul (pos - oldipos[i][1], smoothratio); in R_DoAnInterpolation()
|
/dports/games/NBlood/NBlood-a1689a4/source/tekwar/src/ |
H A D | tekgame.cpp | 212 int ototalclock = 0, gotlastpacketclock = 0, smoothratio; variable 1424 smoothratio = max(min(dasmoothratio,65536),0); in drawscreen() 1426 cposx = oposx[snum]+mulscale(posx[snum]-oposx[snum],smoothratio,16); in drawscreen() 1427 cposy = oposy[snum]+mulscale(posy[snum]-oposy[snum],smoothratio,16); in drawscreen() 1428 cposz = oposz[snum]+mulscale(posz[snum]-oposz[snum],smoothratio,16); in drawscreen() 1433 choriz = ohoriz[snum]+mulscale(horiz[snum]-ohoriz[snum],smoothratio,16); in drawscreen() 1434 czoom = ozoom[snum]+mulscale(zoom[snum]-ozoom[snum],smoothratio,16); in drawscreen() 1435 cang = oang[snum]+mulscale(((ang[snum]+1024-oang[snum])&2047)-1024,smoothratio,16); in drawscreen()
|