chiark / gitweb /
Position the monster counts more sensibly.
authorSimon Tatham <anakin@pobox.com>
Tue, 7 Jan 2014 18:21:24 +0000 (18:21 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 7 Jan 2014 18:21:24 +0000 (18:21 +0000)
commitf41f4c0cc8dfdcbdf2f9145e39a38257ac4526c6
tree61f00f4d896e2edc8d27d544e47b504ab130443b
parent3a35ed219583c456b84615cfdd3b62a1499c8fcf
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.)

[originally from svn r10108]
undead.c