diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-07-10 10:17:13 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-07-10 10:17:13 +0000 |
| commit | 3d2c442bc42050af618706899314414248126476 (patch) | |
| tree | cadfacf9b241b06145d08d5cd6100cc22ddcafad /cube.c | |
| parent | 145301d0dc5b75a89620ffe88bc8a890699eef59 (diff) | |
| download | puzzles-3d2c442bc42050af618706899314414248126476.zip puzzles-3d2c442bc42050af618706899314414248126476.tar.gz puzzles-3d2c442bc42050af618706899314414248126476.tar.bz2 puzzles-3d2c442bc42050af618706899314414248126476.tar.xz | |
game_timing_state() now has access to the game_ui. This means that
whether the timer is currently going is no longer solely dependent
on the current game_state: it can be dependent on more persistent
information stored in the game_ui. In particular, Mines now freezes
the timer permanently once you complete a grid for the first time,
so that you can then backtrack through your solution process without
destroying the information about how long it took you the first time
through.
[originally from svn r6088]
Diffstat (limited to 'cube.c')
| -rw-r--r-- | cube.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1687,7 +1687,7 @@ static int game_wants_statusbar(void) return TRUE; } -static int game_timing_state(game_state *state) +static int game_timing_state(game_state *state, game_ui *ui) { return TRUE; } |