Merge branch 'SQC-15_online' into PauseMenuFieldsAndOnline
This commit is contained in:
commit
7a30e43001
@ -196,7 +196,7 @@
|
|||||||
<FloatingPointModel>Fast</FloatingPointModel>
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
<GenerateDebugInformation>false</GenerateDebugInformation>
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
@ -1595,8 +1595,9 @@ void Engine::Render(float elapsedTime) {
|
|||||||
m_countdown = m_time + COUNTDOWN;
|
m_countdown = m_time + COUNTDOWN;
|
||||||
m_resetcountdown = false;
|
m_resetcountdown = false;
|
||||||
}
|
}
|
||||||
if (!m_stopcountdown)
|
if (!m_stopcountdown) {
|
||||||
m_countdown -= (int)m_time;
|
m_countdown = COUNTDOWN - (int)m_time;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DrawHud(elapsedTime, bloc);
|
DrawHud(elapsedTime, bloc);
|
||||||
|
@ -5,5 +5,5 @@
|
|||||||
int main() {
|
int main() {
|
||||||
Engine engine;
|
Engine engine;
|
||||||
engine.SetMaxFps(60);
|
engine.SetMaxFps(60);
|
||||||
engine.Start("Syndicat Quebecois de la Construction Simulator 2023", BASE_WIDTH, BASE_HEIGHT, false);
|
engine.Start("Syndicat Quebecois de la Construction Simulator 2023", 1920, 1080, false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user