summaryrefslogtreecommitdiff
path: root/chess.h
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2017-05-29 17:47:01 -0400
committerFranklin Wei <me@fwei.tk>2017-05-29 17:50:07 -0400
commitb4efaf40b985f3325680fe4fb72efcc74d5d8c7a (patch)
treee2c3957a9e4257cbd0580c0cc933a2a4db3cec23 /chess.h
parent175feded9001a2728e3b1334542ac68b79312957 (diff)
downloadxenonchess-b4efaf40b985f3325680fe4fb72efcc74d5d8c7a.zip
xenonchess-b4efaf40b985f3325680fe4fb72efcc74d5d8c7a.tar.gz
xenonchess-b4efaf40b985f3325680fe4fb72efcc74d5d8c7a.tar.bz2
xenonchess-b4efaf40b985f3325680fe4fb72efcc74d5d8c7a.tar.xz
time control, removes depth-based stuff
Diffstat (limited to 'chess.h')
-rw-r--r--chess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess.h b/chess.h
index 33aa496..36cf5a7 100644
--- a/chess.h
+++ b/chess.h
@@ -68,7 +68,7 @@ bool king_in_check(const struct chess_ctx *ctx, int color, struct coordinates *k
void print_ctx(const struct chess_ctx *ctx);
int best_move_negamax(const struct chess_ctx *ctx, int depth,
int a, int b,
- int color, struct move_t *best, int full);
+ int color, struct move_t *best, int full, int stop_time);
bool can_castle(const struct chess_ctx *ctx, int color, int style);
uint64_t perft(const struct chess_ctx *ctx, int depth);
struct chess_ctx ctx_from_fen(const char *fen, int *len);