chiark / gitweb /
game_timing_state() now has access to the game_ui. This means that
authorSimon Tatham <anakin@pobox.com>
Sun, 10 Jul 2005 10:17:13 +0000 (10:17 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 10 Jul 2005 10:17:13 +0000 (10:17 +0000)
commit3d2c442bc42050af618706899314414248126476
treecadfacf9b241b06145d08d5cd6100cc22ddcafad
parent145301d0dc5b75a89620ffe88bc8a890699eef59
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]
17 files changed:
cube.c
fifteen.c
flip.c
guess.c
midend.c
mines.c
net.c
netslide.c
nullgame.c
pattern.c
pegs.c
puzzles.h
rect.c
samegame.c
sixteen.c
solo.c
twiddle.c