aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorJacob Nevins <jacobn@chiark.greenend.org.uk>2004-12-22 19:27:26 +0000
committerJacob Nevins <jacobn@chiark.greenend.org.uk>2004-12-22 19:27:26 +0000
commit46fa25240e2e1609c4431a639f6e9c4bb6f50b39 (patch)
treecee90db397ae7ddefe8c1aa3466e070c058aa272 /puzzles.h
parentec3d23c9d99e5233d40080623c032dfe157d29ac (diff)
downloadpuzzles-46fa25240e2e1609c4431a639f6e9c4bb6f50b39.zip
puzzles-46fa25240e2e1609c4431a639f6e9c4bb6f50b39.tar.gz
puzzles-46fa25240e2e1609c4431a639f6e9c4bb6f50b39.tar.bz2
puzzles-46fa25240e2e1609c4431a639f6e9c4bb6f50b39.tar.xz
Add a `jumble' key (`J') to Net, which scrambles the positions of all unlocked
tiles randomly. (Rachel asked for this; it's been being tested for a good few months now, and Simon didn't care either way, so in it goes :) As part of this, the front end can now be asked to provide a random random seed (IYSWIM). [originally from svn r5019]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/puzzles.h b/puzzles.h
index b0947fc..027a973 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -106,11 +106,12 @@ void end_draw(frontend *fe);
void deactivate_timer(frontend *fe);
void activate_timer(frontend *fe);
void status_bar(frontend *fe, char *text);
+void get_random_seed(void **randseed, int *randseedsize);
/*
* midend.c
*/
-midend_data *midend_new(frontend *fe, void *randseed, int randseedsize);
+midend_data *midend_new(frontend *fe);
void midend_free(midend_data *me);
void midend_set_params(midend_data *me, game_params *params);
void midend_size(midend_data *me, int *x, int *y);