Net's redraw function now uses the `dir' argument to determine whether it's
[sgt/puzzles] / puzzles.h
index 37636f4..b0947fc 100644 (file)
--- 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 */