diff options
Diffstat (limited to '')
| -rw-r--r-- | src/cube.h | 11 |
1 files changed, 5 insertions, 6 deletions
| @@ -7,12 +7,11 @@ typedef uint8_t trans_t; | |||
| 7 | 7 | ||
| 8 | extern cube_t solvedcube; | 8 | extern cube_t solvedcube; |
| 9 | 9 | ||
| 10 | /* For the textual representation of the cube, see utils/FORMAT.txt */ | 10 | /* Not all formats are supported for both read and write. */ |
| 11 | cube_t readcube(char *); | 11 | /* See utils/FORMAT.txt for details. */ |
| 12 | void writecube(cube_t, char *); | 12 | typedef enum {H48, SRC} format_t; |
| 13 | 13 | cube_t readcube(format_t, char *); | |
| 14 | /* Writes a cube in C source code format */ | 14 | void writecube(format_t, cube_t, char *); |
| 15 | void writecubesrc(cube_t, char *); | ||
| 16 | 15 | ||
| 17 | bool issolvable(cube_t); | 16 | bool issolvable(cube_t); |
| 18 | bool equal(cube_t, cube_t); | 17 | bool equal(cube_t, cube_t); |
