diff options
| -rw-r--r-- | cube.c | 5 | ||||
| -rw-r--r-- | fifteen.c | 5 | ||||
| -rw-r--r-- | net.c | 5 | ||||
| -rw-r--r-- | netslide.c | 5 | ||||
| -rw-r--r-- | nullgame.c | 5 | ||||
| -rw-r--r-- | pattern.c | 5 | ||||
| -rw-r--r-- | puzzles.h | 2 | ||||
| -rw-r--r-- | rect.c | 5 | ||||
| -rw-r--r-- | sixteen.c | 5 | ||||
| -rw-r--r-- | solo.c | 5 | ||||
| -rw-r--r-- | twiddle.c | 5 |
11 files changed, 21 insertions, 31 deletions
@@ -1531,15 +1531,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Cube", "games.cube", TRUE, + "Cube", "games.cube", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, @@ -724,15 +724,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Fifteen", "games.fifteen", TRUE, + "Fifteen", "games.fifteen", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, @@ -1494,15 +1494,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Net", "games.net", TRUE, + "Net", "games.net", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, @@ -1518,15 +1518,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Netslide", "games.netslide", TRUE, + "Netslide", "games.netslide", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, @@ -208,15 +208,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Null Game", NULL, FALSE, + "Null Game", NULL, default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + FALSE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, @@ -1015,15 +1015,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Pattern", "games.pattern", TRUE, + "Pattern", "games.pattern", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, @@ -178,13 +178,13 @@ void random_free(random_state *state); struct game { const char *name; const char *winhelp_topic; - int can_configure; game_params *(*default_params)(void); int (*fetch_preset)(int i, char **name, game_params **params); game_params *(*decode_params)(char const *string); char *(*encode_params)(game_params *); void (*free_params)(game_params *params); game_params *(*dup_params)(game_params *params); + int can_configure; config_item *(*configure)(game_params *params); game_params *(*custom_params)(config_item *cfg); char *(*validate_params)(game_params *params); @@ -1600,15 +1600,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Rectangles", "games.rectangles", TRUE, + "Rectangles", "games.rectangles", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, @@ -774,15 +774,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Sixteen", "games.sixteen", TRUE, + "Sixteen", "games.sixteen", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, @@ -1887,15 +1887,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Solo", "games.solo", TRUE, + "Solo", "games.solo", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, @@ -928,15 +928,14 @@ static int game_wants_statusbar(void) #endif const struct game thegame = { - "Twiddle", "games.twiddle", TRUE, + "Twiddle", "games.twiddle", default_params, game_fetch_preset, decode_params, encode_params, free_params, dup_params, - game_configure, - custom_params, + TRUE, game_configure, custom_params, validate_params, new_game_seed, validate_seed, |