diff options
author | Chris Apers | 2004-01-20 14:08:31 +0000 |
---|---|---|
committer | Chris Apers | 2004-01-20 14:08:31 +0000 |
commit | ebc71349dbe9b491610c0578fa1f1a141c6b9583 (patch) | |
tree | 6f03a8f5e35a0f427268bd390335d657fd8084e2 /backends | |
parent | 79db0a1853f368e8413f51f6e28a77f9d2b2fc94 (diff) | |
download | scummvm-rg350-ebc71349dbe9b491610c0578fa1f1a141c6b9583.tar.gz scummvm-rg350-ebc71349dbe9b491610c0578fa1f1a141c6b9583.tar.bz2 scummvm-rg350-ebc71349dbe9b491610c0578fa1f1a141c6b9583.zip |
More PalmOS options + macros
svn-id: r12546
Diffstat (limited to 'backends')
-rw-r--r-- | backends/PalmOS/Src/globals.h | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/backends/PalmOS/Src/globals.h b/backends/PalmOS/Src/globals.h index 47fdbc66a5..d379a15b87 100644 --- a/backends/PalmOS/Src/globals.h +++ b/backends/PalmOS/Src/globals.h @@ -27,16 +27,21 @@ #include "scumm_globals.h" enum { - optNone = 0, - optIsARMDevice = 1 << 0, - optIsOS5Device = 1 << 1, - optIsClieDevice = 1 << 2, - optIsZodiacDevice = 1 << 3, - optIsCollapsible = 1 << 4, - optHasWideMode = 1 << 5, - optIsLandscapeDisplay = 1 << 6, // screen pitch is always based on Landscape mode (portrait/landscape) - optHasLandscapeMode = 1 << 7, // screen pitch can be based on portrait or landscape - optHas16BitMode = 1 << 8, + kOptNone = 0, + kOptDeviceARM = 1 << 0x00, + kOptDeviceOS5 = 1 << 0x01, + kOptDeviceClie = 1 << 0x02, + kOptDeviceZodiac = 1 << 0x03, + kOptModeWide = 1 << 0x04, + kOptModeLandscape = 1 << 0x05, + kOptMode16Bit = 1 << 0x06, + kOptModeHiDensity = 1 << 0x07, + kOptCollapsible = 1 << 0x08, + kOptDisableOnScrDisp = 1 << 0x09, + kOpt5WayNavigator = 1 << 0x0A, + kOptPalmSoundAPI = 1 << 0x0B, + + kOptDeviceProcX86 = 1 << 0x1F // DEBUG only }; enum { @@ -75,6 +80,11 @@ typedef struct { UInt8 on; UInt8 off; } indicator; + + struct { + UInt8 *pageAddr1; + UInt8 *pageAddr2; + } flipping; struct { Boolean MP3; @@ -87,6 +97,8 @@ typedef struct { extern GlobalsDataPtr gVars; -#define OPTIONS(x) (gVars->options & (x)) +#define OPTIONS_TST(x) (gVars->options & (x)) +#define OPTIONS_SET(x) gVars->options |= (x) +#define OPTIONS_RST(x) gVars->options &= ~(x) #endif |