aboutsummaryrefslogtreecommitdiff
path: root/old/2021-07-15-almostbeforerefactor/alg.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-11 21:37:34 +0100
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-11-11 21:37:34 +0100
commit3568412f8f230774d0d11d7ed1c897424f95d3ef (patch)
tree77223792d8c925a9b1fc32b3f4341e943b5f8209 /old/2021-07-15-almostbeforerefactor/alg.h
parent67e1b5e6e6a2c917a2fe58a37a1382c982b1e5c5 (diff)
downloadnissy-3568412f8f230774d0d11d7ed1c897424f95d3ef.tar.gz
nissy-3568412f8f230774d0d11d7ed1c897424f95d3ef.zip
Rewritten from scratch. Welocme nissy 2.0!
Diffstat (limited to 'old/2021-07-15-almostbeforerefactor/alg.h')
-rw-r--r--old/2021-07-15-almostbeforerefactor/alg.h27
1 files changed, 27 insertions, 0 deletions
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 @@
1#ifndef ALG_H
2#define ALG_H
3
4#include <stdio.h>
5#include <stdbool.h>
6#include <stdlib.h>
7#include <string.h>
8
9#include "macros.h"
10#include "cubetypes.h"
11
12Move base_move(Move m);
13void free_alg(Alg *alg);
14void free_alglist(AlgList *l);
15Alg * inverse_alg(Alg *alg);
16Move inverse_move(Move m);
17bool moveset_HTM(Move m);
18bool moveset_URF(Move m);
19Alg * new_alg(char *str);
20Alg * on_inverse(Alg *alg);
21void print_alg(Alg *alg, bool l);
22void print_alglist(AlgList *al, bool l);
23Alg * rotation_alg(Trans i);
24void transform_alg(Trans t, Alg *alg);
25
26#endif
27

Generated with cgit - Back to sebastiano.tronto.net