diff options
author | Chris Apers | 2003-09-23 16:04:10 +0000 |
---|---|---|
committer | Chris Apers | 2003-09-23 16:04:10 +0000 |
commit | e43fa490554d60311d1b01a0b034ed6e35a1f6b1 (patch) | |
tree | 67ef314b2ece741af1622b18aac8fbe78c99ad01 | |
parent | 4428e7eb305118894896482fa2abcefa3a2e3a87 (diff) | |
download | scummvm-rg350-e43fa490554d60311d1b01a0b034ed6e35a1f6b1.tar.gz scummvm-rg350-e43fa490554d60311d1b01a0b034ed6e35a1f6b1.tar.bz2 scummvm-rg350-e43fa490554d60311d1b01a0b034ed6e35a1f6b1.zip |
Options flag
svn-id: r10378
-rw-r--r-- | backends/PalmOS/Src/globals.h | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/backends/PalmOS/Src/globals.h b/backends/PalmOS/Src/globals.h index 9a085345dd..bd3b137112 100644 --- a/backends/PalmOS/Src/globals.h +++ b/backends/PalmOS/Src/globals.h @@ -23,23 +23,38 @@ #ifndef GLOBALS_H #define GLOBALS_H +#include <VFSMgr.h> + +enum { + optNone = 0, + optIsARMDevice = 1 << 0, + optIsOS5Device = 1 << 1, + optIsClieDevice = 1 << 2, + optIsZodiacDevice = 1 << 3, + optHasWideMode = 1 << 4, + optIsLandscapeMode = 1 << 5, + optHas16BitMode = 1 << 6, +}; + typedef struct { DmOpenRef globals[3]; + UInt32 options; + UInt16 HRrefNum; UInt16 volRefNum; UInt16 slkRefNum; UInt32 slkVersion; + Boolean skinSet; FileRef logFile; - Boolean vibrator; Boolean autoReset; Boolean screenLocked; Boolean stdPalette; - Coord screenWidth, screenHeight; // with silkarea - Coord screenFullWidth, screenFullHeight; // without silkarea + Coord screenWidth, screenHeight; // silkarea shown + Coord screenFullWidth, screenFullHeight; // silkarea hidden struct { UInt8 on; @@ -57,5 +72,6 @@ typedef struct { extern GlobalsDataPtr gVars; +#define OPTIONS(x) (gVars->options & (x)) -#endif
\ No newline at end of file +#endif |