mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
a08d0fc53f
An animated musical demo for X11. PR: 14554 Submitted by: Trevor Johnson <trevor@jpj.net>
38 lines
845 B
Plaintext
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 ) {
|