1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 15:07:45 +00:00

Ports: Bring all ReadMes in line with their respective patches

This commit is contained in:
Tim Schumacher 2022-05-21 21:05:39 +02:00 committed by Linus Groh
parent 0e0db33a2a
commit 6641868c35
15 changed files with 118 additions and 139 deletions

View file

@ -1,19 +1,31 @@
# Patches for halflife
# Patches for halflife on SerenityOS
## `fwgs-add-serenity.patch`
Add SerenityOS to the supported architectures of FWGS.
Build: Add SerenityOS to list of compatible systems
This is required by the build system to spit out a library with
the correct name/platform.
## `fwgs-dont-format-nan-loop.patch`
This keeps FWGS from formatting a NaN value multiple times each frame,
which would otherwise result in a big performance hit.
Engine: Keep HTTP from endlessly formatting NaN values
For whatever reason, our progress count for HTTP downloads stays at 0.
This results in the engine calculating a NaN progress value many times
each frame, which results in a significant performance hit.
## `hlsdk-add-serenity.patch`
Add SerenityOS to the supported architectures of hlsdk.
Build: Add SerenityOS to list of compatible systems
This is required by the build system to spit out a library with
the correct name/platform.
## `hlsdk-strings-compat.patch`
This bypasses a bunch of `str[n]cmpcase` errors that occur due to weird LibC compatibility problems.
Build: Add `__STRINGS_H_COMPAT_HACK` macro
This bypasses a bunch of `str[n]cmpcase` errors that occur due to weird
LibC compatibility problems.