mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-21 19:21:44 +00:00
- Build: Remove all timer code.
This commit is contained in:
parent
2bf11ad378
commit
1c8b0a20fb
5 changed files with 1 additions and 31 deletions
|
@ -776,7 +776,6 @@ set (PCH_SOURCES
|
||||||
build/src/mhk.cpp
|
build/src/mhk.cpp
|
||||||
build/src/polymost.cpp
|
build/src/polymost.cpp
|
||||||
build/src/scriptfile.cpp
|
build/src/scriptfile.cpp
|
||||||
build/src/timer.cpp
|
|
||||||
build/src/voxmodel.cpp
|
build/src/voxmodel.cpp
|
||||||
|
|
||||||
core/movie/playmve.cpp
|
core/movie/playmve.cpp
|
||||||
|
|
|
@ -8,8 +8,7 @@
|
||||||
#define baselayer_h_
|
#define baselayer_h_
|
||||||
|
|
||||||
#include "compat.h"
|
#include "compat.h"
|
||||||
#include "c_dispatch.h"
|
#include "c_dispatch.h"
|
||||||
#include "timer.h"
|
|
||||||
#include "c_cvars.h"
|
#include "c_cvars.h"
|
||||||
#include "inputstate.h"
|
#include "inputstate.h"
|
||||||
#include "printf.h"
|
#include "printf.h"
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#ifndef timer_h__
|
|
||||||
#define timer_h__
|
|
||||||
|
|
||||||
#include "compat.h"
|
|
||||||
|
|
||||||
// for compatibility
|
|
||||||
#define timerUninit()
|
|
||||||
|
|
||||||
#endif // timer_h__
|
|
|
@ -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;
|
|
|
@ -62,7 +62,6 @@
|
||||||
#include "v_video.h"
|
#include "v_video.h"
|
||||||
#include "v_draw.h"
|
#include "v_draw.h"
|
||||||
#include "g_input.h"
|
#include "g_input.h"
|
||||||
#include "timer.h"
|
|
||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "raze_music.h"
|
#include "raze_music.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue