SDL3 port#873
Conversation
The initial work was done on YouTube: https://youtu.be/i3yVqWYFbCE This commit has been rebased and tweaked a little since the video. The SDL3 headers are in the commit before this one, and the SDL2 header removal follows one after, so as not to junk up this specific commit and make sure we don't have a commit where the SDL2 build fails.
One would want the game sounds to be reduced such that the microphone will not pick them up. Currently, it would be reversed, which does not make sense. Signed-off-by: Laslo Hunhold <dev@frign.de>
|
Ah yes, I was made aware. See PR #749. |
|
From the other PR:
Hahaha, totally on brand for me. :) This PR is in the same situation, waiting on distro packages, etc. Ubuntu, Fedora, and Arch (and probably many others) package it now, but you can't expect it on the older GitHub builders. For the builders, we could hook up GitHub Actions to use setup-sdl, which will figure out how to build SDL3 for the given platform and cache it for later runs, so you don't need a system package for it. Just needs a few extra lines in .github/workflows/build.yml, in the People with distros that lack SDL3 packages will need to install from source, of course. Anyhow, merge or steal anything you want from here, or close it outright. I'm happy to help with whatever direction you choose! |
|
Wow it's Ryan who made the MOHAA Linux port in around 2003 😃 For the GL1 gamma, someone suggested a solution on another issue: #632 (comment) Some engines have to resort to GL1 due to complexity of some features to be reimplemented in GL2. |
I meant to reply to this at the time but evidently completely forgot 🤦. As far as I remember I did a pass through your effort when I was made aware of it and combined the best bits of both into my branch, so basically I've already done the merge/steal part, so it probably makes sense to go with my branch as it's more up to date wrt main, though I do need to rebase it, now that I look at it. The GH action is interesting though; I'm not using that but probably should be. The existing solution is just to grab a tarball and build it on platforms where it's not available, so assuming it works in these places its use will definitely be an improvement. |
|
I plugged setup-sdl in here today, which fixed...OpenBSD. Most of the rest of the builds are all exploding because they are expecting an internal copy of libSDL to be in the tree, but it isn't. |
I did a YouTube video awhile ago, where I ported ioquake3 to SDL3. I thought I might go back and clean up the patch and put it in an pull request.
I see there is also an "sdl3" branch in the official repository, so it's possible we solved all the same problems. If there's something worth stealing from here, or one branch is just preferred over the other, I have no ego in this, so do whatever is best for the project.
Besides that, this PR is marked as a draft because there are things to consider in general: