diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-20 10:28:40 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-20 10:28:40 +0000 |
commit | 63b7f23557753a0995bae005efd8cecd5e8dd83c (patch) | |
tree | 96665667e2a02712264b3c3117bb5cc4f8ab7a9a /games-fps/duke3d | |
parent | Syntax fixes from bug 48373. (Manifest recommit) (diff) | |
download | gentoo-2-63b7f23557753a0995bae005efd8cecd5e8dd83c.tar.gz gentoo-2-63b7f23557753a0995bae005efd8cecd5e8dd83c.tar.bz2 gentoo-2-63b7f23557753a0995bae005efd8cecd5e8dd83c.zip |
patch to add info text and empty credits screen from Ondrej Jombik via bug #46094
Diffstat (limited to 'games-fps/duke3d')
-rw-r--r-- | games-fps/duke3d/ChangeLog | 7 | ||||
-rw-r--r-- | games-fps/duke3d/duke3d-20030817-r1.ebuild | 3 | ||||
-rw-r--r-- | games-fps/duke3d/files/20030817-credits.patch | 38 |
3 files changed, 46 insertions, 2 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/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 + |