16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 10:09:17 +02:00

added class members initializations

This commit is contained in:
tmj-fstate
2017-01-27 17:36:08 +01:00
parent 71cd60b543
commit 020016092d
27 changed files with 633 additions and 1137 deletions

View File

@@ -70,7 +70,7 @@ double GetFPS()
void ResetTimers()
{
// double CurrentTime=
GetTickCount();
::GetTickCount64();
DeltaTime = 0.1;
DeltaRenderTime = 0;
fSoundTimer = 0;
@@ -102,7 +102,7 @@ void UpdateTimers(bool pause)
oldCount = count;
// Keep track of the time lapse and frame count
double fTime = GetTickCount() * 0.001f; // Get current time in seconds
double fTime = ::GetTickCount64() * 0.001f; // Get current time in seconds
++dwFrames; // licznik ramek
// update the frame rate once per second
if (fTime - fLastTime > 1.0f)