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>
21 lines
512 B
Plaintext
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;
|