chiark / gitweb /
New Loopy tiling: 'Great Great Dodecagonal'.
[sgt-puzzles.git] / grid.h
diff --git a/grid.h b/grid.h
index d1c260eb53463238c989796e1d016c1f9e4d3712..fb8ac48790ac34b16e41d13e325875bad8513ac4 100644 (file)
--- a/grid.h
+++ b/grid.h
@@ -105,6 +105,7 @@ typedef struct grid {
   A(FLORET,floret) \
   A(DODECAGONAL,dodecagonal) \
   A(GREATDODECAGONAL,greatdodecagonal) \
+  A(GREATGREATDODECAGONAL,greatgreatdodecagonal) \
   A(PENROSE_P2,penrose_p2_kite) \
   A(PENROSE_P3,penrose_p3_thick)
 
@@ -115,9 +116,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_validate_desc(grid_type type, int width, int height,
+                         const char *desc);
 
-grid *grid_new(grid_type type, int width, int height, char *desc);
+grid *grid_new(grid_type type, int width, int height, const char *desc);
 
 void grid_free(grid *g);