ports/69272: PORT UPDATE: better fix for r_part.c (files/patch-r_part.c)
Alexey Dokuchaev
danfe at regency.nsu.ru
Mon Jul 19 09:20:16 UTC 2004
>Number: 69272
>Category: ports
>Synopsis: PORT UPDATE: better fix for r_part.c (files/patch-r_part.c)
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jul 19 09:20:15 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Alexey Dokuchaev
>Release: FreeBSD 4.9-STABLE i386
>Organization:
CNIT NSU
>Environment:
System: FreeBSD regency.nsu.ru 4.9-STABLE FreeBSD 4.9-STABLE #1: Wed Mar 3 13:17:54 NOVT 2004 root at regency.nsu.ru:/usr/src/sys/compile/REGENCY i386
>Description:
Author provided me with a better version of ``files/patch-r_part.c''.
It's going to be integrated with new fuhquake release. No PORTREVISION
bump needed since it is pretty much no-op for users.
>How-To-Repeat:
N/A
>Fix:
%%%
Index: patch-r_part.c
===================================================================
RCS file: /home/pub/ftp/pub/FreeBSD/development/FreeBSD-CVS/ports/games/fuhquake/files/patch-r_part.c,v
retrieving revision 1.1
diff -u -r1.1 patch-r_part.c
--- patch-r_part.c 18 Jun 2004 08:16:23 -0000 1.1
+++ patch-r_part.c 19 Jul 2004 04:54:55 -0000
@@ -1,20 +1,11 @@
---- r_part.c.orig Wed Feb 4 23:15:44 2004
-+++ r_part.c Wed Feb 4 23:32:01 2004
-@@ -60,6 +60,17 @@
+--- r_part.c.orig Wed Jan 7 00:39:44 2004
++++ r_part.c Mon Jul 19 11:54:15 2004
+@@ -58,7 +58,7 @@
- #if !id386
+ vec3_t r_pright, r_pup, r_ppn;
+
+-#if !id386
++#if !defined(id386) && !defined(GLQUAKE)
-+#define PARTICLE_Z_CLIP 8.0
-+float xcenter, ycenter;
-+int d_vrectx, d_vrecty, d_vrectright_particle, d_vrectbottom_particle;
-+short *d_pzbuffer;
-+unsigned int d_zwidth;
-+pixel_t *d_viewbuffer;
-+#define MAXHEIGHT 1024
-+int d_scantable[MAXHEIGHT];
-+int d_y_aspect_shift, d_pix_min, d_pix_max, d_pix_shift;
-+int screenwidth;
-+
void D_DrawParticle (particle_t *pparticle) {
vec3_t local, transformed;
- float zi;
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list