aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2007-02-26 20:35:47 +0000
committerSimon Tatham <anakin@pobox.com>2007-02-26 20:35:47 +0000
commit15f70f527a0a753285e3fa871bd4018e547fbb05 (patch)
treed34aebfc6c8e4ad48f0c1aeabbbaff7432e5cc24 /puzzles.h
parent3bfe0fb32eae41dcc213e1cef860ec421cc2540c (diff)
downloadpuzzles-15f70f527a0a753285e3fa871bd4018e547fbb05.zip
puzzles-15f70f527a0a753285e3fa871bd4018e547fbb05.tar.gz
puzzles-15f70f527a0a753285e3fa871bd4018e547fbb05.tar.bz2
puzzles-15f70f527a0a753285e3fa871bd4018e547fbb05.tar.xz
Dariusz Olszewski's changes to support compiling for PocketPC. This
is mostly done with ifdefs in windows.c; so mkfiles.pl generates a new makefile (Makefile.wce) and Recipe enables it, but it's hardly any different from Makefile.vc apart from a few definitions at the top of the files. Currently the PocketPC build is not enabled in the build script, but with any luck I'll be able to do so reasonably soon. [originally from svn r7337]
Diffstat (limited to 'puzzles.h')
-rw-r--r--puzzles.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index 30ffcb0..ff991ad 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -67,8 +67,19 @@ enum {
#define BUTTON_BEATS(x,y) ( 1 << (((x)-LEFT_BUTTON)*3+(y)-LEFT_BUTTON) )
/* Flag indicating that Solve operations should be animated */
#define SOLVE_ANIMATES ( 1 << 9 )
+/* Pocket PC: Game requires right mouse button emulation */
+#define REQUIRE_RBUTTON ( 1 << 10 )
+/* Pocket PC: Game requires numeric input */
+#define REQUIRE_NUMPAD ( 1 << 11 )
/* end of `flags' word definitions */
+#ifdef _WIN32_WCE
+ /* Pocket PC devices have small, portrait screen that requires more vivid colours */
+ #define SMALL_SCREEN
+ #define PORTRAIT_SCREEN
+ #define VIVID_COLOURS
+#endif
+
#define IGNOREARG(x) ( (x) = (x) )
typedef struct frontend frontend;