6d01f8cc3f
Tweak performance message to include frame interval
2025-01-04 02:12:43 +00:00
a8e2c8d89a
Rename game_evthandle() to game_evt()
2025-01-02 18:52:15 +00:00
8dbdea6ac4
Fix some memory leaks
2025-01-02 17:53:40 +00:00
3952d93bb0
Add CMake option to enable/disable performance monitoring
2025-01-02 17:13:35 +00:00
c1dd9cd33a
Remove frame blinker
...
Not really needed any more
2025-01-02 16:55:06 +00:00
65a4b08f34
Use vsync instead of delay-based synchronization
...
Also changed the game_update() interface to take dt in seconds as a
double (rather than milliseconds as an unsigned integer) as we're now
computing the refresh interval as a double anyway (by querying the
display mode). To my eye (and on my machine), all chunkiness is now
gone; the game feels very smooth.
2025-01-02 16:54:01 +00:00
427cdef867
Add frame blinker back in
2025-01-02 16:37:43 +00:00
cda484c9ab
Wait for remaining time in interval rather than busy looping
2025-01-02 16:20:00 +00:00
178d6a23d3
Reduce performance analysis frequency
2025-01-02 15:50:15 +00:00
bbaf58869a
Measure game code performance in engine
2025-01-02 15:35:57 +00:00
b14d2f292a
Create basic engine
2025-01-02 14:16:35 +00:00
21cf170b5a
Create project skeleton
2024-12-25 18:08:50 +00:00