diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-11 21:37:34 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-11 21:37:34 +0100 |
| commit | 3568412f8f230774d0d11d7ed1c897424f95d3ef (patch) | |
| tree | 77223792d8c925a9b1fc32b3f4341e943b5f8209 /old/coord.h | |
| parent | 67e1b5e6e6a2c917a2fe58a37a1382c982b1e5c5 (diff) | |
| download | nissy-3568412f8f230774d0d11d7ed1c897424f95d3ef.tar.gz nissy-3568412f8f230774d0d11d7ed1c897424f95d3ef.zip | |
Rewritten from scratch. Welocme nissy 2.0!
Diffstat (limited to '')
| -rw-r--r-- | old/coord.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/old/coord.h b/old/coord.h new file mode 100644 index 0000000..3e230a8 --- /dev/null +++ b/old/coord.h | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | #ifndef COORD_H | ||
| 2 | #define COORD_H | ||
| 3 | |||
| 4 | #include "trans.h" | ||
| 5 | |||
| 6 | extern Coordinate coord_eofb; | ||
| 7 | extern Coordinate coord_eofbepos; | ||
| 8 | extern Coordinate coord_coud; | ||
| 9 | extern Coordinate coord_cp; | ||
| 10 | extern Coordinate coord_corners; | ||
| 11 | extern Coordinate coord_cornershtr; | ||
| 12 | extern Coordinate coord_drud; | ||
| 13 | extern Coordinate coord_coud_sym16; | ||
| 14 | extern Coordinate coord_drud_eofb; | ||
| 15 | extern Coordinate coord_cp_sym16; | ||
| 16 | extern Coordinate coord_eofbepos_sym16; | ||
| 17 | extern Coordinate coord_drud_sym16; | ||
| 18 | extern Coordinate coord_drudfin_noE_sym16; | ||
| 19 | extern Coordinate coord_htrfin; | ||
| 20 | extern Coordinate coord_khuge; | ||
| 21 | |||
| 22 | uint64_t cphtr(Cube cube); /* TODO: rename (something with cosets) */ | ||
| 23 | Cube anti_cphtr(uint64_t ind); /*TODO also this */ | ||
| 24 | uint64_t epos_dependent(Cube cube); /* TODO: rename and turn into an indexer */ | ||
| 25 | |||
| 26 | bool check_centers(Cube cube); | ||
| 27 | bool check_corners(Cube cube); | ||
| 28 | bool check_cp(Cube cube); | ||
| 29 | bool check_cornershtr(Cube cube); | ||
| 30 | bool check_coud(Cube cube); | ||
| 31 | bool check_drud(Cube cube); | ||
| 32 | bool check_htr(Cube cube); | ||
| 33 | bool check_htrfin(Cube cube); | ||
| 34 | bool check_drudfin_noE(Cube cube); | ||
| 35 | bool check_eofb(Cube cube); | ||
| 36 | bool check_eofbepos(Cube cube); | ||
| 37 | bool check_epose(Cube cube); | ||
| 38 | bool check_ep(Cube cube); | ||
| 39 | bool check_khuge(Cube cube); | ||
| 40 | bool check_nothing(Cube cube); | ||
| 41 | |||
| 42 | void init_coord(); | ||
| 43 | |||
| 44 | #endif | ||
| 45 | |||
