Removed some agame things; Added VSYNC

This commit is contained in:
2026-03-18 08:44:30 +01:00
parent def737316c
commit e4004bbfe8
16 changed files with 354 additions and 77 deletions

View File

@@ -40,7 +40,11 @@ namespace Game::Window {
std::jthread mGameThread;
bool mRunning;
int mTargetFPS = TARGET_FPS;
size_t mFrameCount = 0;
std::chrono::steady_clock::time_point mLastFPSTime;
int mEffectiveFrameCap = TARGET_FPS;
#if DEBUG
size_t mTelemetryFrameCount = 0;
double mTelemetryFrameTimeMsTotal = 0.0;
#endif
std::chrono::steady_clock::time_point mTelemetryStart = std::chrono::steady_clock::now();
};
}