diff options
| author | tslil <tslil@posteo.de> | 2021-02-08 13:44:45 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2021-02-08 13:44:45 -0500 |
| commit | 9aaa0b236bc033a62bc69c46ea7e591de9378530 (patch) | |
| tree | 501240347194f4c1073700871347b8aab2f7467e /include/actions.h | |
| parent | 5c8e082276a24b9f266396874d3e72c05990a3df (diff) | |
Working on caching move generationaction_list_caching
Diffstat (limited to 'include/actions.h')
| -rw-r--r-- | include/actions.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/actions.h b/include/actions.h index 37c8d9e..72e2055 100644 --- a/include/actions.h +++ b/include/actions.h @@ -22,6 +22,7 @@ #include <stdint.h> #include <tak.h> +#include <hashtable.h> // =================================================================== // Types @@ -66,7 +67,7 @@ extern int8_t move_deltas[4]; void action_list_init(void); void action_list_free(action_list_t *list); -action_list_t *action_list_generate(void); +action_list_t *action_list_generate(const uint64_t hash); int action_move_to_front(const action_t action, action_list_t *list); |
