X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/cebf0b0d2fe234f4888053189e235ab8be0a2fa4..a7f0c0eb98e6146aa11a24d9cfa65b201cd7a59b:/grid.h diff --git a/grid.h b/grid.h index d1c260e..7cf4f59 100644 --- a/grid.h +++ b/grid.h @@ -114,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);