projects
/
gnushogi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ef305e0
)
Fix typeMask
mini
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Wed, 5 Mar 2014 09:53:46 +0000 (10:53 +0100)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Wed, 5 Mar 2014 09:53:46 +0000 (10:53 +0100)
gnushogi/gnushogi.h
patch
|
blob
|
history
diff --git
a/gnushogi/gnushogi.h
b/gnushogi/gnushogi.h
index
c993804
..
14cc51e
100644
(file)
--- a/
gnushogi/gnushogi.h
+++ b/
gnushogi/gnushogi.h
@@
-303,8
+303,8
@@
enum {
T_PROOK = 1<<prook,
T_KING = 1<<king
#ifdef MINISHOGI
- T_LANCE = 1<<king+1,
- T_KNIGHT = 1<<king+2,
+ ,T_LANCE = 1<<king+1,
+ T_KNIGHT = 1<<king+2
#endif
};
@@
-716,6
+716,7
@@
extern char savefile[], listfile[];
extern short TrPnt[];
extern small_short board[], color[];
extern const small_short sweep[NO_PIECES];
+extern const int typeMask[NO_PIECES];
extern small_short PieceList[2][NO_SQUARES], PawnCnt[2][NO_COLS];
extern small_short Captured[2][NO_PIECES];