mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 16:32:13 -07:00
I can never remember what that `TRUE' means in the game structure
definitions, so let's move it so that it's just next to the functions it relates to. This also opens the way for me to add more booleans next to other functions without getting confused as to which is which. [originally from svn r5723]
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user