summaryrefslogtreecommitdiff
path: root/src/ipc.h
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-07-07 23:37:41 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-07-07 23:37:41 +0530
commit2761f8a533e2b025f209222a1e4ec70b91c7e8ee (patch)
treebb1ce2dfbf3f35fb81f8080776a7cc35e0ed3e3a /src/ipc.h
parent965bf81879b22a25fd9b0d17ce6defd3d51c6173 (diff)
thread spawning from the uci settings & best move & ponder is now sent
uci setup is ALMOST done, i can sense it
Diffstat (limited to 'src/ipc.h')
-rw-r--r--src/ipc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ipc.h b/src/ipc.h
index 1c901b8..35b109b 100644
--- a/src/ipc.h
+++ b/src/ipc.h
@@ -29,6 +29,9 @@ struct engine_message {
int time;
comm_moves pv;
+ struct uci_move best_move;
+ struct uci_move ponder;
+
struct engine_message *next;
};
@@ -40,9 +43,8 @@ typedef struct {
enum { MESSAGE_FILLED, MESSAGE_READ, MESSAGE_PROCESSED };
typedef struct {
engine_messages *engine_messages;
-
uci_state state;
-
+ int uci_state_initialized;
int uci_message_ready;
struct fen_load from_position;
comm_moves moves;