From 0f423f0b3a0bfaaac37fa2dba23794629088836f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 30 May 2005 07:55:27 +0000 Subject: Infrastructure change: game_anim_length and game_flash_length now both get passed a pointer to the game_ui. This means that if they need to note down information for the redraw function about what _type_ of flash or animation is required, they now have somewhere to do so. [originally from svn r5858] --- pattern.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pattern.c') diff --git a/pattern.c b/pattern.c index e09ed3d..0d5f8a8 100644 --- a/pattern.c +++ b/pattern.c @@ -1086,13 +1086,13 @@ static void game_redraw(frontend *fe, game_drawstate *ds, game_state *oldstate, } static float game_anim_length(game_state *oldstate, - game_state *newstate, int dir) + game_state *newstate, int dir, game_ui *ui) { return 0.0F; } static float game_flash_length(game_state *oldstate, - game_state *newstate, int dir) + game_state *newstate, int dir, game_ui *ui) { if (!oldstate->completed && newstate->completed && !oldstate->cheated && !newstate->cheated) -- cgit v1.1