- Build: Remove all timer code.

This commit is contained in:
Mitchell Richters 2020-08-26 09:31:58 +10:00
parent 2bf11ad378
commit 1c8b0a20fb
5 changed files with 1 additions and 31 deletions

View file

@ -776,7 +776,6 @@ set (PCH_SOURCES
build/src/mhk.cpp
build/src/polymost.cpp
build/src/scriptfile.cpp
build/src/timer.cpp
build/src/voxmodel.cpp
core/movie/playmve.cpp

View file

@ -8,8 +8,7 @@
#define baselayer_h_
#include "compat.h"
#include "c_dispatch.h"
#include "timer.h"
#include "c_dispatch.h"
#include "c_cvars.h"
#include "inputstate.h"
#include "printf.h"

View file

@ -1,11 +0,0 @@
#pragma once
#ifndef timer_h__
#define timer_h__
#include "compat.h"
// for compatibility
#define timerUninit()
#endif // timer_h__

View file

@ -1,16 +0,0 @@
// Build engine timer stuff
#include "timer.h"
#include "build.h"
#include "compat.h"
#include <chrono>
using namespace std;
using namespace chrono;
EDUKE32_STATIC_ASSERT((steady_clock::period::den/steady_clock::period::num) >= 1000000000);
static time_point<steady_clock> timerlastsample;
static int timerticspersec;

View file

@ -62,7 +62,6 @@
#include "v_video.h"
#include "v_draw.h"
#include "g_input.h"
#include "timer.h"
#include "menu.h"
#include "raze_music.h"