diff options
Diffstat (limited to 'constants.h')
| -rw-r--r-- | constants.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/constants.h b/constants.h index c3b9312..cf584b1 100644 --- a/constants.h +++ b/constants.h | |||
| @@ -45,22 +45,6 @@ | |||
| 45 | #define _eflip 0x10U | 45 | #define _eflip 0x10U |
| 46 | #define _error 0xFFU | 46 | #define _error 0xFFU |
| 47 | 47 | ||
| 48 | typedef enum { | ||
| 49 | U, U2, U3, D, D2, D3, | ||
| 50 | R, R2, R3, L, L2, L3, | ||
| 51 | F, F2, F3, B, B2, B3 | ||
| 52 | } move_t; | ||
| 53 | |||
| 54 | typedef enum { | ||
| 55 | UFr, ULr, UBr, URr, DFr, DLr, DBr, DRr, | ||
| 56 | RUr, RFr, RDr, RBr, LUr, LFr, LDr, LBr, | ||
| 57 | FUr, FRr, FDr, FLr, BUr, BRr, BDr, BLr, | ||
| 58 | |||
| 59 | UFm, ULm, UBm, URm, DFm, DLm, DBm, DRm, | ||
| 60 | RUm, RFm, RDm, RBm, LUm, LFm, LDm, LBm, | ||
| 61 | FUm, FRm, FDm, FLm, BUm, BRm, BDm, BLm | ||
| 62 | } trans_t; | ||
| 63 | |||
| 64 | _static cube_t zero = { .corner = {0}, .edge = {0} }; | 48 | _static cube_t zero = { .corner = {0}, .edge = {0} }; |
| 65 | _static cube_t solved = { | 49 | _static cube_t solved = { |
| 66 | .corner = {0, 1, 2, 3, 4, 5, 6, 7}, | 50 | .corner = {0, 1, 2, 3, 4, 5, 6, 7}, |
