X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/e30d39f6f3df08ea9c8a91df5db31d0346d1c5ad..826e0298fa89ec38199e45ff9202314882dcab23:/grid.h diff --git a/grid.h b/grid.h index 2fbe269..9adf3a9 100644 --- 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; @@ -85,8 +80,10 @@ grid *grid_new_snubsquare(int width, int height); grid *grid_new_cairo(int width, int height); grid *grid_new_greathexagonal(int width, int height); grid *grid_new_octagonal(int width, int height); -grid *grid_new_floret(int width, int height); grid *grid_new_kites(int width, int height); +grid *grid_new_floret(int width, int height); +grid *grid_new_dodecagonal(int width, int height); +grid *grid_new_greatdodecagonal(int width, int height); void grid_free(grid *g);