simon-svn: puzzles: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sat Apr 13 11:37:32 BST 2013
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 9832
Date: 2013-04-13 11:37:32 +0100 (Sat, 13 Apr 2013)
Log message (8 lines):
Giant const patch of doom: add a 'const' to every parameter in every
puzzle backend function which ought to have it, and propagate those
consts through to per-puzzle subroutines as needed.
I've recently had to do that to a few specific parameters which were
being misused by particular puzzles (r9657, r9830), which suggests
that it's probably a good idea to do the whole lot pre-emptively
before the next such problem shows up.
Modified files:
U puzzles/blackbox.c
U puzzles/bridges.c
U puzzles/cube.c
U puzzles/dominosa.c
U puzzles/fifteen.c
U puzzles/filling.c
U puzzles/flip.c
U puzzles/galaxies.c
U puzzles/grid.c
U puzzles/grid.h
U puzzles/guess.c
U puzzles/inertia.c
U puzzles/keen.c
U puzzles/lightup.c
U puzzles/loopy.c
U puzzles/magnets.c
U puzzles/map.c
U puzzles/mines.c
U puzzles/net.c
U puzzles/netslide.c
U puzzles/nullgame.c
U puzzles/pattern.c
U puzzles/pearl.c
U puzzles/pegs.c
U puzzles/puzzles.h
U puzzles/random.c
U puzzles/range.c
U puzzles/rect.c
U puzzles/samegame.c
U puzzles/signpost.c
U puzzles/singles.c
U puzzles/sixteen.c
U puzzles/slant.c
U puzzles/solo.c
U puzzles/tents.c
U puzzles/towers.c
U puzzles/twiddle.c
U puzzles/undead.c
U puzzles/unequal.c
U puzzles/unfinished/group.c
U puzzles/unfinished/separate.c
U puzzles/unfinished/slide.c
U puzzles/unfinished/sokoban.c
U puzzles/unruly.c
U puzzles/untangle.c
Links:
http://svn.tartarus.org/sgt/?rev=9832&view=rev
http://svn.tartarus.org/sgt/puzzles/blackbox.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/bridges.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/cube.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/dominosa.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/fifteen.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/filling.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/flip.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/galaxies.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/grid.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/grid.h?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/guess.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/inertia.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/keen.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/lightup.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/loopy.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/magnets.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/map.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/mines.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/net.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/netslide.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/nullgame.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/pattern.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/pearl.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/pegs.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/puzzles.h?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/random.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/range.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/rect.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/samegame.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/signpost.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/singles.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/sixteen.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/slant.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/solo.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/tents.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/towers.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/twiddle.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/undead.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/unequal.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/unfinished/group.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/unfinished/separate.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/unfinished/slide.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/unfinished/sokoban.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/unruly.c?rev=9832&r1=9831&r2=9832
http://svn.tartarus.org/sgt/puzzles/untangle.c?rev=9832&r1=9831&r2=9832
More information about the tartarus-commits
mailing list