Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Haiku operating system #4309

Merged
merged 3 commits into from Jun 14, 2020
Merged

Add support for Haiku operating system #4309

merged 3 commits into from Jun 14, 2020

Conversation

n0toose
Copy link
Contributor

@n0toose n0toose commented Jun 14, 2020

Agreement

By creating a pull request in stk-code, you hereby agree to dual-license your contribution as
GNU General Public License version 3 or any later version and
Mozilla Public License version 2 or any later version.

This includes your previous contribution(s) under the same name of contributor.

Keep the above statement in the pull request comment for agreement.

So, this took a while. This pull request is meant to add support for the POSIX-compatible Haiku operating system and exists largely because of @Benau and @pulkomandy.

Multiplayer works, after a few small modifications to the socket code. The game runs under SDL (which is supported under Haiku) and OpenGL.

I only managed to try it in a KVM virtual machine (aka. it runs under the llvmpipeline) and not bare metal/physical hardware. The performance was a bit lackluster, but it still ran alright, despite the circumstances.

I also had to make some patches to the Irrlicht engine, as well as modify the Angelscript source code in order to add support for the 64-bit versions of Haiku (largely thanks to the *BSD code that was also available). The changes are not a part of the upstream yet, but I've e-mailed the developer of AngelScript to ask about it.

You can find out more about the Haiku operating system here.

@n0toose
Copy link
Contributor Author

@n0toose n0toose commented Jun 14, 2020

FYI: Before merging, I'd like to rebase the last 3 commits and sign them with my keys. Thanks.

@n0toose
Copy link
Contributor Author

@n0toose n0toose commented Jun 14, 2020

One more time...

n0toose and others added 3 commits Jun 14, 2020
* OpenGL and SDL2 are used
* Added Haiku platform in Irrlicht configurations
* Added support for Haiku in AngelScript
* Fixed multiple assertions
* Removed assertion
* Fixes networking/compiling on the Haiku operating system

Co-authored-by: Benau <Benau@users.noreply.github.com>
@n0toose
Copy link
Contributor Author

@n0toose n0toose commented Jun 14, 2020

Ugh, I keep messing up the signatures, sorry about that.

@Benau Benau merged commit cdb33f1 into supertuxkart:master Jun 14, 2020
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants