X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/43a45950e9335d1b19245f2d302ec86fd4643bc5..ac5deb9c728c31e6adeedc57fa2ed1b2565b1818:/grid.h diff --git a/grid.h b/grid.h index 00cd7c5..7cf4f59 100644 --- a/grid.h +++ b/grid.h @@ -101,7 +101,6 @@ typedef struct grid { A(CAIRO,cairo) \ A(GREATHEXAGONAL,greathexagonal) \ A(OCTAGONAL,octagonal) \ - A(DUAL_OCTAGONAL,dual_octagonal) \ A(KITE,kites) \ A(FLORET,floret) \ A(DODECAGONAL,dodecagonal) \ @@ -115,10 +114,10 @@ typedef enum grid_type { GRIDGEN_LIST(ENUM) GRID_TYPE_MAX } grid_type; /* Free directly after use if non-NULL. Will never contain an underscore * (so clients can safely use that as a separator). */ -char *grid_new_desc(grid_type type, int width, int height, random_state *rs); -char *grid_validate_desc(grid_type type, int width, int height, char *desc); +char *grid_new_desc(grid_type type, int width, int height, int dual, random_state *rs); +char *grid_validate_desc(grid_type type, int width, int height, int dual, char *desc); -grid *grid_new(grid_type type, int width, int height, char *desc); +grid *grid_new(grid_type type, int width, int height, int dual, char *desc); void grid_free(grid *g);