aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-05-01 11:07:13 +0000
committerSimon Tatham <anakin@pobox.com>2005-05-01 11:07:13 +0000
commite72931bfe27e7d7303a22717cce05721551f3e4a (patch)
tree1a0a4541a77c49b85a4cd052694396ad7c1f8f77 /puzzles.h
parent5649e20ef2f17d03ba1d5e0072617541aa880224 (diff)
downloadpuzzles-e72931bfe27e7d7303a22717cce05721551f3e4a.zip
puzzles-e72931bfe27e7d7303a22717cce05721551f3e4a.tar.gz
puzzles-e72931bfe27e7d7303a22717cce05721551f3e4a.tar.bz2
puzzles-e72931bfe27e7d7303a22717cce05721551f3e4a.tar.xz
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]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/puzzles.h b/puzzles.h
index e873351..e62a27c 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -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);