simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sat Aug 5 18:20:30 BST 2006


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       6781
Date:           2006-08-05 18:20:29 +0100 (Sat, 05 Aug 2006)

Log message (18 lines):
I'm sick of repeatedly adding and removing local changes to Recipe
when testing a new game, so here's a new architecture for the Recipe
file. mkfiles.pl now supports several new features:

 - an `!include' directive, which accepts wildcards
 - += to append to an existing object group definition
 - the ability to divert output to an arbitrary file.

So now each puzzle has a `.R' file containing a fragment of Recipe
code describing that puzzle, and the central Recipe does `!include
*.R' to construct the Makefiles. That way, I can keep as many
experimental half-finished puzzles lying around my working directory
as I like, and I won't have to keep reverting Recipe when I check in
any other changes.

As part of this change, list.c is no longer a version-controlled
file; it's now constructed by mkfiles.pl, so that it too can take
advantage of this mechanism.

Modified files:
U   puzzles/CHECKLST.txt
U   puzzles/Recipe
A   puzzles/blackbox.R
A   puzzles/bridges.R
A   puzzles/cube.R
U   puzzles/devel.but
A   puzzles/dominosa.R
A   puzzles/fifteen.R
A   puzzles/flip.R
A   puzzles/guess.R
A   puzzles/inertia.R
A   puzzles/lightup.R
D   puzzles/list.c
A   puzzles/loopy.R
A   puzzles/map.R
A   puzzles/mines.R
U   puzzles/mkfiles.pl
A   puzzles/net.R
A   puzzles/netslide.R
A   puzzles/nullgame.R
A   puzzles/pattern.R
A   puzzles/pegs.R
A   puzzles/rect.R
A   puzzles/samegame.R
A   puzzles/sixteen.R
A   puzzles/slant.R
A   puzzles/solo.R
A   puzzles/tents.R
A   puzzles/twiddle.R
A   puzzles/untangle.R

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6781&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/CHECKLST.txt?rev=6781&r1=6780&r2=6781
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/Recipe?rev=6781&r1=6780&r2=6781
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/blackbox.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/bridges.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/cube.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/devel.but?rev=6781&r1=6780&r2=6781
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/dominosa.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/fifteen.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/flip.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/guess.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/inertia.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/lightup.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/loopy.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/map.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/mines.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/mkfiles.pl?rev=6781&r1=6780&r2=6781
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/net.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/netslide.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/nullgame.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/pattern.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/pegs.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/rect.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/samegame.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/sixteen.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/slant.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/solo.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/tents.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/twiddle.R?rev=6781&view=markup
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/untangle.R?rev=6781&view=markup



More information about the tartarus-commits mailing list