simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Tue Jan 7 18:21:24 GMT 2014


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       10108
Date:           2014-01-07 18:21:24 +0000 (Tue, 07 Jan 2014)

Log message (11 lines):
Position the monster counts more sensibly.

Now they're centred within the spare grid cell at the top of the
playing area, rather than being too far down so that the bottoms of
the monster drawings collide with the background of the path clues at
large magnification. Also, while I'm here, I've simplified the code
that draws the monster counts, by moving duplicated parts out of the
branches of the 'if'.

(In fact, almost all of this patch is cleanup; the only substantive
change is the one that changes dy from TILESIZE/2 to TILESIZE/4.)

Modified files:
U   puzzles/undead.c

Links:
http://svn.tartarus.org/sgt/?rev=10108&view=rev
http://svn.tartarus.org/sgt/puzzles/undead.c?rev=10108&r1=10107&r2=10108



More information about the tartarus-commits mailing list