simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sat Oct 22 18:00:36 BST 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       6419
Date:           2005-10-22 18:00:35 +0100 (Sat, 22 Oct 2005)

Log message (11 lines):
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.

Modified files:
U   puzzles/fifteen.c
U   puzzles/mines.c
U   puzzles/net.c
U   puzzles/netslide.c
U   puzzles/sixteen.c
U   puzzles/twiddle.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6419&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/fifteen.c?rev=6419&r1=6418&r2=6419
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/mines.c?rev=6419&r1=6418&r2=6419
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/net.c?rev=6419&r1=6418&r2=6419
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/netslide.c?rev=6419&r1=6418&r2=6419
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/sixteen.c?rev=6419&r1=6418&r2=6419
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/twiddle.c?rev=6419&r1=6418&r2=6419



More information about the tartarus-commits mailing list