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-aq | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 x11/qrash/files/patch-aq (limited to 'x11/qrash/files/patch-aq') diff --git a/x11/qrash/files/patch-aq b/x11/qrash/files/patch-aq new file mode 100644 index 000000000000..6532609544e2 --- /dev/null +++ b/x11/qrash/files/patch-aq @@ -0,0 +1,29 @@ +--- space.cc.orig Sun Dec 26 17:28:16 1999 ++++ space.cc Sun Dec 26 17:29:43 1999 +@@ -31,8 +31,8 @@ + "anvil.asc", + "abomb2.asc", + "vette.asc" }; +-const N_OBJECTS = sizeof(obj_names) / sizeof(char*); +-const N_MAN=5; ++const int N_OBJECTS = sizeof(obj_names) / sizeof(char*); ++const int N_MAN=5; + + struct Space: public Part { + +@@ -149,13 +149,13 @@ + VID_MAX_SIZE_X/2 - 2*cur_timer*VID_MAX_SIZE_X/sysTimerRes ); + objects[cur_object]->Draw( 0, color, bw ); + +- static offset = 0; ++ static int offset = 0; + vidSizeY /= 2; vidBytesPerLine *= 2; + vidCopyPage(color+offset,back->data); + vidSizeY *= 2; vidBytesPerLine /= 2; + offset = vidBytesPerLine - offset; + +- static prev_row = -1, delta = 0, prev_time = 0, mirror = 1; ++ static int prev_row = -1, delta = 0, prev_time = 0, mirror = 1; + if( row/12 != prev_row ) { + delta = -vidSizeX/5; + mirror = -mirror; -- cgit v1.2.3