diff options
Diffstat (limited to 'games-fps/duke3d')
-rw-r--r-- | games-fps/duke3d/Manifest | 14 | ||||
-rw-r--r-- | games-fps/duke3d/duke3d-20040817-r2.ebuild | 114 | ||||
-rw-r--r-- | games-fps/duke3d/files/20040817-credits.patch | 38 | ||||
-rw-r--r-- | games-fps/duke3d/files/20040817-duke3d-makefile-opts.patch | 33 | ||||
-rw-r--r-- | games-fps/duke3d/files/20040817-endian.patch | 26 | ||||
-rw-r--r-- | games-fps/duke3d/files/20040817-gcc34.patch | 82 | ||||
-rw-r--r-- | games-fps/duke3d/files/duke3d-20040817-as-needed.patch | 74 | ||||
-rw-r--r-- | games-fps/duke3d/files/duke3d-20040817-gcc4.patch | 180 | ||||
-rw-r--r-- | games-fps/duke3d/files/duke3d-20040817-ldflags.patch | 66 | ||||
-rw-r--r-- | games-fps/duke3d/files/duke3d-20040817-noinline.patch | 18 | ||||
-rw-r--r-- | games-fps/duke3d/files/duke3d.cfg | 194 | ||||
-rw-r--r-- | games-fps/duke3d/files/network.cfg | 15 | ||||
-rw-r--r-- | games-fps/duke3d/metadata.xml | 61 |
13 files changed, 0 insertions, 915 deletions
diff --git a/games-fps/duke3d/Manifest b/games-fps/duke3d/Manifest deleted file mode 100644 index 520c2e10e5e3..000000000000 --- a/games-fps/duke3d/Manifest +++ /dev/null @@ -1,14 +0,0 @@ -AUX 20040817-credits.patch 1271 BLAKE2B 9602782518bbc25b92dd72d8c10f57c7842ea97121b642aec2a61a6dcf233a285159459aaaab8c3772eab30fbe049444a4fff4f7bf329f1defeb121b354269ee SHA512 40648806d616846198a990b6e0608c76fe44ddaaa593d855fafa89697f575fe968232939cc28602db60d0e941b9067705b38c5eb66ed0a824ed8007f5d5deb70 -AUX 20040817-duke3d-makefile-opts.patch 867 BLAKE2B c382bbd818ab15173a2d4e3053dcb3c243e54f3e7f1df2dfffae53f7e5d6b320586c431cffdfd0f2311970d35870f5973b80817ce8f1f219a88f6d715cfeb202 SHA512 752937486d8f16bb7ced895b1659571aaa99ae94b14cca543f5c248cd532d52a580d324978a8b71c27e99423cdbad95266b5c58eca6e027c49fbb64ef186c6bf -AUX 20040817-endian.patch 744 BLAKE2B c1af086ff1d452b356348ed019d743e1ed692cf3e448de55dc4ee741b563dfbdbf22303bb1b952bbf710005736794d5f07d1ec8d756e41cc0d5de39bb5156c4b SHA512 44fe2bc1509f528bc74a542325703a845d0ad9198b102d400108eb7999c73d776c0ed552b98746a5dae4dd4e8bdfc558efe83d7d5e30dac2e211076244fdbe70 -AUX 20040817-gcc34.patch 1886 BLAKE2B 7f8359098d1cbbbe94417ed899ccde72e9fee2316b3120d68d066765ac1e9b8d7d8624d4c1dcbea8f7b146070e4a87514b67af4a333a2f4f1b51a439d9ba5c94 SHA512 96e6ccffaa0334b1acfeb6542cf729eab22be5ea04c8985f5133c3a73d3ba26a568de7de00ff9bfbdc822edfb1b1438740f742d92b5fb3da62887e2aaf3f1076 -AUX duke3d-20040817-as-needed.patch 2730 BLAKE2B 86fcfead798ffb14b4399a8d931c93635656957372cc7fdd7e126e0013c03c8de5921e24a4314ef1134af0805475df62f53aa52d5b840f6ba42be7099c04ac35 SHA512 e9032d43edfb03bebd63de8cdd666e2ffd8bd1ec7e45dc2b50f6ca9db09853dba627f66454549a6c473984e610046a48539323a0ec02f2a19e2c3df4d15ceee0 -AUX duke3d-20040817-gcc4.patch 10413 BLAKE2B ddb013a5ff9e48fd7b871fa254c514f33148087c0593fbdc40878e17c339d928f7b497152f32fa17f895398e556cfaf8d2a8c1ea889f26dd5b6243ddd0ac3b68 SHA512 d00c07b987e10485313dea04d4b42bff530275f8c618e46104d435d3f65671d2271dc1c41426d816eddb9c41c0677269d4930f57780b23451355581e48f70dcf -AUX duke3d-20040817-ldflags.patch 2132 BLAKE2B 2ad5c888753ac91b17209c99a0b97b6d3db0108083d8b98e2c4877f660f9390d43b0ef7260a199819d08e0a8c86e2924f0436d840ba5bf0322d3f8ab8a88da96 SHA512 afdcbc422b98c3c07bc4aea54865f2c7a167838eaa2270109e0066fb2e1db069bf5034bb78c0dd428baa0372465be4614125243a33aedfba19938b8e8f905b27 -AUX duke3d-20040817-noinline.patch 545 BLAKE2B b257119e4ac991f3ce2f7135d387baf40fb7fa168c2a130995916efb03fe0ab2efd170b3f3bfd2748a2716cd7c83f6238075b150205a70ada802c6191e028686 SHA512 aad5543419c762083a908b3905c22efa102cc6d9724a7fb5ee5eab96fd490c1afce632395a53049ec1b6d2123aed1c2440e583994773916eb1268bc75471ea79 -AUX duke3d.cfg 4314 BLAKE2B a6db96d8bf23823ce1df5458248a5a6b5b1ceb3f119bb939206b886311ebe7bedec9d7ff93a509bd7873a57ff9b0b28d5d5b16d1fe5dbb8bc4e7c2d9e6c5c3a8 SHA512 5b4d020d6ea9b5bfdc4333c2a0b90667577662ed32a826263560e74bd436372d689d179290a87c86d921c4accbaa75da013a3426d98f49cc7ffb6a1be5fb25a7 -AUX network.cfg 398 BLAKE2B 7f60933e9cabb129899021c3b70315cad6d9e608c53b26a39575ffc7e4a121d47b3c8e6cbb1a1363d25e142914e6224977f16856fcc972bc003333687356b0fa SHA512 89a5261453c5ad14caed7e768ef6a337f601afd2e02809987708cfad9f356847a3249ab7b1fb6f0e084874100afc1494d62e4d898f4433c1f4f763a1e822f26b -DIST 3dduke13.zip 5924374 BLAKE2B 177329f04defdd2a2ab35a1926a321bbc8de023878ad6bec610669b5578cbe2f38bc0b03a37c0d0d2dcc99acf2b473ddf683b498b971b857b20964bcdbc7d7c8 SHA512 eb92daa88b4e7cfeebe1fb3d2c021e0a4a66262d0d6e76b5e27fe3cedd382e381d23b392a6d9adb42a418b9318e011c2d8adfbdc77d7c5371e61d8c091c7eb65 -DIST duke3d-20040817.tar.bz2 1509273 BLAKE2B 261ffcce5d3ed68f52e04167c43ae70ccb08818fce8a0790ef333ad1b421d9184e9c9ede7c2e6a5eb73978f384e6439439824ac7da7c4ac2f23ef87820a6c4cc SHA512 a08aa07153458501fb01878769af9797460525015b34d743250e3f04f15ee2dcfbb4110c94c83912ba2435e6d6c48127e2d36c0dc29833e0f6f95e3b925b571c -EBUILD duke3d-20040817-r2.ebuild 2810 BLAKE2B 3724a3ffc357bbc82ad05dc02b6979fd40dbff34ebc5e4fdfa18ca468dafb5f1439d3235dca937d330c401505be26e80fa13300a5355ed099ba98d6ec2615b43 SHA512 bc8336762f214e334cf78da61ac077f2760bdeab4e6162184b2fbc90e8f24377c45fead7b82ec13a08755521edc1e32c019aa9b59a5b39020c992bf075e6849c -MISC metadata.xml 2851 BLAKE2B 9f72d139d238f08adfc7c404dd93aa49d593d738d0080b8f4345aebc2f4ae308576f950ad97b1b35f1051368b1fc10892ed1d2446bdbfb06a24a3132dc39df55 SHA512 ae872ac33570fc2f067e50a29e4a9c8d51477d64cbf2596889421a09a07b78e9041d8c60abf33cdaa4f16a6079fc49bd4307493620ea8d47c74b37b4cc697d04 diff --git a/games-fps/duke3d/duke3d-20040817-r2.ebuild b/games-fps/duke3d/duke3d-20040817-r2.ebuild deleted file mode 100644 index e75632b67acc..000000000000 --- a/games-fps/duke3d/duke3d-20040817-r2.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -fromcvs=0 -inherit unpacker eutils flag-o-matic games - -DEMO="3dduke13.zip" - -DESCRIPTION="Port of the original Duke Nukem 3D" -HOMEPAGE="http://icculus.org/projects/duke3d/" -SRC_URI="mirror://gentoo/${P}.tar.bz2 - demo? ( - ftp://ftp.3drealms.com/share/${DEMO} - ftp://ftp.planetmirror.com/pub/gameworld/downloads/${DEMO} - )" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~hppa ~x86" -IUSE="demo pic perl opengl" - -RDEPEND="media-libs/libsdl - media-libs/sdl-mixer - media-sound/timidity++ - media-sound/timidity-eawpatches - perl? ( dev-lang/perl[-ithreads] ) - opengl? ( virtual/opengl )" -DEPEND="${RDEPEND} - demo? ( app-arch/unzip ) - !pic? ( x86? ( dev-lang/nasm ) )" - -S=${WORKDIR}/${PN} - -use_tf() { use ${1} && echo "true" || echo "false"; } - -src_unpack() { - unpack ${A} - if use demo ; then - unpack_zip DN3DSW13.SHR - fi -} - -src_prepare() { - # configure buildengine - cd "${S}/source/buildengine" - sed -i \ - -e "/^useperl := / s:=.*:= $(use_tf perl):" \ - -e "/^useopengl := / s:=.*:= $(use_tf opengl):" \ - -e "/^usephysfs := / s:=.*:= false:" \ - -e 's:-O3::' -e 's: -g : :' \ - -e 's:/usr/lib/perl5/i386-linux/CORE/libperl.a::' \ - Makefile || die - epatch "${FILESDIR}/${PV}-endian.patch" - - # configure duke3d - cd "${S}/source" - # need to sync features with build engine - epatch \ - "${FILESDIR}/${PV}-credits.patch" \ - "${FILESDIR}/${PV}-duke3d-makefile-opts.patch" \ - "${FILESDIR}/${PV}-gcc34.patch" \ - "${FILESDIR}"/${P}-gcc4.patch \ - "${FILESDIR}"/${P}-noinline.patch \ - "${FILESDIR}"/${P}-as-needed.patch \ - "${FILESDIR}"/${P}-ldflags.patch - sed -i \ - -e "/^use_opengl := / s:=.*:= $(use_tf opengl):" \ - -e "/^use_physfs := / s:=.*:= false:" \ - Makefile || die - if ! use pic && use x86 ; then - sed -i \ - -e 's:^#USE_ASM:USE_ASM:' buildengine/Makefile || die - sed -i \ - -e '/^#use_asm := /s:#::' Makefile || die - fi - - # causes crazy redefine errors with gcc-3.[2-4].x - replace-flags -O3 -O2 - strip-flags #203969 -} - -src_compile() { - emake -C source/buildengine OPTFLAGS="${CFLAGS}" - emake -C source OPTIMIZE="${CFLAGS}" -} - -src_install() { - games_make_wrapper duke3d "${GAMES_BINDIR}/duke3d.bin" "${GAMES_DATADIR}/${PN}" - newgamesbin source/duke3d duke3d.bin - - dodoc readme.txt - - cd testdata - insinto "${GAMES_DATADIR}/${PN}" - newins defs.con DEFS.CON - newins game.con GAME.CON - newins user.con USER.CON - newins "${FILESDIR}/network.cfg" network.cfg.template - if use demo ; then - doins "${WORKDIR}/DUKE3D.GRP" - fi - - insinto "${GAMES_SYSCONFDIR}" - doins "${FILESDIR}/duke3d.cfg" - dosym "${GAMES_SYSCONFDIR}/duke3d.cfg" "${GAMES_DATADIR}/${PN}/DUKE3D.CFG" - - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst - use demo || elog "Put the data files in ${GAMES_DATADIR}/${PN} before playing" -} diff --git a/games-fps/duke3d/files/20040817-credits.patch b/games-fps/duke3d/files/20040817-credits.patch deleted file mode 100644 index 19eefa4bf423..000000000000 --- a/games-fps/duke3d/files/20040817-credits.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- a/menues.c 2003-08-17 22:16:10.000000000 +0200 -+++ b/menues.c 2004-03-29 01:59:28.000000000 +0200 -@@ -1747,9 +1747,10 @@ - case 996: - case 997: - --// rotatesprite(c<<16,200<<15,65536L,0,MENUSCREEN,16,0,10+64,0,0,xdim-1,ydim-1); --// rotatesprite(c<<16,19<<16,65536L,0,MENUBAR,16,0,10,0,0,xdim-1,ydim-1); --// menutext(c,24,0,0,"CREDITS"); -+ c = (320>>1); -+ rotatesprite(c<<16,200<<15,65536L,0,MENUSCREEN,16,0,10+64,0,0,xdim-1,ydim-1); -+ rotatesprite(c<<16,19<<16,65536L,0,MENUBAR,16,0,10,0,0,xdim-1,ydim-1); -+ menutext(c,24,0,0,"CREDITS"); - - if(KB_KeyPressed(sc_Escape)) { cmenu(0); break; } - -@@ -1926,6 +1927,21 @@ - - menutext(c,67+16+16+16+16+16,SHX(-7),PHX(-7),"QUIT"); - -+ gametext(c,67+16+16+16+16+16+16+16,"Duke Nukem 3D for " -+#if defined PLATFORM_MACOSX -+ "MacOS" -+#elif defined PLATFORM_DOS -+ "MS-Dos" -+#elif defined PLATFORM_WIN32 -+ "Win32" -+#elif defined PLATFORM_UNIX -+ "Gentoo" -+#else -+ "unknown" -+#endif -+ ,16,2+8+16); -+ gametext(c,67+16+16+16+16+16+16+16+9,"build " __DATE__ " " __TIME__,16,2+8+16); -+ - break; - // CTW END - MODIFICATION - diff --git a/games-fps/duke3d/files/20040817-duke3d-makefile-opts.patch b/games-fps/duke3d/files/20040817-duke3d-makefile-opts.patch deleted file mode 100644 index 9ed2a0052153..000000000000 --- a/games-fps/duke3d/files/20040817-duke3d-makefile-opts.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- a/Makefile.orig 2003-08-17 17:45:35.948650760 -0400 -+++ b/Makefile 2003-08-17 17:46:36.894385600 -0400 -@@ -4,6 +4,8 @@ - beos := false - macosx := false - #use_asm := true -+use_opengl := true -+use_physfs := false - - #-----------------------------------------------------------------------------# - # If this makefile fails to detect Cygwin correctly, or you want to force -@@ -80,6 +81,10 @@ - buildengine/pragmas.o \ - buildengine/unix_compat.o - -+ifeq ($(strip $(use_opengl)),true) -+ BUILDOBJS += buildengine/buildgl.o -+endif -+ - ifeq ($(strip $(use_asm)),true) - BUILDOBJS += buildengine/a_gnu.o buildengine/a_nasm.o - else -@@ -106,6 +106,10 @@ - - LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS) - -+ifeq ($(strip $(use_physfs)),true) -+ LDLIBS += -lphysfs -+endif -+ - # !!! FIXME: Do we even need this? It doesn't fly on MacOS X. --ryan. - #LDLIBS += -Wl,-E - diff --git a/games-fps/duke3d/files/20040817-endian.patch b/games-fps/duke3d/files/20040817-endian.patch deleted file mode 100644 index 3bcdc1379db6..000000000000 --- a/games-fps/duke3d/files/20040817-endian.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- buildengine/platform.h.old 2003-08-07 12:06:17.000000000 +0200 -+++ buildengine/platform.h 2004-08-24 18:35:05.292291088 +0200 -@@ -5,6 +5,7 @@ - #include "win32_compat.h" - #elif (defined PLATFORM_UNIX) - #include "unix_compat.h" -+#include <endian.h> - #elif (defined PLATFORM_DOS) - #include "doscmpat.h" - #else -@@ -60,9 +61,15 @@ - #define BUILDSWAP_INTEL16(x) _swap16(x) - #define BUILDSWAP_INTEL32(x) _swap32(x) - #else -+#if __BYTE_ORDER == __LITTLE_ENDIAN - #define PLATFORM_LITTLEENDIAN 1 - #define BUILDSWAP_INTEL16(x) (x) - #define BUILDSWAP_INTEL32(x) (x) -+#else -+#define PLATFORM_BIGENDIAN 1 -+#define BUILDSWAP_INTEL16(x) _swap16(x) -+#define BUILDSWAP_INTEL32(x) _swap32(x) -+#endif - #endif - - extern int has_altivec; /* PowerPC-specific. */ diff --git a/games-fps/duke3d/files/20040817-gcc34.patch b/games-fps/duke3d/files/20040817-gcc34.patch deleted file mode 100644 index a7de9c116383..000000000000 --- a/games-fps/duke3d/files/20040817-gcc34.patch +++ /dev/null @@ -1,82 +0,0 @@ ---- source/astub.c.orig 2004-08-22 14:44:50.691126872 +0100 -+++ source/astub.c 2004-08-22 14:47:15.532107696 +0100 -@@ -540,6 +540,11 @@ - return(tempbuf); - } //end - -+void SpriteName(short spritenum, char *lo2) -+{ -+ sprintf(lo2,names[sprite[spritenum].picnum]); -+}// end SpriteName -+ - const char *ExtGetSpriteCaption(short spritenum) - { - -@@ -608,7 +613,11 @@ - // y1, y2 0-143 (status bar is 144 high, origin is top-left of STATUS BAR) - // col 0-15 - -- -+void PrintStatus(char *string,int num,char x,char y,char color) -+{ -+ sprintf(tempbuf,"%s %d",string,num); -+ printext16(x*8,y*8,color,-1,tempbuf,0); -+} - - void TotalMem() - { -@@ -1276,18 +1285,6 @@ - - } - -- --void PrintStatus(char *string,int num,char x,char y,char color) --{ -- sprintf(tempbuf,"%s %d",string,num); -- printext16(x*8,y*8,color,-1,tempbuf,0); --} -- --void SpriteName(short spritenum, char *lo2) --{ -- sprintf(lo2,names[sprite[spritenum].picnum]); --}// end SpriteName -- - char GAMEpalette[768]; - char WATERpalette[768]; - char SLIMEpalette[768]; -@@ -1326,6 +1323,17 @@ - ReadGamePalette(); - }// end ReadPaletteTable - -+void Ver() -+{ -+ sprintf(tempbuf,"DUKE NUKEM BUILD: V032696"); -+ if (qsetmode == 200) //In 3D mode -+ { printext256(60*8,24*8,11,-1,tempbuf,1); -+ rotatesprite((320-8)<<16,(200-8)<<16,64<<9,0,SPINNINGNUKEICON+(((4-totalclock>>3))&7),0,0,0,0,0,xdim-1,ydim-1); -+ }else -+ { printext16(0,0,15,-1,tempbuf,0); -+ } -+} -+ - void Keys3d(void) - { - long i,count,rate,nexti; -@@ -2206,17 +2214,6 @@ - } - } - --void Ver() --{ -- sprintf(tempbuf,"DUKE NUKEM BUILD: V032696"); -- if (qsetmode == 200) //In 3D mode -- { printext256(60*8,24*8,11,-1,tempbuf,1); -- rotatesprite((320-8)<<16,(200-8)<<16,64<<9,0,SPINNINGNUKEICON+(((4-totalclock>>3))&7),0,0,0,0,0,xdim-1,ydim-1); -- }else -- { printext16(0,0,15,-1,tempbuf,0); -- } --} -- - ActorMem(int i) - {int total=0,j; - switch(i) diff --git a/games-fps/duke3d/files/duke3d-20040817-as-needed.patch b/games-fps/duke3d/files/duke3d-20040817-as-needed.patch deleted file mode 100644 index c7793a833bf9..000000000000 --- a/games-fps/duke3d/files/duke3d-20040817-as-needed.patch +++ /dev/null @@ -1,74 +0,0 @@ -diff -ur duke3d/source/buildengine/Makefile duke3d-patched/source/buildengine/Makefile ---- source/buildengine/Makefile 2004-05-15 05:15:05.000000000 +0200 -+++ source/buildengine/Makefile 2008-02-27 23:10:46.000000000 +0100 -@@ -99,11 +99,11 @@ - ifeq ($(strip $(SDL_LIB_DIR)),please_set_me_cygwin_users) - $(error Cygwin users need to set the SDL_LIB_DIR envr var.) - else -- SDL_LDFLAGS := -L$(SDL_LIB_DIR) -lSDL -+ SDL_LIBS := -L$(SDL_LIB_DIR) -lSDL - endif - else - SDL_CFLAGS := $(shell sdl-config --cflags) -- SDL_LDFLAGS := $(shell sdl-config --libs) -+ SDL_LIBS := $(shell sdl-config --libs) - endif - - CC = gcc -@@ -202,7 +202,7 @@ - ASMFLAGS = -f $(ASMOBJFMT) $(ASMDEFS) - LINKER = gcc - CFLAGS += $(USE_ASM) -funsigned-char -DPLATFORM_UNIX -Wall $(SDL_CFLAGS) -fno-omit-frame-pointer --LDFLAGS += $(SDL_LDFLAGS) -+LDLIBS += $(SDL_LIBS) - - # Rules for turning source files into .o files - %.o: %.c -@@ -236,17 +236,17 @@ - - ifeq ($(strip $(usedlls)),true) - $(ENGINEDLL) : $(ENGINEOBJS) -- $(LINKER) -shared -o $(ENGINEDLL) $(LDFLAGS) $(ENGINEOBJS) -+ $(LINKER) -shared -o $(ENGINEDLL) $(LDFLAGS) $(ENGINEOBJS) $(LDLIBS) - - $(NETDLL) : $(NETOBJS) -- $(LINKER) -shared -o $(NETDLL) $(LDFLAGS) $(NETOBJS) -+ $(LINKER) -shared -o $(NETDLL) $(LDFLAGS) $(NETOBJS) $(LDLIBS) - endif - - $(GAMEEXE) : $(ENGINEDLL) $(NETDLL) $(GAMEOBJS) $(PERLOBJS) -- $(LINKER) -o $(GAMEEXE) $(LDFLAGS) $(LDPERL) $(PERLOBJS) $(GAMEOBJS) $(ENGINEDLL) $(NETDLL) -+ $(LINKER) -o $(GAMEEXE) $(LDFLAGS) $(PERLOBJS) $(GAMEOBJS) $(LDPERL) $(LDLIBS) $(ENGINEDLL) $(NETDLL) - - $(BUILDEXE) : $(ENGINEDLL) $(BUILDOBJS) -- $(LINKER) -o $(BUILDEXE) $(LDFLAGS) $(BUILDOBJS) $(ENGINEDLL) -+ $(LINKER) -o $(BUILDEXE) $(LDFLAGS) $(BUILDOBJS) $(LDLIBS) $(ENGINEDLL) - - listclean: - @echo "A 'make clean' would remove" $(CLEANUP) -diff -ur duke3d/source/Makefile duke3d-patched/source/Makefile ---- source/Makefile 2004-05-15 05:14:16.000000000 +0200 -+++ source/Makefile 2008-02-27 23:09:57.000000000 +0100 -@@ -45,11 +45,11 @@ - ifeq ($(strip $(SDL_LIB_DIR)),please_set_me_cygwin_users) - $(error Cygwin users need to set the SDL_LIB_DIR envr var.) - else -- SDL_LDFLAGS := -L$(SDL_LIB_DIR) -lSDL -+ SDL_LIBS := -L$(SDL_LIB_DIR) -lSDL - endif - else - SDL_CFLAGS := $(shell sdl-config --cflags) -- SDL_LDFLAGS := $(shell sdl-config --libs) -L. -+ SDL_LIBS := $(shell sdl-config --libs) -L. - endif - - ifeq ($(strip $(macosx)),true) -@@ -104,7 +104,7 @@ - #CC = icc - #CFLAGS = -g $(SDL_CFLAGS) -DUSE_SDL=1 -DPLATFORM_UNIX=1 -DUSE_I386_ASM=1 $(EXTRACFLAGS) -O2 - --LDLIBS = $(SDL_LDFLAGS) -lSDL -lSDL_mixer $(EXTRALDFLAGS) -+LDLIBS = $(SDL_LIBS) -lSDL -lSDL_mixer $(EXTRALDFLAGS) - - # !!! FIXME: Do we even need this? It doesn't fly on MacOS X. --ryan. - #LDLIBS += -Wl,-E diff --git a/games-fps/duke3d/files/duke3d-20040817-gcc4.patch b/games-fps/duke3d/files/duke3d-20040817-gcc4.patch deleted file mode 100644 index 3aaf67c6c90b..000000000000 --- a/games-fps/duke3d/files/duke3d-20040817-gcc4.patch +++ /dev/null @@ -1,180 +0,0 @@ -iff -ur duke3d/source/buildengine/a.c duke3d-gcc4/source/buildengine/a.c ---- source/buildengine/a.c 2004-11-25 13:55:21.000000000 -0500 -+++ source/buildengine/a.c 2005-06-18 18:14:24.000000000 -0400 -@@ -186,7 +186,9 @@ - if (i3 == 0) - { - i1 += i4; -- ((unsigned long)i4) >>= mach3_al; -+ unsigned long temp = i4; -+ temp >>= mach3_al; -+ i4 = temp; - i4 = (i4&0xffffff00) | (source[i4]&0xff); - *dest = ((unsigned char*)i2)[i4]; - return i1; -diff -ur duke3d/source/buildengine/pragmas.c duke3d-gcc4/source/buildengine/pragmas.c ---- source/buildengine/pragmas.c 2003-07-25 20:11:32.000000000 -0400 -+++ source/buildengine/pragmas.c 2005-06-18 18:25:37.000000000 -0400 -@@ -56,28 +56,39 @@ - - void clearbufbyte(void *buffer, int size, long fill_value) { - int lsize; -+ unsigned char *p=buffer; -+ unsigned short *s=buffer; - switch(size){ - case 0: return; -- case 1: *((unsigned char*)buffer)++ = fill_value; return; -- case 2: *((unsigned short*)buffer)++ = fill_value; return; -- case 3: { unsigned char *p=buffer; p[2]=p[1]=p[0] = fill_value;} return; -+ case 1: *p = fill_value; return; -+ case 2: *s = fill_value; return; -+ case 3: { p[2]=p[1]=p[0] = fill_value;} return; - default: - if ((int)buffer&1) { -- *((unsigned char*)buffer)++ = fill_value; size--; -+ *p = fill_value; ++p; size--; -+ buffer = p; - } - if ((int)buffer&2) { -- *((unsigned short*)buffer)++ = fill_value; size-=2; -+ *s = fill_value; ++s; size-=2; -+ buffer = s; - } - lsize = size>>2; -+ unsigned int *up = buffer; - while(lsize) { -- *((unsigned int*)buffer)++ = fill_value; -+ *up = fill_value; -+ ++up; - lsize--; - } -+ buffer = up; - if (size&2) { -- *((unsigned short*)buffer)++ = fill_value; -+ s = buffer; -+ *s = fill_value; -+ ++s; - } - if (size&1) { -- *((unsigned char*)buffer)++ = fill_value; -+ p = buffer; -+ *p = fill_value; -+ ++p; - } - } - } -@@ -122,7 +133,7 @@ - { - *((unsigned short *)source) = ((linum>>16)&0xffff); - linum += linum_inc; -- ((unsigned char*)source) = ((unsigned char*)source) + 2; -+ source = ((unsigned char*)source) + 2; - size--; - if (size == 0) return; - } - -diff -u -r duke3d/source/buildengine/a.h duke3d.gcc4.1.1/source/buildengine/a.h ---- source/buildengine/a.h 2003-04-11 08:54:06.000000000 +0200 -+++ source/buildengine/a.h 2006-06-22 12:14:40.366393568 +0200 -@@ -116,56 +116,56 @@ - - #if ((defined __GNUC__) && (!defined C_IDENTIFIERS_UNDERSCORED)) - -- long asm_mmxoverlay(void) __attribute__ ((alias ("_asm_mmxoverlay"))); -- long asm_sethlinesizes(long,long,long) __attribute__ ((alias ("_asm_sethlinesizes"))); -- long asm_setpalookupaddress(char *) __attribute__ ((alias ("_asm_setpalookupaddress"))); -- long asm_setuphlineasm4(long,long) __attribute__ ((alias ("_asm_setuphlineasm4"))); -- long asm_hlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_hlineasm4"))); -- long asm_setuprhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setuprhlineasm4"))); -- long asm_rhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_rhlineasm4"))); -- long asm_setuprmhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setuprmhlineasm4"))); -- long asm_rmhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_rmhlineasm4"))); -- long asm_setupqrhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setupqrhlineasm4"))); -- long asm_qrhlineasm4(long,long,long,long,long,long) __attribute__ ((alias ("_asm_qrhlineasm4"))); -- long asm_setvlinebpl(long) __attribute__ ((alias ("_asm_setvlinebpl"))); -- long asm_fixtransluscence(long) __attribute__ ((alias ("_asm_fixtransluscence"))); -- long asm_prevlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_prevlineasm1"))); -- long asm_vlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_vlineasm1"))); -- long asm_setuptvlineasm(long) __attribute__ ((alias ("_asm_setuptvlineasm"))); -- long asm_tvlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tvlineasm1"))); -- long asm_setuptvlineasm2(long,long,long) __attribute__ ((alias ("_asm_setuptvlineasm2"))); -- long asm_tvlineasm2(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tvlineasm2"))); -- long asm_mvlineasm1(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mvlineasm1"))); -- long asm_setupvlineasm(long) __attribute__ ((alias ("_asm_setupvlineasm"))); -- long asm_vlineasm4(long,long) __attribute__ ((alias ("_asm_vlineasm4"))); -- long asm_setupmvlineasm(long) __attribute__ ((alias ("_asm_setupmvlineasm"))); -- long asm_mvlineasm4(long,long) __attribute__ ((alias ("_asm_mvlineasm4"))); -- void asm_setupspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_setupspritevline"))); -- void asm_spritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_spritevline"))); -- void asm_msetupspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_msetupspritevline"))); -- void asm_mspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mspritevline"))); -- void asm_tsetupspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tsetupspritevline"))); -- void asm_tspritevline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_tspritevline"))); -- long asm_mhline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mhline"))); -- long asm_mhlineskipmodify(long,long,long,long,long,long) __attribute__ ((alias ("_asm_mhlineskipmodify"))); -- long asm_msethlineshift(long,long) __attribute__ ((alias ("_asm_msethlineshift"))); -- long asm_thline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_thline"))); -- long asm_thlineskipmodify(long,long,long,long,long,long) __attribute__ ((alias ("_asm_thlineskipmodify"))); -- long asm_tsethlineshift(long,long) __attribute__ ((alias ("_asm_tsethlineshift"))); -- long asm_setupslopevlin(long,long,long) __attribute__ ((alias ("_asm_setupslopevlin"))); -- long asm_slopevlin(long,long,long,long,long,long) __attribute__ ((alias ("_asm_slopevlin"))); -- long asm_settransnormal(void) __attribute__ ((alias ("_asm_settransnormal"))); -- long asm_settransreverse(void) __attribute__ ((alias ("_asm_settransreverse"))); -- long asm_setupdrawslab(long,long) __attribute__ ((alias ("_asm_setupdrawslab"))); -- long asm_drawslab(long,long,long,long,long,long) __attribute__ ((alias ("_asm_drawslab"))); -- long asm_stretchhline(long,long,long,long,long,long) __attribute__ ((alias ("_asm_stretchhline"))); -- long asm_isvmwarerunning(void) __attribute__ ((alias ("_asm_isvmwarerunning"))); -+ long asm_mmxoverlay(void) asm ("_asm_mmxoverlay"); -+ long asm_sethlinesizes(long,long,long) asm ("_asm_sethlinesizes"); -+ long asm_setpalookupaddress(char *) asm ("_asm_setpalookupaddress"); -+ long asm_setuphlineasm4(long,long) asm ("_asm_setuphlineasm4"); -+ long asm_hlineasm4(long,long,long,long,long,long) asm ("_asm_hlineasm4"); -+ long asm_setuprhlineasm4(long,long,long,long,long,long) asm ("_asm_setuprhlineasm4"); -+ long asm_rhlineasm4(long,long,long,long,long,long) asm ("_asm_rhlineasm4"); -+ long asm_setuprmhlineasm4(long,long,long,long,long,long) asm ("_asm_setuprmhlineasm4"); -+ long asm_rmhlineasm4(long,long,long,long,long,long) asm ("_asm_rmhlineasm4"); -+ long asm_setupqrhlineasm4(long,long,long,long,long,long) asm ("_asm_setupqrhlineasm4"); -+ long asm_qrhlineasm4(long,long,long,long,long,long) asm ("_asm_qrhlineasm4"); -+ long asm_setvlinebpl(long) asm ("_asm_setvlinebpl"); -+ long asm_fixtransluscence(long) asm ("_asm_fixtransluscence"); -+ long asm_prevlineasm1(long,long,long,long,long,long) asm ("_asm_prevlineasm1"); -+ long asm_vlineasm1(long,long,long,long,long,long) asm ("_asm_vlineasm1"); -+ long asm_setuptvlineasm(long) asm ("_asm_setuptvlineasm"); -+ long asm_tvlineasm1(long,long,long,long,long,long) asm ("_asm_tvlineasm1"); -+ long asm_setuptvlineasm2(long,long,long) asm ("_asm_setuptvlineasm2"); -+ long asm_tvlineasm2(long,long,long,long,long,long) asm ("_asm_tvlineasm2"); -+ long asm_mvlineasm1(long,long,long,long,long,long) asm ("_asm_mvlineasm1"); -+ long asm_setupvlineasm(long) asm ("_asm_setupvlineasm"); -+ long asm_vlineasm4(long,long) asm ("_asm_vlineasm4"); -+ long asm_setupmvlineasm(long) asm ("_asm_setupmvlineasm"); -+ long asm_mvlineasm4(long,long) asm ("_asm_mvlineasm4"); -+ void asm_setupspritevline(long,long,long,long,long,long) asm ("_asm_setupspritevline"); -+ void asm_spritevline(long,long,long,long,long,long) asm ("_asm_spritevline"); -+ void asm_msetupspritevline(long,long,long,long,long,long) asm ("_asm_msetupspritevline"); -+ void asm_mspritevline(long,long,long,long,long,long) asm ("_asm_mspritevline"); -+ void asm_tsetupspritevline(long,long,long,long,long,long) asm ("_asm_tsetupspritevline"); -+ void asm_tspritevline(long,long,long,long,long,long) asm ("_asm_tspritevline"); -+ long asm_mhline(long,long,long,long,long,long) asm ("_asm_mhline"); -+ long asm_mhlineskipmodify(long,long,long,long,long,long) asm("_asm_mhlineskipmodify"); -+ long asm_msethlineshift(long,long) asm("_asm_msethlineshift"); -+ long asm_thline(long,long,long,long,long,long) asm("_asm_thline"); -+ long asm_thlineskipmodify(long,long,long,long,long,long) asm("_asm_thlineskipmodify"); -+ long asm_tsethlineshift(long,long) asm("_asm_tsethlineshift"); -+ long asm_setupslopevlin(long,long,long) asm("_asm_setupslopevlin"); -+ long asm_slopevlin(long,long,long,long,long,long) asm("_asm_slopevlin"); -+ long asm_settransnormal(void) asm("_asm_settransnormal"); -+ long asm_settransreverse(void) asm("_asm_settransreverse"); -+ long asm_setupdrawslab(long,long) asm("_asm_setupdrawslab"); -+ long asm_drawslab(long,long,long,long,long,long) asm("_asm_drawslab"); -+ long asm_stretchhline(long,long,long,long,long,long) asm("_asm_stretchhline"); -+ long asm_isvmwarerunning(void) asm("_asm_isvmwarerunning"); - - /* - * !!! I need a reference to this, for mprotect(), but the actual function - * !!! is never called in BUILD...just from other ASM routines. --ryan. - */ -- long asm_prohlineasm4(void) __attribute__ ((alias ("_asm_prohlineasm4"))); -+ long asm_prohlineasm4(void) asm("_asm_prohlineasm4"); - - #endif /* ELF/GCC */ - #endif /* defined USE_I386_ASM */ diff --git a/games-fps/duke3d/files/duke3d-20040817-ldflags.patch b/games-fps/duke3d/files/duke3d-20040817-ldflags.patch deleted file mode 100644 index 79179e663805..000000000000 --- a/games-fps/duke3d/files/duke3d-20040817-ldflags.patch +++ /dev/null @@ -1,66 +0,0 @@ ---- source/buildengine/Makefile.old 2010-10-08 14:32:05.000000000 +0200 -+++ source/buildengine/Makefile 2010-10-08 14:35:10.000000000 +0200 -@@ -73,7 +73,7 @@ - endif - - ifeq ($(strip $(solaris)),true) -- LDFLAGS += -lsocket -lnsl -+ LIBS += -lsocket -lnsl - CFLAGS += -DPLATFORM_SOLARIS - endif - -@@ -129,7 +129,7 @@ - - ifeq ($(strip $(macosx)),true) - CFLAGS += -DPLATFORM_MACOSX=1 -faltivec -falign-loops=32 -falign-functions=32 -- LDFLAGS += -framework AppKit -lSDL -lSDLmain -+ LIBS += -framework AppKit -lSDL -lSDLmain - endif - - ifeq ($(strip $(useopengl)),true) -@@ -146,7 +146,7 @@ - - ifeq ($(strip $(usephysfs)),true) - CFLAGS += -DUSE_PHYSICSFS -- LDFLAGS += -lphysfs -+ LIBS += -lphysfs - endif - - ifeq ($(strip $(usedlls)),true) -@@ -236,17 +236,17 @@ - - ifeq ($(strip $(usedlls)),true) - $(ENGINEDLL) : $(ENGINEOBJS) -- $(LINKER) -shared -o $(ENGINEDLL) $(LDFLAGS) $(ENGINEOBJS) $(LDLIBS) -+ $(LINKER) -shared -o $(ENGINEDLL) $(LIBS) $(ENGINEOBJS) $(LDLIBS) - - $(NETDLL) : $(NETOBJS) -- $(LINKER) -shared -o $(NETDLL) $(LDFLAGS) $(NETOBJS) $(LDLIBS) -+ $(LINKER) -shared -o $(NETDLL) $(LIBS) $(NETOBJS) $(LDLIBS) - endif - - $(GAMEEXE) : $(ENGINEDLL) $(NETDLL) $(GAMEOBJS) $(PERLOBJS) -- $(LINKER) -o $(GAMEEXE) $(LDFLAGS) $(PERLOBJS) $(GAMEOBJS) $(LDPERL) $(LDLIBS) $(ENGINEDLL) $(NETDLL) -+ $(LINKER) $(LDFLAGS) -o $(GAMEEXE) $(LIBS) $(PERLOBJS) $(GAMEOBJS) $(LDPERL) $(LDLIBS) $(ENGINEDLL) $(NETDLL) - - $(BUILDEXE) : $(ENGINEDLL) $(BUILDOBJS) -- $(LINKER) -o $(BUILDEXE) $(LDFLAGS) $(BUILDOBJS) $(LDLIBS) $(ENGINEDLL) -+ $(LINKER) $(LDFLAGS) -o $(BUILDEXE) $(LIBS) $(BUILDOBJS) $(LDLIBS) $(ENGINEDLL) - - listclean: - @echo "A 'make clean' would remove" $(CLEANUP) ---- source/Makefile.old 2010-10-08 14:35:54.000000000 +0200 -+++ source/Makefile 2010-10-08 14:37:34.000000000 +0200 -@@ -152,10 +152,10 @@ - sounds.o \ - dukemusc.o \ - audiolib/audiolib.a -- $(CC) $^ $(BUILDOBJS) $(LDLIBS) -o $@ -+ $(CC) $(LDFLAGS) $^ $(BUILDOBJS) $(LDLIBS) -o $@ - - build: astub.o -- $(CC) $^ $(BUILDOBJS) buildengine/build.o $(LDLIBS) -o $@ -+ $(CC) $(LDFLAGS) $^ $(BUILDOBJS) buildengine/build.o $(LDLIBS) -o $@ - - clean: - $(MAKE) -C audiolib clean diff --git a/games-fps/duke3d/files/duke3d-20040817-noinline.patch b/games-fps/duke3d/files/duke3d-20040817-noinline.patch deleted file mode 100644 index a41c5c01d063..000000000000 --- a/games-fps/duke3d/files/duke3d-20040817-noinline.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- source/buildengine/engine.c.old 2009-02-06 09:11:54.000000000 +0100 -+++ source/buildengine/engine.c 2009-02-06 09:19:12.000000000 +0100 -@@ -391,6 +391,7 @@ - modify exact [eax ebx ecx]\ - - #elif (defined __GNUC__) || (defined __ICC) -+ __attribute__ ((noinline)) - static long nsqrtasm(int i1) - { - long retval; -@@ -601,6 +602,7 @@ - - #elif (defined __GNUC__) || (defined __ICC) - -+ __attribute__ ((noinline)) - int setgotpic(long i1) - { - int retval = 0; diff --git a/games-fps/duke3d/files/duke3d.cfg b/games-fps/duke3d/files/duke3d.cfg deleted file mode 100644 index 2e8c4a0671b7..000000000000 --- a/games-fps/duke3d/files/duke3d.cfg +++ /dev/null @@ -1,194 +0,0 @@ -[Setup] -SetupVersion = "1.3D" - -[Screen Setup] -ScreenMode = 2 -ScreenWidth = 1024 -ScreenHeight = 768 -Shadows = 1 -Password = "" -Detail = 1 -Tilt = 1 -Messages = 1 -Out = 0 -ScreenSize = 8 -ScreenGamma = 0 - -[Sound Setup] -FXDevice = 0 -MusicDevice = 0 -FXVolume = 220 -MusicVolume = 200 -NumVoices = 8 -NumChannels = 2 -NumBits = 16 -MixRate = 44100 -MidiPort = 0x330 -BlasterAddress = 0x220 -BlasterType = 1 -BlasterInterrupt = 5 -BlasterDma8 = 1 -BlasterDma16 = 5 -BlasterEmu = 0x620 -ReverseStereo = 0 -SoundToggle = 1 -VoiceToggle = 1 -AmbienceToggle = 1 -MusicToggle = 1 - -[KeyDefinitions] -Move_Forward = "Up" "Kpad8" -Move_Backward = "Down" "Kpad2" -Turn_Left = "Left" "Kpad4" -Turn_Right = "Right" "KPad6" -Strafe = "LAlt" "RAlt" -Fire = "LCtrl" "RCtrl" -Open = "Space" "" -Run = "LShift" "RShift" -AutoRun = "CapLck" "" -Jump = "A" "/" -Crouch = "Z" "" -Look_Up = "PgUp" "Kpad9" -Look_Down = "PgDn" "Kpad3" -Look_Left = "Insert" "Kpad0" -Look_Right = "Delete" "Kpad." -Strafe_Left = "," "" -Strafe_Right = "." "" -Aim_Up = "Home" "KPad7" -Aim_Down = "End" "Kpad1" -Weapon_1 = "1" "" -Weapon_2 = "2" "" -Weapon_3 = "3" "" -Weapon_4 = "4" "" -Weapon_5 = "5" "" -Weapon_6 = "6" "" -Weapon_7 = "7" "" -Weapon_8 = "8" "" -Weapon_9 = "9" "" -Weapon_10 = "0" "" -Inventory = "Enter" "KpdEnt" -Inventory_Left = "[" "" -Inventory_Right = "]" "" -Holo_Duke = "H" "" -Jetpack = "J" "" -NightVision = "N" "" -MedKit = "M" "" -TurnAround = "BakSpc" "" -SendMessage = "T" "" -Map = "Tab" "" -Shrink_Screen = "-" "Kpad-" -Enlarge_Screen = "=" "Kpad+" -Center_View = "KPad5" "" -Holster_Weapon = "ScrLck" "" -Show_Opponents_Weapon = "W" "" -Map_Follow_Mode = "F" "" -See_Coop_View = "K" "" -Mouse_Aiming = "U" "" -Toggle_Crosshair = "I" "" -Steroids = "R" "" -Quick_Kick = "`" "" -Next_Weapon = "'" "" -Previous_Weapon = ";" "" - -[Controls] -ControllerType = 1 -JoystickPort = 0 -MouseSensitivity = 32768 -ExternalFilename = "EXTERNAL.EXE" -EnableRudder = 0 -MouseAiming = 0 -MouseButton0 = "Fire" -MouseButtonClicked0 = "" -MouseButton1 = "Strafe" -MouseButtonClicked1 = "Open" -MouseButton2 = "Move_Forward" -MouseButtonClicked2 = "" -JoystickButton0 = "Fire" -JoystickButtonClicked0 = "" -JoystickButton1 = "Strafe" -JoystickButtonClicked1 = "Inventory" -JoystickButton2 = "Run" -JoystickButtonClicked2 = "Jump" -JoystickButton3 = "Open" -JoystickButtonClicked3 = "Crouch" -JoystickButton4 = "Aim_Down" -JoystickButtonClicked4 = "" -JoystickButton5 = "Look_Right" -JoystickButtonClicked5 = "" -JoystickButton6 = "Aim_Up" -JoystickButtonClicked6 = "" -JoystickButton7 = "Look_Left" -JoystickButtonClicked7 = "" -MouseAnalogAxes0 = "analog_turning" -MouseDigitalAxes0_0 = "" -MouseDigitalAxes0_1 = "" -MouseAnalogScale0 = 0 -MouseAnalogAxes1 = "analog_moving" -MouseDigitalAxes1_0 = "" -MouseDigitalAxes1_1 = "" -MouseAnalogScale1 = 0 -JoystickAnalogAxes0 = "analog_turning" -JoystickDigitalAxes0_0 = "" -JoystickDigitalAxes0_1 = "" -JoystickAnalogScale0 = 0 -JoystickAnalogAxes1 = "analog_moving" -JoystickDigitalAxes1_0 = "" -JoystickDigitalAxes1_1 = "" -JoystickAnalogScale1 = 0 -JoystickAnalogAxes2 = "analog_strafing" -JoystickDigitalAxes2_0 = "" -JoystickDigitalAxes2_1 = "" -JoystickAnalogScale2 = 0 -JoystickAnalogAxes3 = "" -JoystickDigitalAxes3_0 = "Run" -JoystickDigitalAxes3_1 = "" -JoystickAnalogScale3 = 0 -GamePadDigitalAxes0_0 = "Turn_Left" -GamePadDigitalAxes0_1 = "Turn_Right" -GamePadDigitalAxes1_0 = "Move_Forward" -GamePadDigitalAxes1_1 = "Move_Backward" -MouseAimingFlipped = 0 -GameMouseAiming = 0 -AimingFlag = 0 - -[Comm Setup] -ComPort = 2 -IrqNumber = 65535 -UartAddress = 65535 -PortSpeed = 9600 -ToneDial = 1 -SocketNumber = 65535 -NumberPlayers = 2 -ModemName = "" -InitString = "ATZ" -HangupString = "ATH0=0" -DialoutString = "" -PlayerName = "DUKE" -RTSName = "DUKE.RTS" -PhoneNumber = "" -ConnectType = 0 -CommbatMacro#0 = "An inspiration for birth control." -CommbatMacro#1 = "You're gonna die for that!" -CommbatMacro#2 = "It hurts to be you." -CommbatMacro#3 = "Lucky Son of a Bitch." -CommbatMacro#4 = "Hmmm....Payback time." -CommbatMacro#5 = "You bottom dwelling scum sucker." -CommbatMacro#6 = "Damn, you're ugly." -CommbatMacro#7 = "Ha ha ha...Wasted!" -CommbatMacro#8 = "You suck!" -CommbatMacro#9 = "AARRRGHHHHH!!!" - -[Misc] -Executions = 5 -RunMode = 0 -Crosshairs = 1 -WeaponChoice0 = 3 -WeaponChoice1 = 4 -WeaponChoice2 = 5 -WeaponChoice3 = 7 -WeaponChoice4 = 8 -WeaponChoice5 = 6 -WeaponChoice6 = 0 -WeaponChoice7 = 2 -WeaponChoice8 = 9 -WeaponChoice9 = 1 diff --git a/games-fps/duke3d/files/network.cfg b/games-fps/duke3d/files/network.cfg deleted file mode 100644 index 46db8b3119fb..000000000000 --- a/games-fps/duke3d/files/network.cfg +++ /dev/null @@ -1,15 +0,0 @@ -# lifted from happypenguin.org - -INTERFACE [your ip address] - -# only peer appears to work [SERVER or CLIENT or PEER] -MODE peer - -# create an allow line for everyone who will connect -ALLOW [another player's ip address] -ALLOW [another player's ip address] -ALLOW [another player's ip address] -ALLOW [another player's ip address] - -# try to find [number] of players and start the game -BROADCAST [number] diff --git a/games-fps/duke3d/metadata.xml b/games-fps/duke3d/metadata.xml deleted file mode 100644 index 1f342d0fbdcc..000000000000 --- a/games-fps/duke3d/metadata.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>games@gentoo.org</email> - <name>Gentoo Games Project</name> - </maintainer> - <longdescription> -The third chapter in the series, and the first with a 3D perspective -(the original Duke Nukem and the sequel, Duke Nukem II, are side -scrolling platform games). This game, set sometime in the early 21st -century, begins in a ravaged LA, which was overtaken by aliens while you -were abducted during Duke Nukem II. Duke, upon returning to Earth, finds -himself with another mess to clean up, and another alien race that needs -exterminating. Duke is a can-do hero who realizes that sometimes -innocent people have to die in order to save Earth, so accuracy of gun -fire is not a real concern to him. :) - -This game has a long list of cool things that haven't been attempted in -3D action games, yet. The weapons, for example, kick-butt: - - * There's a mine that can be placed on any wall and sends out a -laser trip beam-- perfect for multiplayer games. - * There's also a shrinker ray that reduces an opponent to the size -of a G.I. Joe, at which point they are foot fodder--watch them splat! - * As in Shadow Warrior, you can swim under water, and even shoot -players who are standing outside the water, or vice versa. - - What works: - * Basic gameplay seems fine. - * Sound and music. - * keyboard input. - * mouse input. - * Hi-res (what would be "VESA modes" in DOS). - * Windowed/fullscreen support. - * Save games. - * Record and playback demos compatible with the Atomic Edition (1.5). - * Shareware and retail versions should all work. - * BUILD editor works to a large degree. - * DukeBots for multiplayer AI. - * Assembly code all has portable C fallbacks, now. - * TCP/IP Networking! - * Linux/x86 port. - * Windows/x86 port. - * BeOS/x86 port. - * (incomplete) MacOS X port. - -What doesn't work/known bugs: - * Joystick input isn't working yet. - * File cases need to be exact in some places, not others. - * Engine (game?) relies on compiler treating "char" as "unsigned" by default...this needs to be flushed out, for sanity's sake. But I'm anal. :) - * Netcode handles packet loss _VERY_ poorly...it's fine for stable connections and LANs, though. - * Configuring a multiplayer game involves editing text files and filling in IP addresses. Not very user-friendly. - * Some text prompts try to read the SDL input queue instead of stdin like they should. - * Probably other stuff. Do NOT consider this stable and complete yet! -</longdescription> - <use> - <flag name="demo">Install the demo files</flag> - <flag name="pic">disable optimized assembly code that is not PIC friendly</flag> - </use> -</pkgmetadata> |