X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/b0e260739db88cb2724a570af98493ff8787c31b..0e87eedc4e85f1e9f165fba059f001610bf4c42b:/cube.c diff --git a/cube.c b/cube.c index afd2ebd..45b38bc 100644 --- a/cube.c +++ b/cube.c @@ -12,6 +12,7 @@ #include "puzzles.h" const char *const game_name = "Cube"; +const char *const game_winhelp_topic = "games.cube"; const int game_can_configure = TRUE; #define MAXVERTICES 20 @@ -1350,7 +1351,7 @@ void game_free_drawstate(game_drawstate *ds) } void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate, - game_state *state, game_ui *ui, + game_state *state, int dir, game_ui *ui, float animtime, float flashtime) { int i, j; @@ -1509,12 +1510,12 @@ void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate, } } -float game_anim_length(game_state *oldstate, game_state *newstate) +float game_anim_length(game_state *oldstate, game_state *newstate, int dir) { return ROLLTIME; } -float game_flash_length(game_state *oldstate, game_state *newstate) +float game_flash_length(game_state *oldstate, game_state *newstate, int dir) { return 0.0F; }