summaryrefslogtreecommitdiff
path: root/include/tak.c
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-01-03 17:20:39 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit60dfb616282023dbc1f567355357e27018693077 (patch)
tree435b0de145b97dcb6ecaf3fe73c03e6cd6ec0a44 /include/tak.c
parent45d2aa065c7ac8143110873c069cd0de471739a7 (diff)
Incorrect usage of globals in header
Diffstat (limited to 'include/tak.c')
-rw-r--r--include/tak.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/tak.c b/include/tak.c
index 3a8dff4..b1a20f2 100644
--- a/include/tak.c
+++ b/include/tak.c
@@ -1,6 +1,17 @@
#include "tak.h"
// ===================================================================
+// Globals
+// ===================================================================
+
+enum WIN_TYPE won;
+uint8_t board_size;
+data_t celldat[36];
+colour_stack_t colours[36];
+enum COLOUR current_colour;
+uint8_t white_count, black_count, ply;
+
+// ===================================================================
// Helpers
// ===================================================================