~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move definition of PI into puzzles.h. If nothing else, the definition in cube.c
[sgt/puzzles]
/
solo.c
diff --git
a/solo.c
b/solo.c
index
9e350f6
..
f3afb02
100644
(file)
--- a/
solo.c
+++ b/
solo.c
@@
-1397,7
+1397,7
@@
struct game_aux_info {
};
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
)
{
int c = params->c, r = params->r, cr = c*r;
int area = cr*cr;
{
int c = params->c, r = params->r, cr = c*r;
int area = cr*cr;
@@
-1821,8
+1821,8
@@
static void free_ui(game_ui *ui)
sfree(ui);
}
sfree(ui);
}
-static game_state *make_move(game_state *from, game_ui *ui,
int x, int y
,
- int button)
+static game_state *make_move(game_state *from, game_ui *ui,
game_drawstate *ds
,
+
int x, int y,
int button)
{
int c = from->c, r = from->r, cr = c*r;
int tx, ty;
{
int c = from->c, r = from->r, cr = c*r;
int tx, ty;
@@
-2140,6
+2140,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 solo
#endif
#ifdef COMBINED
#define thegame solo
#endif
@@
-2173,6
+2178,7
@@
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,
};
#ifdef STANDALONE_SOLVER
};
#ifdef STANDALONE_SOLVER