- 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
|
|
@ -69,6 +69,7 @@
|
|||
#include "c_consolebuffer.h"
|
||||
#include "g_levellocals.h"
|
||||
#include "vm.h"
|
||||
#include "d_main.h"
|
||||
|
||||
FString FStringFormat(VM_ARGS); // extern from thingdef_data.cpp
|
||||
|
||||
|
|
@ -528,7 +529,7 @@ static void maybedrawnow (bool tick, bool force)
|
|||
|| gamestate == GS_STARTUP))
|
||||
{
|
||||
static size_t lastprinttime = 0;
|
||||
size_t nowtime = I_GetTime(false);
|
||||
size_t nowtime = I_GetTime();
|
||||
|
||||
if (nowtime - lastprinttime > 1 || force)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue