Tamás Bálint Misius
c725894abd
Emscripten: Add "vsync" FPS limit mode
...
Would be really useful for native versions too, but it's more complicated to pull off. For now, vsync on native is the same as tpt.setfpscap(2).
2023-08-22 00:26:32 +02:00
Tamás Bálint Misius
9f71eb9d77
Emscripten: Add compatible main loop
2023-08-22 00:26:32 +02:00
Tamás Bálint Misius
694bc8eb0f
Fix exit behaviour
...
We can't rely on atexit, handlers registered with it are in a hard to establish ordering relationship with destructors of static and thread-local objects.
2023-01-27 14:55:58 +01:00
Tamás Bálint Misius
11945ba620
Factor out game stuff from PowderToySDL.cpp
2023-01-27 09:29:19 +01:00