~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
About time I got round to documenting the new
[sgt/puzzles]
/
solo.c
diff --git
a/solo.c
b/solo.c
index
923113a
..
19d91b4
100644
(file)
--- a/
solo.c
+++ b/
solo.c
@@
-331,8
+331,8
@@
static char *validate_params(game_params *params, int full)
return "Both dimensions must be at least 2";
if (params->c > ORDER_MAX || params->r > ORDER_MAX)
return "Dimensions greater than "STR(ORDER_MAX)" are not supported";
return "Both dimensions must be at least 2";
if (params->c > ORDER_MAX || params->r > ORDER_MAX)
return "Dimensions greater than "STR(ORDER_MAX)" are not supported";
- if ((params->c * params->r) > 3
6
)
- return "Unable to support more than 3
6
distinct symbols in a puzzle";
+ if ((params->c * params->r) > 3
5
)
+ return "Unable to support more than 3
5
distinct symbols in a puzzle";
return NULL;
}
return NULL;
}
@@
-3052,7
+3052,7
@@
static void game_print(drawing *dr, game_state *state, int tilesize)
#endif
const struct game thegame = {
#endif
const struct game thegame = {
- "Solo", "games.solo",
+ "Solo", "games.solo",
"solo",
default_params,
game_fetch_preset,
decode_params,
default_params,
game_fetch_preset,
decode_params,
@@
-3085,7
+3085,7
@@
const struct game thegame = {
TRUE, FALSE, game_print_size, game_print,
FALSE, /* wants_statusbar */
FALSE, game_timing_state,
TRUE, FALSE, game_print_size, game_print,
FALSE, /* wants_statusbar */
FALSE, game_timing_state,
-
0,
/* flags */
+
REQUIRE_RBUTTON | REQUIRE_NUMPAD,
/* flags */
};
#ifdef STANDALONE_SOLVER
};
#ifdef STANDALONE_SOLVER