1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/x11/qrash/files/patch-au
Steve Price a08d0fc53f Adding qrash version 1.0
An animated musical demo for X11.

PR:		14554
Submitted by:	Trevor Johnson <trevor@jpj.net>
1999-12-27 02:24:30 +00:00

26 lines
702 B
Plaintext

--- points.cc.orig Sun Dec 26 17:32:08 1999
+++ points.cc Sun Dec 26 17:32:34 1999
@@ -95,7 +95,7 @@
}
case 1: {
- static old_row=-1, scale_timer = -1;
+ static int old_row=-1, scale_timer = -1;
if( row != old_row &&
(row == 2 || row == 6 || row == 9 || row == 11 || row == 14) ) {
old_row = row;
@@ -128,11 +128,11 @@
if( what == 4 ) {
vidCopyPage( color, pic->data );
}
- static offset = 0;
+ static int offset = 0;
static int old_row=-1;
if( row/6 != old_row && row > 18 ) {
old_row = row/6;
- static coord = 0;
+ static int coord = 0;
coord = (coord+1) % 4;
u[coord] *= 0.7; v[coord] *= 0.7;
}