2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-13 07:26:09 +00:00

MP1: Convert MP1_VARIABLE_DELTA_TIME to cvar

This commit is contained in:
2020-04-14 14:40:49 -04:00
parent 3c8ce3dc99
commit 94be460a1b
3 changed files with 11 additions and 15 deletions

View File

@@ -3,9 +3,6 @@
#ifndef MP1_USE_BOO
#define MP1_USE_BOO 0
#endif
#ifndef MP1_VARIABLE_DELTA_TIME
#define MP1_VARIABLE_DELTA_TIME 0
#endif
#include "IMain.hpp"
#include "CTweaks.hpp"
@@ -250,11 +247,9 @@ private:
bool m_loadedPersistentResources = false;
bool m_doQuit = false;
#if MP1_VARIABLE_DELTA_TIME
bool m_firstFrame = true;
using delta_clock = std::chrono::high_resolution_clock;
std::chrono::time_point<delta_clock> m_prevFrameTime;
#endif
void InitializeSubsystems();
static void InitializeDiscord();