diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt index 60a39b67d..8d2a06c15 100644 --- a/source/CMakeLists.txt +++ b/source/CMakeLists.txt @@ -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 diff --git a/source/build/include/baselayer.h b/source/build/include/baselayer.h index 1e3bfd363..5cd62e6fb 100644 --- a/source/build/include/baselayer.h +++ b/source/build/include/baselayer.h @@ -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" diff --git a/source/build/include/timer.h b/source/build/include/timer.h deleted file mode 100644 index b2ea3f0c3..000000000 --- a/source/build/include/timer.h +++ /dev/null @@ -1,11 +0,0 @@ -#pragma once - -#ifndef timer_h__ -#define timer_h__ - -#include "compat.h" - -// for compatibility -#define timerUninit() - -#endif // timer_h__ diff --git a/source/build/src/timer.cpp b/source/build/src/timer.cpp deleted file mode 100644 index d1033e99f..000000000 --- a/source/build/src/timer.cpp +++ /dev/null @@ -1,16 +0,0 @@ -// Build engine timer stuff - -#include "timer.h" - -#include "build.h" -#include "compat.h" - -#include - -using namespace std; -using namespace chrono; - -EDUKE32_STATIC_ASSERT((steady_clock::period::den/steady_clock::period::num) >= 1000000000); - -static time_point timerlastsample; -static int timerticspersec; diff --git a/source/core/console/c_console.cpp b/source/core/console/c_console.cpp index 09d62c2ae..731267c59 100644 --- a/source/core/console/c_console.cpp +++ b/source/core/console/c_console.cpp @@ -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"