~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Load and Save are now supported on all three desktop platforms, and
[sgt/puzzles]
/
nullgame.c
diff --git
a/nullgame.c
b/nullgame.c
index
46f903f
..
204f633
100644
(file)
--- a/
nullgame.c
+++ b/
nullgame.c
@@
-84,16
+84,11
@@
static char *validate_params(game_params *params)
}
static char *new_game_desc(game_params *params, random_state *rs,
}
static char *new_game_desc(game_params *params, random_state *rs,
-
game_aux_info
**aux, int interactive)
+
char
**aux, int interactive)
{
return dupstr("FIXME");
}
{
return dupstr("FIXME");
}
-static void game_free_aux_info(game_aux_info *aux)
-{
- assert(!"Shouldn't happen");
-}
-
static char *validate_desc(game_params *params, char *desc)
{
return NULL;
static char *validate_desc(game_params *params, char *desc)
{
return NULL;
@@
-123,7
+118,7
@@
static void free_game(game_state *state)
}
static char *solve_game(game_state *state, game_state *currstate,
}
static char *solve_game(game_state *state, game_state *currstate,
-
game_aux_info
*aux, char **error)
+
char
*aux, char **error)
{
return NULL;
}
{
return NULL;
}
@@
-142,12
+137,12
@@
static void free_ui(game_ui *ui)
{
}
{
}
-char *encode_ui(game_ui *ui)
+
static
char *encode_ui(game_ui *ui)
{
return NULL;
}
{
return NULL;
}
-void decode_ui(game_ui *ui, char *encoding)
+
static
void decode_ui(game_ui *ui, char *encoding)
{
}
{
}
@@
-255,7
+250,6
@@
const struct game thegame = {
FALSE, game_configure, custom_params,
validate_params,
new_game_desc,
FALSE, game_configure, custom_params,
validate_params,
new_game_desc,
- game_free_aux_info,
validate_desc,
new_game,
dup_game,
validate_desc,
new_game,
dup_game,