Now that we have string-encodable game parameters, let's support a

command-line argument which is either a set of parameters or a
params+seed game ID.

[originally from svn r4234]
This commit is contained in:
Simon Tatham
2004-05-20 08:22:49 +00:00
parent 350683b253
commit 61f08e7634
4 changed files with 95 additions and 33 deletions

View File

@ -127,6 +127,7 @@ int midend_wants_statusbar(midend_data *me);
enum { CFG_SETTINGS, CFG_SEED };
config_item *midend_get_config(midend_data *me, int which, char **wintitle);
char *midend_set_config(midend_data *me, int which, config_item *cfg);
char *midend_game_id(midend_data *me, char *id, int def_seed);
/*
* malloc.c