Improve speed of grid generation: I've found something simple I can
[sgt/puzzles] / puzzles.h
index e05a3e4..1c3ae59 100644 (file)
--- a/puzzles.h
+++ b/puzzles.h
@@ -223,6 +223,9 @@ unsigned char *hex2bin(const char *in, int outlen);
 void game_mkhighlight(frontend *fe, float *ret,
                       int background, int highlight, int lowlight);
 
+/* Randomly shuffles an array of items. */
+void shuffle(void *array, int nelts, int eltsize, random_state *rs);
+
 /*
  * version.c
  */