chiark
/
gitweb
/
~ian
/
sgt-puzzles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added an `interactive' flag to new_game_desc(), which toggles Mines
[sgt-puzzles.git]
/
fifteen.c
diff --git
a/fifteen.c
b/fifteen.c
index bbdb939a9f543fb288295944bffc2efc37395cdf..e7a41ef32fcdbdd21749c3bf1965e6579043bce3 100644
(file)
--- a/
fifteen.c
+++ b/
fifteen.c
@@
-151,7
+151,7
@@
static int perm_parity(int *perm, int n)
}
static char *new_game_desc(game_params *params, random_state *rs,
- game_aux_info **aux)
+ game_aux_info **aux
, int interactive
)
{
int gap, n, i, x;
int x1, x2, p1, p2, parity;