aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-01-22 18:34:18 +0000
committerSimon Tatham <anakin@pobox.com>2005-01-22 18:34:18 +0000
commit11dad948a371f9b67be7a3141b7ac7a84e822a2a (patch)
treef367d282bb340ece7c155ff8afad82d4e4bc1257 /puzzles.h
parenta99de1be8f01f619b965e446ff4ff85d4324f487 (diff)
downloadpuzzles-11dad948a371f9b67be7a3141b7ac7a84e822a2a.zip
puzzles-11dad948a371f9b67be7a3141b7ac7a84e822a2a.tar.gz
puzzles-11dad948a371f9b67be7a3141b7ac7a84e822a2a.tar.bz2
puzzles-11dad948a371f9b67be7a3141b7ac7a84e822a2a.tar.xz
Initial checkin of a Mac OS X port of puzzles, using Cocoa. All
puzzles are compiled together into a single monolithic application which allows you to select each one from one of its menus. [originally from svn r5173]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index 4de81a7..d0882e3 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -200,6 +200,14 @@ struct game {
};
/*
+ * Here we include the knowledge of which platforms are of which
+ * type.
+ */
+#ifdef MAC_OS_X /* this must be defined in the OS X Makefile */
+#define COMBINED
+#endif
+
+/*
* For one-game-at-a-time platforms, there's a single structure
* like the above, under a fixed name. For all-at-once platforms,
* there's a list of all available puzzles in array form.