diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-25 00:14:31 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2021-01-25 00:14:31 -0500 |
| commit | 12813bf484235b4410dc81dee76a835b67d89567 (patch) | |
| tree | acfbb652c6d923835f08e29cea69f42c6cdb52e1 /include/action_list.h | |
| parent | c805be4be1e0a6a5884c8435b61df1ce9381c817 (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.h | 4 |
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); |
