simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Thu Jun 30 10:07:02 BST 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       6041
Date:           2005-06-30 10:07:00 +0100 (Thu, 30 Jun 2005)

Log message (9 lines):
General robustness patch from James Harvey:
 - most game_size() functions now work in doubles internally and
   round to nearest, meaning that they have less tendency to try to
   alter a size they returned happily from a previous call
 - couple of fiddly fixes (memory leaks, precautionary casts in
   printf argument lists)
 - midend_deserialise() now constructs an appropriate drawstate,
   which I can't think how I overlooked myself since I _thought_ I
   went through the entire midend structure field by field!

Modified files:
U   puzzles/fifteen.c
U   puzzles/flip.c
U   puzzles/midend.c
U   puzzles/mines.c
U   puzzles/pattern.c
U   puzzles/rect.c
U   puzzles/samegame.c
U   puzzles/solo.c
U   puzzles/twiddle.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6041&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/fifteen.c?rev=6041&r1=6040&r2=6041
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/flip.c?rev=6041&r1=6040&r2=6041
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/midend.c?rev=6041&r1=6040&r2=6041
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/mines.c?rev=6041&r1=6040&r2=6041
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/pattern.c?rev=6041&r1=6040&r2=6041
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/rect.c?rev=6041&r1=6040&r2=6041
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/samegame.c?rev=6041&r1=6040&r2=6041
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/solo.c?rev=6041&r1=6040&r2=6041
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/twiddle.c?rev=6041&r1=6040&r2=6041



More information about the tartarus-commits mailing list