summaryrefslogtreecommitdiff
path: root/src/uci/state.h
diff options
context:
space:
mode:
authorAargh Rai <aargh.rai+git@gmail.com>2026-07-05 23:55:45 +0530
committerAargh Rai <aargh.rai+git@gmail.com>2026-07-05 23:55:45 +0530
commit1876294f217d7faa2a07dbaaaab82d142ce42803 (patch)
treed67ba4b240f25042063c06ce99370e3be34457ff /src/uci/state.h
parentf17df9538b1c3f58f12b738083b747ac332b8d71 (diff)
all in on uci
the old server.c & log.c is gonna be removed soon
Diffstat (limited to 'src/uci/state.h')
-rw-r--r--src/uci/state.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/uci/state.h b/src/uci/state.h
index fd24b7e..cb0d63f 100644
--- a/src/uci/state.h
+++ b/src/uci/state.h
@@ -1,6 +1,8 @@
#ifndef UCI_STATE_H
#define UCI_STATE_H
+#include "engine/fen.h"
+
typedef struct {
char* data;
int length;
@@ -78,6 +80,8 @@ typedef struct {
char author[32];
bool debug;
+ struct fen_load position;
+
option_setting_t option_settings[11];
// options
@@ -100,4 +104,9 @@ typedef struct {
str_t uci_setpositionvalue;
} uci_state;
+struct uci_move {
+ int from;
+ int to;
+};
+
#endif // UCI_STATE_H