chiark / gitweb /
Cleanup: remove the `just_used_solve' field from a number of games
authorSimon Tatham <anakin@pobox.com>
Sat, 22 Oct 2005 17:00:35 +0000 (17:00 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 22 Oct 2005 17:00:35 +0000 (17:00 +0000)
commita3b837c69845e5ccfd3bc29ee72c9b3e6ea9adec
tree7da8e4beedccbf2434266bdfd3aee863ffe37a4e
parentd31f3ac3a5e1770c4fb9743480dfddcc8ec3dc11
Cleanup: remove the `just_used_solve' field from a number of games
which didn't actually need it. It was originally introduced in
Fifteen to suppress animation on Solve moves, but midend.c now does
that centrally unless the game specifically instructs it otherwise.
Therefore, just_used_solve is obsolete in all games which previously
used it. (Mines was even worse: it scrupulously maintained the
correctness of the field but never used it!)

Untangle is exempt from this cleanup: its `just_solved' field is
used to change the _length_ of the animation on Solve moves, not to
suppress it entirely, and so it has to stay.

[originally from svn r6419]
fifteen.c
mines.c
net.c
netslide.c
sixteen.c
twiddle.c