~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Er, except that I already had a makedist.sh. Transferred new version
[sgt/puzzles]
/
nullgame.c
diff --git
a/nullgame.c
b/nullgame.c
index
296e76e
..
6eb427c
100644
(file)
--- a/
nullgame.c
+++ b/
nullgame.c
@@
-94,7
+94,7
@@
static char *new_game_seed(game_params *params, random_state *rs,
return dupstr("FIXME");
}
return dupstr("FIXME");
}
-void game_free_aux_info(game_aux_info *aux)
+
static
void game_free_aux_info(game_aux_info *aux)
{
assert(!"Shouldn't happen");
}
{
assert(!"Shouldn't happen");
}
@@
-127,6
+127,12
@@
static void free_game(game_state *state)
sfree(state);
}
sfree(state);
}
+static game_state *solve_game(game_state *state, game_aux_info *aux,
+ char **error)
+{
+ return NULL;
+}
+
static char *game_text_format(game_state *state)
{
return NULL;
static char *game_text_format(game_state *state)
{
return NULL;
@@
-234,6
+240,7
@@
const struct game thegame = {
new_game,
dup_game,
free_game,
new_game,
dup_game,
free_game,
+ FALSE, solve_game,
FALSE, game_text_format,
new_ui,
free_ui,
FALSE, game_text_format,
new_ui,
free_ui,