diff options
| author | tslil <tslil@posteo.de> | 2020-12-30 17:16:49 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | aeaed8da4ee5e58660223bec2d28aacd0cf8276a (patch) | |
| tree | 89f12eb812a66ce807eaca910c92d6b0cae5654d /include/state.h | |
| parent | 0a3b2d825077b5e6c5f1cf4a0dcb13fdfffc0be6 (diff) | |
OBOEs in try_move + logic errors
- Corrected use of static
- Implemented next_turn
Diffstat (limited to 'include/state.h')
| -rw-r--r-- | include/state.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/state.h b/include/state.h index 218bf71..4f0528c 100644 --- a/include/state.h +++ b/include/state.h @@ -4,11 +4,11 @@ typedef uint16_t colour_stack_t; typedef uint8_t data_t; -static uint8_t board_size; -static data_t celldat[36]; -static colour_stack_t colours[36]; -static enum COLOUR current_colour; -static uint8_t white_flats, black_flats, white_caps, black_caps, turn; +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); |
