aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2013-03-30 16:59:19 +0000
committerSimon Tatham <anakin@pobox.com>2013-03-30 16:59:19 +0000
commite6026d9d8e7864c4d0f1eeba53c33d430ac36dfd (patch)
tree333bf095a29c1b7031823e439c1004035d521490 /puzzles.h
parent1fdafb6abf2d3ea0d37e79b5dfd9daf8eed28f22 (diff)
downloadpuzzles-e6026d9d8e7864c4d0f1eeba53c33d430ac36dfd.zip
puzzles-e6026d9d8e7864c4d0f1eeba53c33d430ac36dfd.tar.gz
puzzles-e6026d9d8e7864c4d0f1eeba53c33d430ac36dfd.tar.bz2
puzzles-e6026d9d8e7864c4d0f1eeba53c33d430ac36dfd.tar.xz
Add a midend function to return the current random seed, parallel to
the existing one that returns the game id. No front end has so far needed this, but one is about to. [originally from svn r9778]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index e8a75c2..fbd1828 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -251,6 +251,7 @@ config_item *midend_get_config(midend *me, int which, char **wintitle);
char *midend_set_config(midend *me, int which, config_item *cfg);
char *midend_game_id(midend *me, char *id);
char *midend_get_game_id(midend *me);
+char *midend_get_random_seed(midend *me);
int midend_can_format_as_text_now(midend *me);
char *midend_text_format(midend *me);
char *midend_solve(midend *me);