diff options
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/cube.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/cube.h b/src/core/cube.h index 3ba282e..9e79dda 100644 --- a/src/core/cube.h +++ b/src/core/cube.h | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | STATIC bool cube_true(cube_t); | ||
| 2 | |||
| 1 | STATIC cube_t cubefromarray(uint8_t [static 8], uint8_t [static 12]); | 3 | STATIC cube_t cubefromarray(uint8_t [static 8], uint8_t [static 12]); |
| 2 | STATIC bool isconsistent(oriented_cube_t); | 4 | STATIC bool isconsistent(oriented_cube_t); |
| 3 | STATIC bool issolvable(oriented_cube_t); | 5 | STATIC bool issolvable(oriented_cube_t); |
| @@ -19,6 +21,13 @@ STATIC uint8_t b32tocorner(char); | |||
| 19 | STATIC char edgetob32(uint8_t); | 21 | STATIC char edgetob32(uint8_t); |
| 20 | STATIC char cornertob32(uint8_t); | 22 | STATIC char cornertob32(uint8_t); |
| 21 | 23 | ||
| 24 | /* Used e.g. by the CORNERS coordinate, when a function pointer is needed */ | ||
| 25 | STATIC bool | ||
| 26 | cube_true(cube_t cube) | ||
| 27 | { | ||
| 28 | return true; | ||
| 29 | } | ||
| 30 | |||
| 22 | STATIC cube_t | 31 | STATIC cube_t |
| 23 | cubefromarray(uint8_t c[static 8], uint8_t e[static 12]) | 32 | cubefromarray(uint8_t c[static 8], uint8_t e[static 12]) |
| 24 | { | 33 | { |
