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-au | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 x11/qrash/files/patch-au (limited to 'x11/qrash/files/patch-au') diff --git a/x11/qrash/files/patch-au b/x11/qrash/files/patch-au new file mode 100644 index 000000000000..a816d3a1000f --- /dev/null +++ b/x11/qrash/files/patch-au @@ -0,0 +1,25 @@ +--- 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; + } -- cgit v1.2.3