gtp.c: time_sub() now has an extra parameter.
[pachi/pachi-r6144.git] / distributed / distributed.h
blobfdf86226c96c2bff9255ce961ae65a9c62b860ea
1 #ifndef ZZGO_DISTRIBUTED_DISTRIBUTED_H
2 #define ZZGO_DISTRIBUTED_DISTRIBUTED_H
4 #include "engine.h"
5 #include "stats.h"
7 #define DIST_GAMELEN 1000
9 #define force_reply(id) ((id) + DIST_GAMELEN)
10 #define prevent_reply(id) ((id) % DIST_GAMELEN)
11 #define move_number(id) ((id) % DIST_GAMELEN)
12 #define reply_disabled(id) ((id) < DIST_GAMELEN)
14 struct move_stats2 {
15 struct move_stats u;
16 struct move_stats amaf;
19 struct engine *engine_distributed_init(char *arg, struct board *b);
21 #endif