~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Chris's patch to stop Mines depending on char being signed.
[sgt/puzzles]
/
nullgame.c
diff --git
a/nullgame.c
b/nullgame.c
index
8d08530
..
3ec6b75
100644
(file)
--- a/
nullgame.c
+++ b/
nullgame.c
@@
-84,7
+84,7
@@
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)
+ game_aux_info **aux
, int interactive
)
{
return dupstr("FIXME");
}
{
return dupstr("FIXME");
}
@@
-99,7
+99,7
@@
static char *validate_desc(game_params *params, char *desc)
return NULL;
}
return NULL;
}
-static game_state *new_game(game_params *params, char *desc)
+static game_state *new_game(
midend_data *me,
game_params *params, char *desc)
{
game_state *state = snew(game_state);
{
game_state *state = snew(game_state);
@@
-215,6
+215,11
@@
static int game_wants_statusbar(void)
return FALSE;
}
return FALSE;
}
+static int game_timing_state(game_state *state)
+{
+ return TRUE;
+}
+
#ifdef COMBINED
#define thegame nullgame
#endif
#ifdef COMBINED
#define thegame nullgame
#endif
@@
-248,4
+253,5
@@
const struct game thegame = {
game_anim_length,
game_flash_length,
game_wants_statusbar,
game_anim_length,
game_flash_length,
game_wants_statusbar,
+ FALSE, game_timing_state,
};
};