~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Have each game declare a name which is used for window titles etc.
[sgt/puzzles]
/
puzzles.h
diff --git
a/puzzles.h
b/puzzles.h
index
81a9a7a
..
ae14848
100644
(file)
--- 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);