Commit Graph

72 Commits

Author SHA1 Message Date
elasota
a3e8b51b37 Fail init if SDL window creation fails 2024-08-07 01:44:02 -04:00
elasota
547a2e6524 Only use precision prefixes in GLES (they don't work on AMD Windows) 2024-08-07 01:42:41 -04:00
Diomendius
1b18a87495 Normalize line endings
This commit contains only the result of `git add --renormalize .`

`git show --ignore-space-change` can verify that this commit only
changes whitespace.
2024-07-31 20:21:47 +12:00
elasota
9613299717 Update to SDL 2.30.5 2024-07-19 19:10:06 -04:00
elasota
a6d93f8daa Update to VS2022 2023-08-26 14:06:14 -04:00
elasota
545798600e Fix gamepads not working, enable on Android 2021-10-22 22:01:33 -04:00
elasota
9ba15c6d78 Update C++ projects to VS2019, fix warnings/errors 2021-10-22 22:01:14 -04:00
elasota
eac270670d Add command/meta key support 2021-08-02 01:04:22 -04:00
Madthijs
bd61b23bde code review changes 2021-05-14 21:40:56 +02:00
Madthijs
6fd1edd2c8 Merge branch 'master' into mac
# Conflicts:
#	GpApp/Main.cpp
2021-05-11 14:28:46 +02:00
elasota
f32866510e EOL fix 2021-05-07 02:59:30 -04:00
elasota
65d4784618 Fix desaturation filter not isolating wand star. 2021-05-04 18:26:23 -04:00
elasota
5187ef5dc6 Use upscale filter at 1.5x and 2.5x 2021-05-04 18:25:49 -04:00
Madthijs
2277d1340c Merge branch 'master' into mac 2021-05-04 16:18:01 +02:00
elasota
f24b0a0e77 Preprocess audio into S16 for faster mixing. 2021-04-29 20:16:24 -04:00
elasota
7442b92dd3 Make FS use new allocator API 2021-04-28 23:18:24 -04:00
Madthijs
c5a1303b71 Merge branch 'master' into mac
# Conflicts:
#	AerofoilX/GpMain_SDL_X.cpp
2021-04-28 19:17:55 +02:00
elasota
a2d374f650 Allocator refactor 2021-04-28 01:46:07 -04:00
elasota
2cd4e4f178 UTF refactor to eliminate duplicated code outside of PL 2021-04-27 09:54:01 -04:00
elasota
5d9dde6589 Refactor audio buffering API, this should mainly prevent SDL audio driver from allocating memory in the mixer callback. 2021-04-25 00:34:02 -04:00
elasota
f9d3b91f72 Fixed redundant set 2021-04-20 21:02:11 -04:00
elasota
1dc86a703e Fix somewhat incorrect upscale texture handling. Replace InstancedResources reset with something that's less likely to be undefined behavior. 2021-04-20 20:42:30 -04:00
Madthijs
82aaefe342 removed logging + fixed crash issue 2021-04-20 20:24:25 +02:00
Madthijs
bf1dad34c3 It's alive!!! 🦄 2021-04-13 17:18:54 +02:00
elasota
c49bab04d5 Fix modulation being applied twice 2021-04-11 10:57:33 -04:00
elasota
71f27f0a05 Fix some suboptimal audio constants. 2021-04-11 01:22:48 -04:00
elasota
b9fe553ff8 Improve mixer performance 2021-04-10 23:56:25 -04:00
elasota
7ae31bc7fc Use fixed latency offset in SDL mixer. This should fix score tick sounds having uneven spacing.
Reduce buffer to 512 samples again.
2021-04-10 21:54:41 -04:00
elasota
93195207dc Disable glGetError calls in release config 2021-04-07 00:03:09 -04:00
elasota
3692a966bf Tweak some values to help with sound choppiness in Chrome slightly, until we port to OpenAL 2021-03-30 05:23:44 -04:00
elasota
a6f6ffcdcc Remove log func 2021-03-30 00:00:07 -04:00
elasota
6fb45f480b Emscripten port 2021-03-29 21:41:11 -04:00
elasota
50f420d2b1 Font system refactor, use pre-rendered fonts 2021-03-27 03:01:19 -04:00
elasota
c87f238563 Display driver loop refactor 2021-03-26 17:05:38 -04:00
elasota
89831f0ff6 Fix Windows SDL build 2021-03-18 19:05:16 -04:00
elasota
7060676b73 Cygwin port 2021-03-18 17:08:11 -04:00
elasota
c981a97a20 Fix fullscreen prefs not working in SDL. Add SDL GameController support. 2021-03-05 01:56:32 -05:00
elasota
a5562f96e0 Move portable things to AerofoilPortable. 2021-03-05 00:35:43 -05:00
elasota
d97bd8ad1c Move some C++11 types from Android to AerofoilSDL. 2021-03-01 01:06:56 -05:00
elasota
e94d1511b1 Add 32-bit support to SDL version 2021-02-28 23:31:13 -05:00
elasota
15bdb97c38 Add volume control to SDL audio driver. 2021-02-28 22:58:01 -05:00
elasota
553e343abe Fix display resolution desynchronizing with auto-position 2020-11-30 02:59:02 -05:00
elasota
3c3f9e3675 Add 2-stage startup for mobile init so there's less black screen 2020-11-25 15:09:31 -05:00
elasota
5c640b72eb Code cleanup, move a lot of "Host" APIs to GpCommon 2020-11-25 12:05:59 -05:00
elasota
a13f90bd71 Fix upscale filter crash 2020-11-04 17:44:22 -05:00
elasota
02bccda8a0 Re-enable text input when selecting a text box if OSK was dismissed 2020-11-03 18:37:31 -05:00
elasota
0d5db76492 Add text input on mobile 2020-11-02 22:06:38 -05:00
elasota
2ab1416eef Improve upscale filter quality on mobile 2020-11-02 19:04:49 -05:00
elasota
64a2d712e3 Improve GL error logging, fix wrong texture upload on GLES2 2020-11-02 01:08:18 -05:00
elasota
232a98a380 Log OpenGL context resets 2020-11-01 13:48:14 -05:00