X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/8b7938e71a910d0017b2ab013513e5d13716f1ef..c87ce51a9ebefaed64048dcd86aed546b930779d:/puzzles.h diff --git a/puzzles.h b/puzzles.h index 37636f4..b0947fc 100644 --- a/puzzles.h +++ b/puzzles.h @@ -160,6 +160,7 @@ void random_free(random_state *state); * Game-specific routines */ extern const char *const game_name; +extern const char *const game_winhelp_topic; const int game_can_configure; game_params *default_params(void); int game_fetch_preset(int i, char **name, game_params **params); @@ -183,10 +184,10 @@ float *game_colours(frontend *fe, game_state *state, int *ncolours); game_drawstate *game_new_drawstate(game_state *state); void game_free_drawstate(game_drawstate *ds); void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate, - game_state *newstate, game_ui *ui, float anim_time, + game_state *newstate, int dir, game_ui *ui, float anim_time, float flash_time); -float game_anim_length(game_state *oldstate, game_state *newstate); -float game_flash_length(game_state *oldstate, game_state *newstate); +float game_anim_length(game_state *oldstate, game_state *newstate, int dir); +float game_flash_length(game_state *oldstate, game_state *newstate, int dir); int game_wants_statusbar(void); #endif /* PUZZLES_PUZZLES_H */