mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 12:47:34 +00:00
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.
This commit is contained in:
parent
9c3e36e72c
commit
368c255368
5 changed files with 181 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
From af5cc138782430963d05b2f92e60916f48c9f807 Mon Sep 17 00:00:00 2001
|
||||
From: Kenneth Myhra <kennethmyhra@gmail.com>
|
||||
Date: Mon, 1 May 2023 17:33:37 +0200
|
||||
Subject: [PATCH 1/2] [compat.h] Recognize endianness of SerenityOS by picking
|
||||
up endian.h
|
||||
|
||||
We have endian.h so let's pick that header.
|
||||
---
|
||||
include/compat.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/jfbuild/include/compat.h b/jfbuild/include/compat.h
|
||||
index 8a879b0..66ddcad 100644
|
||||
--- a/jfbuild/include/compat.h
|
||||
+++ b/jfbuild/include/compat.h
|
||||
@@ -100,7 +100,7 @@ typedef unsigned __int64 uint64_t;
|
||||
# define NULL ((void *)0)
|
||||
#endif
|
||||
|
||||
-#if defined(__linux)
|
||||
+#if defined(__linux) || defined(__serenity__)
|
||||
# include <endian.h>
|
||||
# if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# define B_LITTLE_ENDIAN 1
|
||||
--
|
||||
2.40.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue