GNU Shogi 1.1.pl01
[gnushogi.git] / src / init_data4.c
blob7549429f1416185e73f55f5985550a643e568c14
1 #if defined THINK_C
2 #include "gnushogi.h"
3 #endif
6 next_array prook_nextdir, pbishop_nextdir, wgold_nextdir;
10 const small_short Stboard[NO_SQUARES] =
11 {lance,knight,silver,gold,king,gold,silver,knight,lance,
12 0, bishop, 0, 0, 0, 0, 0, rook, 0,
13 pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn,
14 0, 0, 0, 0, 0, 0, 0, 0, 0,
15 0, 0, 0, 0, 0, 0, 0, 0, 0,
16 0, 0, 0, 0, 0, 0, 0, 0, 0,
17 pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn,
18 0, rook, 0, 0, 0, 0, 0, bishop, 0,
19 lance,knight,silver,gold,king,gold,silver,knight,lance};
21 const small_short Stcolor[NO_SQUARES] =
22 {black, black, black, black, black, black, black, black, black,
23 neutral, black, neutral, neutral, neutral, neutral, neutral, black, neutral,
24 black, black, black, black, black, black, black, black, black,
25 neutral, neutral, neutral, neutral, neutral, neutral, neutral, neutral, neutral,
26 neutral, neutral, neutral, neutral, neutral, neutral, neutral, neutral, neutral,
27 neutral, neutral, neutral, neutral, neutral, neutral, neutral, neutral, neutral,
28 white, white, white, white, white, white, white, white, white,
29 neutral, white, neutral, neutral, neutral, neutral, neutral, white, neutral,
30 white, white, white, white, white, white, white, white, white};
33 small_short board[NO_SQUARES], color[NO_SQUARES];