ddnet/src
bors[bot] 6572f9e4fe
Merge #3779
3779: Copied Teeworld patches for the Haiku operating system r=def- a=panos

I initiated a port of ddnet and received a lot of help from the IRC in order to do so as seen in #2986. Unfortunately, my efforts went stale after one point. Fortunately, however, @threedeyes released a [set of patches for Teeworlds](2ea72967cd/games-action/teeworlds/patches/teeworlds-0.7.5.patchset). I decided to take down my repository with my own work and attempt to port Gerasim's work, which includes code for setting the directories that ddnet should use the same way one would do so in a Mac OS X-system in `src/base/system.c`, which was precisely the part where I got stuck in on my first attempt.

The changes have not been tested thoroughly yet and were the result of methodic copying and pasting.

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [x] Considered possible null pointers and out of bounds array indexing
- [x] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
2021-04-17 18:15:34 +00:00
..
antibot Run clang-format 2020-09-26 21:50:15 +02:00
base Merge #3779 2021-04-17 18:15:34 +00:00
engine Copied Teeworld patches for the Haiku operating system 2021-04-17 20:10:56 +02:00
game Merge #3768 2021-04-12 09:23:23 +00:00
macos OSX -> macOS 2021-02-12 13:41:41 +01:00
macoslaunch OSX -> macOS 2021-02-12 13:41:41 +01:00
mastersrv Port CConfig API from the upstream (0.7.5) 2021-01-10 17:10:19 +03:00
steam Run clang-format 2020-09-26 21:50:15 +02:00
test Fix parsing an IPv6 address without port 2021-04-17 16:05:39 +02:00
tools Map optimizer 2020-11-21 12:10:20 +01:00
twping Run clang-format 2020-09-26 21:50:15 +02:00