mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- Use I_FPSTime() instead of I_MSTime() to drive R_UpdateAnimations().
SVN r2253 (trunk)
This commit is contained in:
parent
b3005ab16c
commit
7f96531dc0
2 changed files with 5 additions and 5 deletions
|
@ -657,7 +657,7 @@ void D_Display ()
|
||||||
switch (gamestate)
|
switch (gamestate)
|
||||||
{
|
{
|
||||||
case GS_FULLCONSOLE:
|
case GS_FULLCONSOLE:
|
||||||
R_UpdateAnimations(I_MSTime());
|
R_UpdateAnimations(I_FPSTime());
|
||||||
screen->SetBlendingRect(0,0,0,0);
|
screen->SetBlendingRect(0,0,0,0);
|
||||||
hw2d = screen->Begin2D(false);
|
hw2d = screen->Begin2D(false);
|
||||||
C_DrawConsole (false);
|
C_DrawConsole (false);
|
||||||
|
@ -722,7 +722,7 @@ void D_Display ()
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GS_INTERMISSION:
|
case GS_INTERMISSION:
|
||||||
R_UpdateAnimations(I_MSTime());
|
R_UpdateAnimations(I_FPSTime());
|
||||||
screen->SetBlendingRect(0,0,0,0);
|
screen->SetBlendingRect(0,0,0,0);
|
||||||
hw2d = screen->Begin2D(false);
|
hw2d = screen->Begin2D(false);
|
||||||
WI_Drawer ();
|
WI_Drawer ();
|
||||||
|
@ -730,7 +730,7 @@ void D_Display ()
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GS_FINALE:
|
case GS_FINALE:
|
||||||
R_UpdateAnimations(I_MSTime());
|
R_UpdateAnimations(I_FPSTime());
|
||||||
screen->SetBlendingRect(0,0,0,0);
|
screen->SetBlendingRect(0,0,0,0);
|
||||||
hw2d = screen->Begin2D(false);
|
hw2d = screen->Begin2D(false);
|
||||||
F_Drawer ();
|
F_Drawer ();
|
||||||
|
@ -738,7 +738,7 @@ void D_Display ()
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GS_DEMOSCREEN:
|
case GS_DEMOSCREEN:
|
||||||
R_UpdateAnimations(I_MSTime());
|
R_UpdateAnimations(I_FPSTime());
|
||||||
screen->SetBlendingRect(0,0,0,0);
|
screen->SetBlendingRect(0,0,0,0);
|
||||||
hw2d = screen->Begin2D(false);
|
hw2d = screen->Begin2D(false);
|
||||||
D_PageDrawer ();
|
D_PageDrawer ();
|
||||||
|
|
|
@ -1081,7 +1081,7 @@ void R_SetupFrame (AActor *actor)
|
||||||
iview->otic = nowtic;
|
iview->otic = nowtic;
|
||||||
}
|
}
|
||||||
|
|
||||||
R_UpdateAnimations (I_MSTime());
|
R_UpdateAnimations (I_FPSTime());
|
||||||
r_TicFrac = I_GetTimeFrac (&r_FrameTime);
|
r_TicFrac = I_GetTimeFrac (&r_FrameTime);
|
||||||
if (cl_capfps || r_NoInterpolate)
|
if (cl_capfps || r_NoInterpolate)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue