1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 15:30:47 +00:00
serenity/Ports/jfduke3d/patches
Kenneth Myhra 368c255368 Ports: Add Duke Nukem 3D
This adds 'JonoF's Duke Nukem 3D Port'.

Parts of the network-related stuff has been patched out.
See patch: patches/0002-mmulti.c-ifdef-out-network-related-stuff-we-currentl.patch

Notes:
- Some sound work seems to be needed. During the title screen and
  gameplay SFX works, but music does not play. At the ending screen of
  Hollywood Holocaust music does play.
- GTK has been disabled, by default it will start in fullscreen, to get
  back to windowed mode can be done through the Video Settings.
- OpenGL support has been disabled, as far as I can tell it will need
  OpenGL 2.0 support which we do not currently have.
- True 3D renderer has been turned on.
2023-05-03 15:39:24 +02:00
..
0001-compat.h-Recognize-endianness-of-SerenityOS-by-picki.patch Ports: Add Duke Nukem 3D 2023-05-03 15:39:24 +02:00
0002-mmulti.c-ifdef-out-network-related-stuff-we-currentl.patch Ports: Add Duke Nukem 3D 2023-05-03 15:39:24 +02:00
ReadMe.md Ports: Add Duke Nukem 3D 2023-05-03 15:39:24 +02:00

Patches for jfduke3d on SerenityOS

0001-compat.h-Recognize-endianness-of-SerenityOS-by-picki.patch

[compat.h] Recognize endianness of SerenityOS by picking up endian.h

We have endian.h so let's pick that header.

[mmulti.c] #ifdef out network-related stuff we currently

This patches out network-relatd stuff like IP_PKTINFO, IPV6_PKTINFO, and IP_RECVDSTADDR which we currently do not support.

This is merely done to make the code compile, and since we do not try to support any multiplayer option or other network-related stuff it should not matter for the time being.