projects
/
hachu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
675b3ec
)
Improve potential debug print
author
H.G. Muller
<h.g.muller@hccnet.nl>
Fri, 18 Jan 2013 14:05:20 +0000 (15:05 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Fri, 18 Jan 2013 14:05:20 +0000 (15:05 +0100)
hachu.c
patch
|
blob
|
history
diff --git
a/hachu.c
b/hachu.c
index
38ae201
..
fbca937
100644
(file)
--- a/
hachu.c
+++ b/
hachu.c
@@
-1356,7
+1356,7
@@
void
GenCapts(int sqr, int victimValue)
\r
{ // generate all moves that capture the piece on the given square
\r
int i, range, att = attacks[2*sqr + stm];
\r
-//printf("GenCapts(%d,%d)\n",sqr,victimValue);
\r
+//printf("GenCapts(%c%d,%d) %08x\n",sqr%BW+'a',sqr/BW,victimValue,att);
\r
if(!att) return; // no attackers at all!
\r
for(i=0; i<8; i++) { // try all rays
\r
int x, v, jumper, jcapt=0;
\r