simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat Jan 19 18:56:07 GMT 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9751
Date:           2013-01-19 18:56:07 +0000 (Sat, 19 Jan 2013)

Log message (14 lines):
Stop the analysis pass in Loopy's redraw routine from being
conditionalised on !ds->started, so that we still do all the looping
over everything even if we know it's all going to be redrawn. This is
because deciding how much needs redrawing is not the only important
thing in those loops - they also set up arrays like ds->clue_error,
which tell the individual redraw functions _what_ to draw.

Fixes a bug in which, if you start a Loopy game and make moves causing
a clue to light up red for an error and then save your game, loading
the same save file at the start of a Loopy run would fail to highlight
the erroneous clue.

(This commit diff looks large, but actually it changes almost nothing
but whitespace.)

Modified files:
U   puzzles/loopy.c

Links:
http://svn.tartarus.org/sgt/?rev=9751&view=rev
http://svn.tartarus.org/sgt/puzzles/loopy.c?rev=9751&r1=9750&r2=9751



More information about the tartarus-commits mailing list