- 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:
Magnus Norddahl 2017-11-12 03:12:22 +01:00
commit 307d8931d8
22 changed files with 174 additions and 560 deletions

View file

@ -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;