Retire the 'middle_face' field in 'struct grid', together with the
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 24 Feb 2011 19:06:48 +0000 (19:06 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 24 Feb 2011 19:06:48 +0000 (19:06 +0000)
commitf839ef77051d132ca1ffb2e95465e6ca08dfded8
tree9613e70209ec47a0767d94ad78b88de947c9165c
parente30d39f6f3df08ea9c8a91df5db31d0346d1c5ad
Retire the 'middle_face' field in 'struct grid', together with the
overly complicated algorithm that uses it to home in on the grid edge
closest to a mouse click. That algorithm is being stressed beyond its
limit by the new grid type, and it's unnecessary anyway given that no
sensibly sized puzzle grid is going to be big enough to make it
prohibitively expensive just to do the trivial approach of iterating
over all edges and finding the closest of the eligible ones.

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