aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-07-23 15:15:38 +0800
committerarved <arved@FreeBSD.org>2004-07-23 15:15:38 +0800
commitcd4abbaf29b228f04f8876a88c3f4d7676b24956 (patch)
tree2d64d2b5144a6b59ac080461f77b2d432de857aa
parent8a8ee12e6cbcccba3b61521b590836ecb0a0b289 (diff)
downloadfreebsd-ports-gnome-cd4abbaf29b228f04f8876a88c3f4d7676b24956.tar.gz
freebsd-ports-gnome-cd4abbaf29b228f04f8876a88c3f4d7676b24956.tar.zst
freebsd-ports-gnome-cd4abbaf29b228f04f8876a88c3f4d7676b24956.zip
replace patch-r_part.c with the vendor-version
PR: 69272 Submitted by: Alexey Dokuchaev <danfe@regency.nsu.ru>
-rw-r--r--games/fuhquake/files/patch-r_part.c23
1 files changed, 7 insertions, 16 deletions
diff --git a/games/fuhquake/files/patch-r_part.c b/games/fuhquake/files/patch-r_part.c
index 62257d2a90fc..d42eef1f6875 100644
--- a/games/fuhquake/files/patch-r_part.c
+++ b/games/fuhquake/files/patch-r_part.c
@@ -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;