diff options
| author | tslil <tslil@posteo.de> | 2021-02-08 13:44:45 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 7dc20b4709b4c641372aedfb3661341e139ac63c (patch) | |
| tree | 501240347194f4c1073700871347b8aab2f7467e /include/actions.h | |
| parent | ce09b6d94ac3dbf426e959b14fd7731001a003d1 (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); |
