Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 6721aafe19e3606408d9ea3b4dcb2d58 > files > 2

fairymax-4.8-8.mga7.src.rpm

--- Fairy-Max/fairymax.c.patented	2011-09-21 01:20:45.648302826 +0200
+++ Fairy-Max/fairymax.c	2011-09-21 01:21:06.833037980 +0200
@@ -235,7 +235,7 @@
         while(*p){X=*p>>8;Y=*p++;
         printf(" %c%c%c%c",'a'+(X&15),'8'-(X>>4),'a'+(Y&15),'8'-(Y>>4&7));}
         printf("\n");fflush(stdout);
-       }
+       }
        if(v>m)                                 /* new best, update max,best*/
         m=v,X=x,Y=y|S&F;                       /* mark non-double with S   */
        if(h){h=0;goto A;}                      /* redo after doing old best*/
@@ -491,8 +491,6 @@
 	signal(SIGINT, SIG_IGN);
         printf("tellics say     " NAME " " VERSION "\n");
         printf("tellics say     by H.G. Muller\n");
-        printf("tellics say Gothic Chess is protected by U.S. patent #6,481,716 by Ed Trice.\n");
-        printf("tellics say Falcon Chess is protected by U.S. patent #5,690,334 by George W. Duke\n");
         InitEngine();
         LoadGame(NULL);
         InitGame();
@@ -785,10 +783,10 @@
                                             break;
                                         default:
                                             b[m]=p+color+32; // assume non-virgin
-                                            if(w[p]<0) { // Royal piece on original square: virgin
+                                            if(w[p]<0) { // Royal piece on original square: virgin
 					        if(color==BLACK && m<0x10 && p==oo[m+16] ||
-                                                   color==WHITE && m>0x6F && p==oo[m-0x70]) b[m] -= 32;
-					    } else { Q+=w[p]; R+=w[p]/FAC; }
+                                                   color==WHITE && m>0x6F && p==oo[m-0x70]) b[m] -= 32;
+					    } else { Q+=w[p]; R+=w[p]/FAC; }
                                             if((m==0x00 || m==BW-1   ) && color==BLACK && p==oo[m+16] ||
                                                (m==0x70 || m==0x6F+BW) && color==WHITE && p==oo[m-0x70])
                                                 b[m] &= ~32; // corner piece as in original setup: virgin
--- Fairy-Max/data/fmax.ini.patented	2010-01-22 17:50:50.000000000 +0100
+++ Fairy-Max/data/fmax.ini	2011-09-21 01:22:23.481079697 +0200
@@ -328,22 +328,6 @@
 C:875 1,3 16,3 -1,3 -16,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
 e:1000 15,7 17,7 -15,7 -17,7 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7 -1,7 1,7 -16,7 16,7 -1,34 1,34 -16,34 16,34
 
-// Gothic Chess is protected through U.S. patent #6,481,716 by Ed Trice.
-// Spreading it without license might be a criminal offense!
-Game: gothic
-10x8
-6 4 5 7 9 3 8 5 4 6
-6 4 5 7 9 3 8 5 4 6
-p:100 -16,24 -16,6 -15,5 -17,5 
-p:100 16,24 16,6 15,5 17,5
-k:-1 1,3034 -1,1034 1,7 16,7 15,7 17,7 -1,7 -16,7 -15,7 -17,7
-n:310 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-b:350 15,3 17,3 -15,3 -17,3
-R:475 1,3 16,3 -1,3 -16,3
-Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3
-A:825 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-C:875 1,3 16,3 -1,3 -16,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7
-
 // Cylinder Chess (WinBoard / XBoard legality testing should be off toplay this!)
 Game: cylinder
 8x8