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

Merge branch 'tmj-dev'

This commit is contained in:
milek7
2018-02-16 15:25:53 +01:00
113 changed files with 4617 additions and 4057 deletions

View File

@@ -56,7 +56,7 @@ double GetFPS()
void ResetTimers()
{
UpdateTimers( Global::iPause != 0 );
UpdateTimers( Global.iPause != 0 );
DeltaTime = 0.1;
DeltaRenderTime = 0.0;
fSoundTimer = 0.0;
@@ -78,7 +78,7 @@ void UpdateTimers(bool pause)
DeltaRenderTime = double(count - oldCount) / double(fr);
if (!pause)
{
DeltaTime = Global::fTimeSpeed * DeltaRenderTime;
DeltaTime = Global.fTimeSpeed * DeltaRenderTime;
fSoundTimer += DeltaTime;
if (fSoundTimer > 0.1)
fSoundTimer = 0.0;