From a08d0fc53fa06d278c80df68a9a40b88e357591b Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 27 Dec 1999 02:24:30 +0000 Subject: Adding qrash version 1.0 An animated musical demo for X11. PR: 14554 Submitted by: Trevor Johnson --- x11/qrash/files/patch-ak | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 x11/qrash/files/patch-ak (limited to 'x11/qrash/files/patch-ak') diff --git a/x11/qrash/files/patch-ak b/x11/qrash/files/patch-ak new file mode 100644 index 000000000000..21c64681bc1e --- /dev/null +++ b/x11/qrash/files/patch-ak @@ -0,0 +1,65 @@ +--- 3d.cc.orig Sun Dec 26 17:23:11 1999 ++++ 3d.cc Sun Dec 26 17:24:10 1999 +@@ -234,7 +234,7 @@ + if(x2ZGTS > offset && x1 offset+vidSizeX-1) x2ZGTS = offset+vidSizeX-1; + if(x1 offset+vidSizeX) + *x2ZGT = offset+vidSizeX; + if( x1 < offset ) { +- register tmp = offset-x1; ++ register int tmp = offset-x1; + DrawLineZGT( offset, leftz+*zsZGT*tmp, leftl+*lsZGT*tmp, + shorts( leftt.s.u+tsZGT->s.u*tmp, + leftt.s.v+tsZGT->s.v*tmp ) ); +@@ -339,7 +339,7 @@ + if(x2ZG> offset && x1 offset+vidSizeX) x2ZG= offset+vidSizeX; + if(x1 offset+vidSizeX) + x2SGT = offset+vidSizeX; + if( x1 < offset ) { +- register tmp = offset-x1; ++ register int tmp = offset-x1; + DrawLineSGT( offset, 0, leftl+lsSGT*tmp, + shorts( leftt.s.u+tsSGT.s.u*tmp, + leftt.s.v+tsSGT.s.v*tmp ) ); +@@ -455,7 +455,7 @@ + if(*x2ZP > offset && x1 offset+vidSizeX) *x2ZP = offset+vidSizeX; + if(x1s.u*tmp, + leftl.s.v+lsZP->s.v*tmp ), 0 ); +@@ -492,7 +492,7 @@ + if(*x2SP> offset && x1 offset+vidSizeX) *x2SP = offset+vidSizeX; + if(x1s.u*tmp, + leftl.s.v+lsSP->s.v*tmp ), 0 ); +@@ -1455,7 +1455,7 @@ + + void FacedObject::SplitFace( Face* f, bool vertical ) + { +- static color = 255; ++ static int color = 255; + Point *p1, *p2; + int n1 ,n2; + bool s01 = false; -- cgit v1.2.3