summaryrefslogtreecommitdiff
path: root/include/state.h
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2020-12-30 17:29:15 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commita6308720e8c522c5fe60f74e4acde6d6a03e2dde (patch)
tree412d97962fffe58ca0f159aad1b1da80ef98225c /include/state.h
parent7ddade2074b9ec88c1a42cc6a00905d229485ebb (diff)
Transition to single file header
Diffstat (limited to 'include/state.h')
-rw-r--r--include/state.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/include/state.h b/include/state.h
deleted file mode 100644
index 4f0528c..0000000
--- a/include/state.h
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <stdint.h>
-#include "enums.h"
-
-typedef uint16_t colour_stack_t;
-typedef uint8_t data_t;
-
-uint8_t board_size;
-data_t celldat[36];
-colour_stack_t colours[36];
-enum COLOUR current_colour;
-uint8_t white_flats, black_flats, white_caps, black_caps, turn;
-
-void reset_state(const uint8_t new_board_size);
-void next_turn(void);
-
-enum E_RESULT
-try_place(const int8_t location, const enum COLOUR colour,
- const enum STONE_VARIANT stone);
-
-enum E_RESULT
-try_move(const int8_t location, const enum MOVE_DIRECTION direction,
- const uint8_t steps, const uint8_t drops[5]);
-
-enum E_RESULT
-check_win(void);