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