Environment-based configuration wasn't sensibly usable in games with
[sgt/puzzles] / puzzles.h
index c5eabc2..4762c7c 100644 (file)
--- a/puzzles.h
+++ b/puzzles.h
@@ -235,6 +235,12 @@ void draw_rect_outline(frontend *fe, int x, int y, int w, int h,
                        int colour);
 
 /*
+ * dsf.c
+ */
+int dsf_canonify(int *dsf, int val);
+void dsf_merge(int *dsf, int v1, int v2);
+
+/*
  * version.c
  */
 extern char ver[];
@@ -243,6 +249,7 @@ extern char ver[];
  * random.c
  */
 random_state *random_init(char *seed, int len);
+random_state *random_copy(random_state *tocopy);
 unsigned long random_bits(random_state *state, int bits);
 unsigned long random_upto(random_state *state, unsigned long limit);
 void random_free(random_state *state);