diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-10-22 16:52:16 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-10-22 16:52:16 +0000 |
| commit | eb2013efc0a6201d0e46de65c1a905b676d13d01 (patch) | |
| tree | 256e92f4cdd537713f9de693bae36b1ac9fb4e45 /rect.c | |
| parent | 40fcf516f40e10f23f5a9f6760bfffae206b2e49 (diff) | |
| download | puzzles-eb2013efc0a6201d0e46de65c1a905b676d13d01.zip puzzles-eb2013efc0a6201d0e46de65c1a905b676d13d01.tar.gz puzzles-eb2013efc0a6201d0e46de65c1a905b676d13d01.tar.bz2 puzzles-eb2013efc0a6201d0e46de65c1a905b676d13d01.tar.xz | |
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]
Diffstat (limited to 'rect.c')
| -rw-r--r-- | rect.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -2761,11 +2761,6 @@ static float game_flash_length(game_state *oldstate, return 0.0F; } -static int game_wants_statusbar(void) -{ - return TRUE; -} - static int game_timing_state(game_state *state, game_ui *ui) { return TRUE; @@ -2872,7 +2867,7 @@ const struct game thegame = { game_anim_length, game_flash_length, TRUE, FALSE, game_print_size, game_print, - game_wants_statusbar, + TRUE, /* wants_statusbar */ FALSE, game_timing_state, 0, /* flags */ }; |