Support printing of piece command specified in ini file
[fairymax.git] / data / fmax.ini
index 514f47c..ea064e8 100644 (file)
@@ -140,6 +140,8 @@ Line 1:     Board size (files x ranks). Ranks must currently still be 8.
 Line 2:     initial setup of white pieces on back rank\r
 Line 3:     initial setup of black pieces on back rank\r
 Line 4-18:  Description of piece types that can occur in the variant\r
+This can be followed by some optional info to be sent to GUI when it\r
+selects the variant, e.g. to tell it how some non-standard pieces move.\r
 \r
 There can be upto 15 piece types per variant, numbered 1 to 15.\r
 Numbers 1 and 2 are considered Pawns for white and black, respectively,\r
@@ -158,6 +160,11 @@ If you don't want that, remove the castling moves from the King description.
 If the castling initiator does not start in a central file, the results are \r
 currently undefined.\r
 \r
+The variant name can be suffixed with some info to be sent to the GUI\r
+as a 'setup' command, behind a # character. In particular the piece-\r
+to-character table to define which symbols the GUI should use for\r
+the various pieces, and (after another #) the 'parent' variant.\r
+\r
 Most variant definitions can be seen at the end of this file.\r
 Other lines in this file (i.e. those not recognized as belonging to a\r
 variant description) are ignored. They can be used for comments.\r
@@ -713,7 +720,7 @@ b:350 15,3 17,3 -15,3 -17,3
 R:500 16,3 -16,3 -1,3 1,3\r
 Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
 s:400 16,843 1,843 -1,843 -16,843\r
-M:935 16,3 1,3 -1,3 14,7 31,7 33,7 18,7 15,7 17,7 -16,7 -15,7 -17,7\r
+M:935 16,3 1,3 -1,3 14,7 31,7 33,7 18,7 -16,3 -14,7 -31,7 -33,7 -18,7\r
 h:480 15,7 17,7 -15,7 -17,7 2,7 32,7 -2,7 -32,7 3,7 48,7 -3,7 -48,7\r
 k:-1  1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
 \r
@@ -727,7 +734,7 @@ w:310 1,7 16,7 -1,7 -16,7 2,7 32,7 -2,7 -32,7
 n:325 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
 b:350 15,3 17,3 -15,3 -17,3\r
 s:400 16,843 1,843 -1,843 -16,843\r
-M:935 -16,3 1,3 -1,3 -14,7 -31,7 -33,7 -18,7 -15,7 -17,7 16,7 15,7 17,7\r
+M:935 -16,3 1,3 -1,3 -14,7 -31,7 -33,7 -18,7 16,3 14,7 31,7 33,7 18,7\r
 R:500 16,3 -16,3 -1,3 1,3\r
 Q:950 1,3 16,3 15,3 17,3 -1,3 -16,3 -15,3 -17,3\r
 h:480 15,7 17,7 -15,7 -17,7 2,7 32,7 -2,7 -32,7 3,7 48,7 -3,7 -48,7\r
@@ -745,7 +752,7 @@ c:480 15,7 17,7 -15,7 -17,7 32,7 -32,7 2,7 -2,7 30,7 34,7 -30,7 -34,7
 l:530 15,3 17,3 -15,3 -17,3 32,7 -32,7 2,7 -2,7\r
 A:875 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
 s:400 16,843 1,843 -1,843 -16,843\r
-M:935 16,3 1,3 -1,3 14,7 31,7 33,7 18,7 15,7 17,7 -16,7 -15,7 -17,7\r
+M:935 16,3 1,3 -1,3 14,7 31,7 33,7 18,7 -16,3 -14,7 -31,7 -33,7 -18,7\r
 h:480 15,7 17,7 -15,7 -17,7 2,7 32,7 -2,7 -32,7 3,7 48,7 -3,7 -48,7\r
 k:-1  1,34 -1,1034 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
 k:-1  1,34 -1,34 1,7 -1,7 16,7 15,7 17,7 -16,7 -15,7 -17,7\r
@@ -760,7 +767,7 @@ w:310 1,7 16,7 -1,7 -16,7 2,7 32,7 -2,7 -32,7
 e:320 30,7 34,7 -30,7 -34,7 16,7 -16,7 1,7 -1,7\r
 l:530 15,3 17,3 -15,3 -17,3 32,7 -32,7 2,7 -2,7\r
 s:400 16,843 1,843 -1,843 -16,843\r
-M:935 -16,3 1,3 -1,3 -14,7 -31,7 -33,7 -18,7 -15,7 -17,7 16,7 15,7 17,7\r
+M:935 -16,3 1,3 -1,3 -14,7 -31,7 -33,7 -18,7 16,3 14,7 31,7 33,7 18,7\r
 c:480 15,7 17,7 -15,7 -17,7 32,7 -32,7 2,7 -2,7 30,7 34,7 -30,7 -34,7\r
 A:875 15,3 17,3 -15,3 -17,3 14,7 31,7 33,7 18,7 -14,7 -31,7 -33,7 -18,7\r
 h:480 15,7 17,7 -15,7 -17,7 2,7 32,7 -2,7 -32,7 3,7 48,7 -3,7 -48,7\r