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]
This commit is contained in:
Simon Tatham
2007-02-26 20:35:47 +00:00
parent 3bfe0fb32e
commit 15f70f527a
24 changed files with 928 additions and 105 deletions

View File

@ -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;