aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2004-04-28 17:46:04 +0000
committerSimon Tatham <anakin@pobox.com>2004-04-28 17:46:04 +0000
commit64e6afdeedcf3f22282524ebd36e3393736fed65 (patch)
tree49fe5fe04ca98a0e2e93a7d1f94b800bbdf7b56e /puzzles.h
parente96f53452ac06e6b533a30d4caad30dd0dbe46fb (diff)
downloadpuzzles-64e6afdeedcf3f22282524ebd36e3393736fed65.zip
puzzles-64e6afdeedcf3f22282524ebd36e3393736fed65.tar.gz
puzzles-64e6afdeedcf3f22282524ebd36e3393736fed65.tar.bz2
puzzles-64e6afdeedcf3f22282524ebd36e3393736fed65.tar.xz
Have each game declare a name which is used for window titles etc.
[originally from svn r4167]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index 81a9a7a..ae14848 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -93,6 +93,7 @@ void random_free(random_state *state);
/*
* Game-specific routines
*/
+extern const char *const game_name;
game_params *default_params(void);
int game_fetch_preset(int i, char **name, game_params **params);
void free_params(game_params *params);