simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sat Apr 23 12:44:43 BST 2011


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9157
Date:           2011-04-23 12:44:43 +0100 (Sat, 23 Apr 2011)

Log message (6 lines):
Move most of face_text_pos() into grid.c, leaving in loopy.c only the
part that converts from abstract grid coordinates into screen
coordinates. This should speed up window-resizing by eliminating
pointless reiteration of the complicated part of the algorithm: now
when a game_drawstate is renewed, only the conversion into screen
coordinates has to be redone.

Modified files:
U   puzzles/grid.c
U   puzzles/grid.h
U   puzzles/loopy.c

Links:
http://svn.tartarus.org/sgt/?rev=9157&view=rev
http://svn.tartarus.org/sgt/puzzles/grid.c?rev=9157&r1=9156&r2=9157
http://svn.tartarus.org/sgt/puzzles/grid.h?rev=9157&r1=9156&r2=9157
http://svn.tartarus.org/sgt/puzzles/loopy.c?rev=9157&r1=9156&r2=9157



More information about the tartarus-commits mailing list