From 243a73132da768c93b216e865d0c11dfa3997956 Mon Sep 17 00:00:00 2001 From: girst Date: Sat, 9 Mar 2019 21:07:55 +0100 Subject: [PATCH] freecell: join() freecells->foundation --- sol.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sol.c b/sol.c index 4c976ee..f1fac0c 100644 --- a/sol.c +++ b/sol.c @@ -552,8 +552,7 @@ int f2c(int from, int to, int opt) { return OK; } -#define w2f nop /* for join()'s "to foundation" */ -#define w2t nop /* ditto. */ +#define w2f c2f /* for join()'s "to foundation" */ #endif //TODO: generalize prediction engine for CMD_HINT @@ -1014,6 +1013,7 @@ from_l: print_table(&active, &inactive); } inactive.pile = *from; /* for direct addressing highlighting */ if (is_tableu(*from) && f.t[*from][0] == NO_CARD) return CMD_INVAL; + //TODO: freecell: if from==stock && stock[x] == empty: return inval #ifndef FREECELL if (*from == STOCK) { -- 2.39.3