diff options
Diffstat (limited to 'src/moves.h')
| -rw-r--r-- | src/moves.h | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/src/moves.h b/src/moves.h index 4e8be7f..14ae087 100644 --- a/src/moves.h +++ b/src/moves.h | |||
| @@ -5,11 +5,24 @@ | |||
| 5 | #include "cube.h" | 5 | #include "cube.h" |
| 6 | #include "env.h" | 6 | #include "env.h" |
| 7 | 7 | ||
| 8 | void apply_alg(Alg *alg, Cube *cube); | 8 | /* |
| 9 | void apply_move(Move m, Cube *cube); | 9 | * Tables are exposed to allow for faster moves in some cases. |
| 10 | void apply_move_centers(Move m, Cube *cube); | 10 | */ |
| 11 | void apply_move_corners(Move m, Cube *cube); | 11 | extern int epose_mtable[NMOVES][FACTORIAL12/FACTORIAL8]; |
| 12 | void apply_move_edges(Move m, Cube *cube); | 12 | extern int eposs_mtable[NMOVES][FACTORIAL12/FACTORIAL8]; |
| 13 | extern int eposm_mtable[NMOVES][FACTORIAL12/FACTORIAL8]; | ||
| 14 | extern int eofb_mtable[NMOVES][POW2TO11]; | ||
| 15 | extern int eorl_mtable[NMOVES][POW2TO11]; | ||
| 16 | extern int eoud_mtable[NMOVES][POW2TO11]; | ||
| 17 | extern int cp_mtable[NMOVES][FACTORIAL8]; | ||
| 18 | extern int coud_mtable[NMOVES][POW3TO7]; | ||
| 19 | extern int cofb_mtable[NMOVES][POW3TO7]; | ||
| 20 | extern int corl_mtable[NMOVES][POW3TO7]; | ||
| 21 | extern int cpos_mtable[NMOVES][FACTORIAL6]; | ||
| 22 | |||
| 23 | Cube apply_alg(Alg *alg, Cube cube); | ||
| 24 | Cube apply_alg_generic(Alg *alg, Cube c, PieceFilter f, bool a); | ||
| 25 | Cube apply_move(Move m, Cube cube); | ||
| 13 | Alg * cleanup(Alg *alg); | 26 | Alg * cleanup(Alg *alg); |
| 14 | 27 | ||
| 15 | void init_moves(); | 28 | void init_moves(); |
