diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-06-28 06:59:27 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-06-28 06:59:27 +0000 |
| commit | 08410651e05b0723073d53e7d75174767633bf87 (patch) | |
| tree | 4b50ec1063d20606891e015b85c12471f8c82791 /cube.c | |
| parent | 76d50e69059aeebe8b47089615518a8b9e225d40 (diff) | |
| download | puzzles-08410651e05b0723073d53e7d75174767633bf87.zip puzzles-08410651e05b0723073d53e7d75174767633bf87.tar.gz puzzles-08410651e05b0723073d53e7d75174767633bf87.tar.bz2 puzzles-08410651e05b0723073d53e7d75174767633bf87.tar.xz | |
Annoying special cases for Mines.
Firstly, the `Restart' function now reconstructs an initial game
state from the game description rather than dup_game(states[0]).
This means that Restart in a game of Mines restarts to just _after_
the initial click, so you can resume the puzzle-solving part without
having to remember where you placed that click.
Secondly, the midend now contains a second `private' game desc,
which is guaranteed to actually reconstruct the initial game_state
correctly (which Mines's publicly visible game descs tend not to,
since they describe a state which has already had the first click).
This should make serialising of Mines more sensible.
[originally from svn r6025]
Diffstat (limited to 'cube.c')
0 files changed, 0 insertions, 0 deletions