aboutsummaryrefslogtreecommitdiff
path: root/astro/stars/files
diff options
context:
space:
mode:
authorChuck Robey <chuckr@FreeBSD.org>1996-08-03 22:42:46 +0000
committerChuck Robey <chuckr@FreeBSD.org>1996-08-03 22:42:46 +0000
commite23704de4f9f021d281f06cd45d537c8744c6aca (patch)
tree3d92d2b396d6168962b314a3e3f3735ec93ccf32 /astro/stars/files
parent13a9de24384e7f53f01efe44cf040f3292397f62 (diff)
downloadports-e23704de4f9f021d281f06cd45d537c8744c6aca.tar.gz
ports-e23704de4f9f021d281f06cd45d537c8744c6aca.zip
Notes
Diffstat (limited to 'astro/stars/files')
-rw-r--r--astro/stars/files/patch-aa48
1 files changed, 48 insertions, 0 deletions
diff --git a/astro/stars/files/patch-aa b/astro/stars/files/patch-aa
new file mode 100644
index 000000000000..a6027ebdcac2
--- /dev/null
+++ b/astro/stars/files/patch-aa
@@ -0,0 +1,48 @@
+--- main.c.orig Wed Apr 10 06:58:49 1996
++++ main.c Sat Aug 3 17:51:59 1996
+@@ -241,37 +241,37 @@
+
+ XQueryKeymap(xgh.display, keys);
+
+- if(keys[7] & 64)
++ if(keys[3] & 1)
+ Quit=1;
+
+- if(keys[12] & 16 && Speed < 20)
++ if(((keys[2] & 32) || (keys[10] & 64) ) && (Speed < 20))
+ Speed++;
+
+- if(keys[12] & 8 && Speed > -20)
++ if( ((keys[2] & 16) || (keys[10] & 4) ) && (Speed > -20))
+ Speed--;
+
+ for(l=0; l<NumStars; l++)
+ c[l]=b[l];
+
+ XSetForeground(xgh.display,gc1,HiCol);
+- if(keys[16] & 16) {
++ if(keys[12] & 64) {
+ r2+=0.02;
+ XFillPolygon(xgh.display,pix,gc1,a[0],3,Convex,CoordModeOrigin);
+ }
+- if(keys[16] & 128) {
++ if(keys[12] & 16) {
+ r2-=0.02;
+ XFillPolygon(xgh.display,pix,gc1,a[2],3,Convex,CoordModeOrigin);
+ }
+- if(keys[16] & 64) {
++ if(keys[13] & 1) {
+ r1+=0.02;
+ XFillPolygon(xgh.display,pix,gc1,a[1],3,Convex,CoordModeOrigin);
+ }
+- if(keys[16] & 32) {
++ if(keys[12] & 4) {
+ r1-=0.02;
+ XFillPolygon(xgh.display,pix,gc1,a[3],3,Convex,CoordModeOrigin);
+ }
+
+- if(keys[16] & 2)
++ if(keys[8] & 2)
+ {
+ Speed=0;
+ r1=r2=0;