- Switch to C++11 steady clock
- Move the C++11 implementation to d_main - Remove the platform specific timer implementations
This commit is contained in:
parent
090943eaa4
commit
307d8931d8
22 changed files with 174 additions and 560 deletions
|
|
@ -66,6 +66,7 @@
|
|||
#include "sbar.h"
|
||||
#include "math/cmath.h"
|
||||
#include "vm.h"
|
||||
#include "d_main.h"
|
||||
|
||||
|
||||
// EXTERNAL DATA DECLARATIONS ----------------------------------------------
|
||||
|
|
@ -136,8 +137,6 @@ FRenderViewpoint::FRenderViewpoint()
|
|||
FRenderViewpoint r_viewpoint;
|
||||
FViewWindow r_viewwindow;
|
||||
|
||||
int otic;
|
||||
|
||||
bool r_NoInterpolate;
|
||||
|
||||
angle_t LocalViewAngle;
|
||||
|
|
@ -784,7 +783,7 @@ void R_SetupFrame (FRenderViewpoint &viewpoint, FViewWindow &viewwindow, AActor
|
|||
|
||||
iview = FindPastViewer (viewpoint.camera);
|
||||
|
||||
int nowtic = I_GetTime (false);
|
||||
int nowtic = I_GetTime ();
|
||||
if (iview->otic != -1 && nowtic > iview->otic)
|
||||
{
|
||||
iview->otic = nowtic;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue