Move most of face_text_pos() into grid.c, leaving in loopy.c only the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 23 Apr 2011 11:44:43 +0000 (11:44 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 23 Apr 2011 11:44:43 +0000 (11:44 +0000)
commite64991db95a699e4ea966a2406bfbe6bf5035f87
treef86ff3511da42555f083061ab8fb3ad11f4eadbd
parenta2f35d71b745ec2a03de58976c6434437c5f303e
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.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9157 cda61777-01e9-0310-a592-d414129be87e
grid.c
grid.h
loopy.c