mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 00:15:46 -07:00
Cleanup: it was absolutely stupid for game_wants_statusbar() to be a
function, since it took no parameters by which to vary its decision, and in any case it's hard to imagine a game which only _conditionally_ wants a status bar. Changed it into a boolean data field in the backend structure. [originally from svn r6417]
This commit is contained in:
@ -396,7 +396,7 @@ struct game {
|
||||
int can_print, can_print_in_colour;
|
||||
void (*print_size)(game_params *params, float *x, float *y);
|
||||
void (*print)(drawing *dr, game_state *state, int tilesize);
|
||||
int (*wants_statusbar)(void);
|
||||
int wants_statusbar;
|
||||
int is_timed;
|
||||
int (*timing_state)(game_state *state, game_ui *ui);
|
||||
int flags;
|
||||
|
Reference in New Issue
Block a user