mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
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:
11
puzzles.h
11
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;
|
||||
|
Reference in New Issue
Block a user