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-am
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

21 lines
512 B
Plaintext

--- rotate.cc.orig Sun Dec 26 17:25:17 1999
+++ rotate.cc Sun Dec 26 17:25:29 1999
@@ -23,7 +23,7 @@
#include "music.h"
#include "common.h"
-const ANGLE_TIME = 6*sysTimerRes;
+const int ANGLE_TIME = 6*sysTimerRes;
class Rotate: public Part {
void Init();
@@ -64,7 +64,7 @@
u[i] = uu+backpic->sizeX/2; v[i] = vv+backpic->sizeY/2;
}
- static offset=0;
+ static int offset=0;
backpic->MapToPage2( u[0], v[0], u[1], v[1], u[2], v[2], u[3], v[3],
bw+offset );
offset = 1-offset;