summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-20 10:28:40 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-20 10:28:40 +0000
commiteeffa7a2ec099c2fd4426a8f913de5c1e96281b5 (patch)
tree1a45aa7b81d0235d4ae6fd9b1d2b900e2f77ad75 /games-fps
parentSyntax fixes from bug 48373. (diff)
downloadhistorical-eeffa7a2ec099c2fd4426a8f913de5c1e96281b5.tar.gz
historical-eeffa7a2ec099c2fd4426a8f913de5c1e96281b5.tar.bz2
historical-eeffa7a2ec099c2fd4426a8f913de5c1e96281b5.zip
patch to add info text and empty credits screen from Ondrej Jombik via bug #46094
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/duke3d/ChangeLog7
-rw-r--r--games-fps/duke3d/Manifest5
-rw-r--r--games-fps/duke3d/duke3d-20030817-r1.ebuild3
-rw-r--r--games-fps/duke3d/files/20030817-credits.patch38
4 files changed, 49 insertions, 4 deletions
diff --git a/games-fps/duke3d/ChangeLog b/games-fps/duke3d/ChangeLog
index 32769bb0daf7..a7c0b8e29ef8 100644
--- a/games-fps/duke3d/ChangeLog
+++ b/games-fps/duke3d/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-fps/duke3d
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/ChangeLog,v 1.11 2004/04/18 07:22:55 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/ChangeLog,v 1.12 2004/04/20 10:28:40 mr_bones_ Exp $
+
+ 20 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ duke3d-20030817-r1.ebuild, files/20030817-credits.patch:
+ patch to add info text and empty credits screen from Ondrej Jombik via bug
+ #46094
18 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org>
duke3d-20030817-r1.ebuild:
diff --git a/games-fps/duke3d/Manifest b/games-fps/duke3d/Manifest
index 4f67a762a3ef..66a3202e2313 100644
--- a/games-fps/duke3d/Manifest
+++ b/games-fps/duke3d/Manifest
@@ -1,5 +1,5 @@
-MD5 20d416f5cbe15527353a0f48d2c3128e ChangeLog 1729
-MD5 198a6de6ee90cc0978857706844bc370 duke3d-20030817-r1.ebuild 2822
+MD5 ea4d4be75552a463c663b220896ac4da ChangeLog 1930
+MD5 97fca64fbc9704be0307985051029c31 duke3d-20030817-r1.ebuild 2864
MD5 3a1f336e4cfd9b74bc9bacb21ea0b300 metadata.xml 2684
MD5 f61d663b18e338844d9bdab8cd8a113d files/20030817-buildengine-makefile-cflags.patch 523
MD5 7c4ac6336d128a410fc4fb603ad8b8c7 files/20030817-duke3d-makefile-opts.patch 864
@@ -7,3 +7,4 @@ MD5 73621a8c90765f4722208283a01319f7 files/digest-duke3d-20030817-r1 66
MD5 b31ef5149ad5b5e9f0ea1d64d6cf47fb files/duke3d 45
MD5 ccf71074bb15e3a511194a887a3a7040 files/duke3d.cfg 4314
MD5 d9b4e6eca1f10d7502ce7c8b360ba16b files/network.cfg 398
+MD5 dfe6b67444e51a0fa3ff5c5bf76261d8 files/20030817-credits.patch 1273
diff --git a/games-fps/duke3d/duke3d-20030817-r1.ebuild b/games-fps/duke3d/duke3d-20030817-r1.ebuild
index 943ce0253048..146429cb7d88 100644
--- a/games-fps/duke3d/duke3d-20030817-r1.ebuild
+++ b/games-fps/duke3d/duke3d-20030817-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20030817-r1.ebuild,v 1.13 2004/04/18 07:22:55 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/duke3d/duke3d-20030817-r1.ebuild,v 1.14 2004/04/20 10:28:40 mr_bones_ Exp $
ECVS_PASS="anonymous"
ECVS_SERVER="icculus.org:/cvs/cvsroot"
@@ -62,6 +62,7 @@ src_unpack() {
# configure duke3d
cd ${S}/source
+ epatch "${FILESDIR}/${PV}-credits.patch"
epatch "${FILESDIR}/${PV}-duke3d-makefile-opts.patch"
if use x86 ; then
sed -i \
diff --git a/games-fps/duke3d/files/20030817-credits.patch b/games-fps/duke3d/files/20030817-credits.patch
new file mode 100644
index 000000000000..5aea61558395
--- /dev/null
+++ b/games-fps/duke3d/files/20030817-credits.patch
@@ -0,0 +1,38 @@
+--- menues.c 2003-08-17 22:16:10.000000000 +0200
++++ 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 Linux"
++#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
+