From 3568412f8f230774d0d11d7ed1c897424f95d3ef Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Thu, 11 Nov 2021 21:37:34 +0100 Subject: Rewritten from scratch. Welocme nissy 2.0! --- old/2021-07-15-almostbeforerefactor/alg.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 old/2021-07-15-almostbeforerefactor/alg.h (limited to 'old/2021-07-15-almostbeforerefactor/alg.h') diff --git a/old/2021-07-15-almostbeforerefactor/alg.h b/old/2021-07-15-almostbeforerefactor/alg.h new file mode 100644 index 0000000..865c2b3 --- /dev/null +++ b/old/2021-07-15-almostbeforerefactor/alg.h @@ -0,0 +1,27 @@ +#ifndef ALG_H +#define ALG_H + +#include +#include +#include +#include + +#include "macros.h" +#include "cubetypes.h" + +Move base_move(Move m); +void free_alg(Alg *alg); +void free_alglist(AlgList *l); +Alg * inverse_alg(Alg *alg); +Move inverse_move(Move m); +bool moveset_HTM(Move m); +bool moveset_URF(Move m); +Alg * new_alg(char *str); +Alg * on_inverse(Alg *alg); +void print_alg(Alg *alg, bool l); +void print_alglist(AlgList *al, bool l); +Alg * rotation_alg(Trans i); +void transform_alg(Trans t, Alg *alg); + +#endif + -- cgit v1.3