1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/x11/qrash/files/patch-an
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

38 lines
845 B
Plaintext

--- abstract.cc.orig Sun Dec 26 17:25:53 1999
+++ abstract.cc Sun Dec 26 17:26:20 1999
@@ -26,7 +26,7 @@
#include "parts.h"
#include "common.h"
-const N_FIG=9, N_PHASES=4;
+const int N_FIG=9, N_PHASES=4;
struct Abstract: public Part {
TPoly2D* fig_phases[N_PHASES][N_FIG];
@@ -77,7 +77,7 @@
// if( !what ) return;
- static phase = 0;
+ static int phase = 0;
static bool phase_done = true;
TPoly2D* fig[N_FIG];
for( i=0; i<N_FIG; i++ ) {
@@ -111,14 +111,14 @@
phase_done = true;
}
}
- static scale_timer = 0;
+ static int scale_timer = 0;
static int old_order = 0;
static int next_row = 5;
if( old_order != order ) {
old_order = order;
next_row = 7;
}
- static color_offset = 10;
+ static int color_offset = 10;
switch( what ) {
case 0: {
if( row >= next_row ) {