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]
This commit is contained in:
Jacob Nevins
2004-12-22 19:27:26 +00:00
parent ec3d23c9d9
commit 46fa25240e
6 changed files with 109 additions and 42 deletions

View File

@ -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);