Generate patterns.inc at build time.
[gnushogi.git] / gnushogi / pat2inc.c
index 956f5c2..00d505e 100644 (file)
@@ -43,12 +43,11 @@ extern void WriteOpeningSequences(short pindex);
 small_short PieceCnt[2];
 small_short PieceList[2][NO_SQUARES];
 small_short PieceIndex[NO_SQUARES];
+*/
 
 small_short board[NO_SQUARES];
 small_short color[NO_SQUARES];
 
-*/
-
 void
 test_distance(void)
 {
@@ -95,8 +94,6 @@ main(int argc, char **argv)
     char  s[80];
 #endif
 
-    display_type = DISPLAY_RAW;
-
     Initialize_data();
 
     for (sq = 0; sq < NO_SQUARES; sq++)