Stephen Gregoratto
9f046ea0a4
Fixes for -Wstrict-prototype
2023-09-04 01:12:08 +10:00
Stephen Gregoratto
2b3fcaaf0b
Include 3rd-party libs as system headers
...
Now, the compiler will only report errors in our code and not in any of
these headers.
2023-09-04 01:12:05 +10:00
Stephen Gregoratto
90b9cffc60
Update sokol headers to fix a build issue on Windows
...
For some reason, the private method `_sapp_win32_init_console` used
`freopens` instead of `freopen_s`. Instead of fixing that, just upgrade
all the Sokol headers instead.
Also, the GLES2 renderer is no longer available for Emscripten, so bump
it up to GLES3.
2023-09-02 22:40:41 +10:00
Timothy Riley
61ffe2f410
Rename sokol app window for consistency
2023-08-31 00:07:49 -04:00
Dominic Szablewski
a84982b31e
Shutdown sokol audio on exit
2023-08-30 17:24:26 +02:00
Dominic Szablewski
108cfac9dc
Use Use appropriate platform-specific paths for assets and userdata; close #10 , #53 , #47
...
This commit also allows overriding these path at build time through
-DPATH_ASSETS=.. and -DPATH_USERDATA=..
2023-08-28 16:39:51 +02:00
Dominic Szablewski
209c1fd627
Add ALT+Enter hotkey to toggle fullscreen; close #45
2023-08-27 12:52:58 +02:00
Dominic Szablewski
6c85526fcd
Hide mouse cursor in fullscreen; close #23
2023-08-15 19:44:58 +02:00
Dominic Szablewski
5314d92ec6
[Sokol] Lower audio buffer size to prevent audio lag.
2023-08-15 19:32:47 +02:00
Dominic Szablewski
7cfaff0c7b
Initial
2023-08-10 14:10:51 +02:00