summaryrefslogtreecommitdiff
path: root/include/ipc/go_args.h
blob: 7121255059d63f67661f5b05d283a9cca620d632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef GO_ARGS_H
#define GO_ARGS_H

#include "ipc/moves.h"
#include "ipc/engine_message.h"

typedef struct {
  ipc_moves_t searchmoves;
  bool ponder;
  int wtime;
  int btime;
  int winc;
  int binc;
  int movestogo;
  int depth;
  int nodes;
  int mate;
  int movetime;
  bool infinite;
  int perft;
} go_args_t;

bool should_continue(engine_message_t *message, go_args_t *go);

#endif // GO_ARGS_H