chiark / gitweb /
Retire the 'middle_face' field in 'struct grid', together with the
[sgt-puzzles.git] / grid.h
diff --git a/grid.h b/grid.h
index 2fbe269204f6c720bb94ccc642a80c29ab792927..00bc7b4246e924e96449db4dc2588c57d1d6b0ef 100644 (file)
--- a/grid.h
+++ b/grid.h
@@ -57,11 +57,6 @@ typedef struct grid {
   int num_edges; grid_edge *edges;
   int num_dots;  grid_dot *dots;
 
-  /* Should be a face roughly near the middle of the grid.
-   * Used to seed path-generation, and also for nearest-edge
-   * detection. */
-  grid_face *middle_face;
-
   /* Cache the bounding-box of the grid, so the drawing-code can quickly
    * figure out the proper scaling to draw onto a given area. */
   int lowest_x, lowest_y, highest_x, highest_y;