mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-23 00:11:03 +00:00
- WH: enabled interpolations.
This commit is contained in:
parent
8b213edf4c
commit
11831b0a26
2 changed files with 6 additions and 0 deletions
|
@ -670,6 +670,7 @@ void GameInterface::Ticker()
|
|||
r_NoInterpolate = true;
|
||||
return;
|
||||
}
|
||||
UpdateInterpolations();
|
||||
|
||||
for (int i = connecthead; i >= 0; i = connectpoint2[i])
|
||||
player[i].oldsector = player[i].sector;
|
||||
|
|
|
@ -39,6 +39,10 @@ void drawscreen(int num, double dasmoothratio, bool sceneonly)
|
|||
crotscrnang = plr.angle.interpolatedrotscrn(dasmoothratio);
|
||||
}
|
||||
|
||||
DoInterpolations(dasmoothratio / 65536.);
|
||||
pm_smoothratio = (int)dasmoothratio;
|
||||
|
||||
|
||||
if (plr.over_shoulder_on)
|
||||
{
|
||||
sprite[plr.spritenum].cstat |= CSTAT_SPRITE_TRANSLUCENT;
|
||||
|
@ -114,6 +118,7 @@ void drawscreen(int num, double dasmoothratio, bool sceneonly)
|
|||
DrawOverheadMap(cposx, cposy, cang.asbuild(), dasmoothratio);
|
||||
}
|
||||
}
|
||||
RestoreInterpolations();
|
||||
}
|
||||
|
||||
void GameInterface::processSprites(spritetype* tsprite, int& spritesortcnt, int viewx, int viewy, int viewz, binangle viewang, double smoothRatio)
|
||||
|
|
Loading…
Reference in a new issue