summaryrefslogtreecommitdiff
path: root/src/uci/state.h
diff options
context:
space:
mode:
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