From 60dfb616282023dbc1f567355357e27018693077 Mon Sep 17 00:00:00 2001 From: tslil Date: Sun, 3 Jan 2021 17:20:39 -0500 Subject: Incorrect usage of globals in header --- include/tak.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/tak.c') diff --git a/include/tak.c b/include/tak.c index 3a8dff4..b1a20f2 100644 --- a/include/tak.c +++ b/include/tak.c @@ -1,5 +1,16 @@ #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 // =================================================================== -- cgit v1.3.1