aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/puzzles.h b/puzzles.h
index a9f1a92..4de81a7 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -201,9 +201,13 @@ struct game {
/*
* For one-game-at-a-time platforms, there's a single structure
- * like the above, under a fixed name.
+ * like the above, under a fixed name. For all-at-once platforms,
+ * there's a list of all available puzzles in array form.
*/
-#ifndef COMBINED
+#ifdef COMBINED
+extern const game *gamelist[];
+extern const int gamecount;
+#else
extern const game thegame;
#endif