update to 2.4.6

This commit is contained in:
jolan 2006-10-17 01:58:41 +00:00
parent 9271598535
commit 4cb1db3b10
4 changed files with 12 additions and 33 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.9 2006/09/22 05:54:38 jsg Exp $
# $OpenBSD: Makefile,v 1.10 2006/10/17 01:58:41 jolan Exp $
COMMENT= "enhanced clone of Id Software's Doom game; multiplayer"
DISTNAME= prboom-2.4.5
DISTNAME= prboom-2.4.6
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=prboom/}

View File

@ -1,4 +1,4 @@
MD5 (prboom-2.4.5.tar.gz) = 24381017240a9eda5da21af0ca046228
RMD160 (prboom-2.4.5.tar.gz) = 7495750f0ed35e96dd8ea8a1546dcf0cfc1bdf89
SHA1 (prboom-2.4.5.tar.gz) = 732305dd21770e38103340e5af824c303fd8212b
SIZE (prboom-2.4.5.tar.gz) = 970658
MD5 (prboom-2.4.6.tar.gz) = 0f60f3ad6a8dad5b2c6d4360f181ac22
RMD160 (prboom-2.4.6.tar.gz) = 07370e5dc42c938b275cb0c1bb1e50dd0ce096d5
SHA1 (prboom-2.4.6.tar.gz) = 00486df7aaf72c164767adeaa01c083401c44b30
SIZE (prboom-2.4.6.tar.gz) = 997997

View File

@ -1,12 +1,12 @@
$OpenBSD: patch-src_Makefile_in,v 1.5 2006/09/22 05:54:38 jsg Exp $
--- src/Makefile.in.orig Fri Sep 22 13:15:09 2006
+++ src/Makefile.in Fri Sep 22 13:15:28 2006
@@ -245,7 +245,7 @@ target_cpu = @target_cpu@
$OpenBSD: patch-src_Makefile_in,v 1.6 2006/10/17 01:58:41 jolan Exp $
--- src/Makefile.in.orig Sat Oct 14 12:48:40 2006
+++ src/Makefile.in Mon Oct 16 20:48:01 2006
@@ -246,7 +246,7 @@ target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
SUBDIRS = SDL POSIX MAC
-gamesdir = $(prefix)/games
+gamesdir = $(prefix)/bin
prboom_game_server_SOURCES = d_server.c i_udp_sdl.c protocol.h
prboom_game_server_LDADD = POSIX/libposixdoom.a @NET_LIBS@ @SDL_LIBS@
prboom_game_server_SOURCES = d_server.c protocol.h
prboom_game_server_LDADD = POSIX/libposixdoom.a SDL/i_network.o @NET_LIBS@ @SDL_LIBS@
COMMON_SRC = \

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-src_r_draw_c,v 1.2 2006/09/22 05:54:38 jsg Exp $
--- src/r_draw.c.orig Thu Aug 10 04:57:58 2006
+++ src/r_draw.c Fri Sep 22 13:22:38 2006
@@ -739,7 +739,16 @@ void R_DrawTLColumn (void)
register const byte *source = dcvars.source;
register const lighttable_t *colormap = dcvars.colormap;
register unsigned heightmask = dcvars.texheight-1; // CPhipps - specify type
- if (dcvars.texheight & heightmask) // not a power of 2 -- killough
+ if (dcvars.texheight == 0)
+ {
+ /* cea - another special case */
+ while (count--) {
+ *dest = tranmap[(*dest<<8)+colormap[source[frac>>FRACBITS]]]; // phares
+ dest += SCREENWIDTH;
+ frac += fracstep;
+ }
+ }
+ else if (dcvars.texheight & heightmask) // not a power of 2 -- killough
{
heightmask++;
heightmask <<= FRACBITS;