1
0
Fork 0
Commit graph

10 commits

Author SHA1 Message Date
50e9300667 Game/FPSCounter: change m_fps variable and getFPS() return value from float to double.
MSVC complains about loss of information because sp::Time::seconds() returns double.
2022-09-26 12:06:40 +02:00
db695f11f6 Spectre/Game/GameTime: Store max accumulated time in a member variable and calculate it once in setTimeStep() 2020-12-18 18:27:07 +01:00
2a608805b5 Spectre/Game/GameTime: add shouldTick() 2020-12-18 18:27:07 +01:00
ed876ca64d Spectre/Game/GameTime: remove useless m_inLoop variable. 2020-12-18 18:27:07 +01:00
d49d91a294 Spectre/Game/GameTime: Use sp::Time and sp::Stopwatch 2020-12-18 18:27:07 +01:00
3855cdd541 Game/FPSCounter: Use sp::Stopwatch 2020-12-18 18:27:07 +01:00
919aa7740a Spectre/Game/FPSCounter: Use sp::Time 2020-12-16 16:33:32 +01:00
4df668e68f
Minor formating fixes. 2019-12-29 22:26:05 +01:00
e10daeaaa6
Move everything from global namespace to "sp" namespace
When writing the X11 (linux) implementation there was a problem with X11 defining a "Display" type and we also have a Display class in the engine.

So to fix that problem and minimize the risk for running into other name conflicts. We move everything from global namespace.
2019-09-30 19:10:17 +02:00
edfc5298e1 Initial commit 2016-01-10 09:26:43 +01:00