XBoard: split printing of the features line for clarity.
[gnushogi.git] / gnushogi / pattern.c
index 3891b2e..349cd94 100644 (file)
@@ -4,6 +4,7 @@
  * ----------------------------------------------------------------------
  * Copyright (c) 1993, 1994, 1995 Matthias Mutz
  * Copyright (c) 1999 Michael Vanier and the Free Software Foundation
+ * Copyright (c) 2008, 2013, 2014 Yann Dirson and the Free Software Foundation
  *
  * GNU SHOGI is based on GNU CHESS
  *
 #include "gnushogi.h"
 #include "pattern.h"
 
-/* constants and pattern_data are generated by "pat2inc" */
-#include "pattern.inc"
+/* "pat2inc" generates constants and pattern_data */
+#ifndef MINISHOGI
+# include "gnushogi-pattern.inc"
+#else
+# include "gnuminishogi-pattern.inc"
+#endif
 
 struct Pattern_rec Pattern[MAX_PATTERN];
 struct OpeningSequence_rec OpeningSequence[MAX_OPENING_SEQUENCE];