aboutsummaryrefslogtreecommitdiff
path: root/include/action_list.h
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-25 00:14:31 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit3db577276b055ff7c8a8ed22302e9333ca679c26 (patch)
treeacfbb652c6d923835f08e29cea69f42c6cdb52e1 /include/action_list.h
parentd96ea8235a63bcb75e8b13286e84ee1b4168d127 (diff)
Lots of bugfixes, mostly uint vs int. Still weirdness in game
Diffstat (limited to 'include/action_list.h')
-rw-r--r--include/action_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/action_list.h b/include/action_list.h
index 03881c5..a0f5a34 100644
--- a/include/action_list.h
+++ b/include/action_list.h
@@ -8,12 +8,12 @@ enum A_TYPE { A_PLACE, A_MOVE };
typedef struct action_list_s {
struct action_list_s *next;
enum A_TYPE type;
- uint8_t loc;
+ int8_t loc;
uint8_t data0;
uint8_t data1;
} action_list_t;
-void action_list_init(const uint8_t new_board_size);
+void action_list_init(void);
void action_list_free(action_list_t *list);
action_list_t *action_list_generate(void);