mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
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]
This commit is contained in:
@ -219,8 +219,10 @@ struct game {
|
||||
void (*redraw)(frontend *fe, game_drawstate *ds, game_state *oldstate,
|
||||
game_state *newstate, int dir, game_ui *ui, float anim_time,
|
||||
float flash_time);
|
||||
float (*anim_length)(game_state *oldstate, game_state *newstate, int dir);
|
||||
float (*flash_length)(game_state *oldstate, game_state *newstate, int dir);
|
||||
float (*anim_length)(game_state *oldstate, game_state *newstate, int dir,
|
||||
game_ui *ui);
|
||||
float (*flash_length)(game_state *oldstate, game_state *newstate, int dir,
|
||||
game_ui *ui);
|
||||
int (*wants_statusbar)(void);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user