From 0de1530f4cea21f2bc0a0e0f1cbf9da016c7bda5 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Fri, 4 Oct 2024 12:15:37 +0200 Subject: Revert table-based transformations Long live the giant switch! --- src/core/moves.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/moves.h') diff --git a/src/core/moves.h b/src/core/moves.h index 4847f03..f0d7646 100644 --- a/src/core/moves.h +++ b/src/core/moves.h @@ -1,5 +1,5 @@ -#define MOVE(M, c) compose(c, cubefrompieces(MOVE_CUBE_ ## M)) -#define PREMOVE(M, c) compose(cubefrompieces(MOVE_CUBE_ ## M), c) +#define MOVE(M, c) compose(c, MOVE_CUBE_ ## M) +#define PREMOVE(M, c) compose(MOVE_CUBE_ ## M, c) STATIC_INLINE bool allowednextmove(uint8_t *, uint8_t); -- cgit v1.3