diff options
author | Chris Apers | 2005-11-05 11:34:22 +0000 |
---|---|---|
committer | Chris Apers | 2005-11-05 11:34:22 +0000 |
commit | 1784b88a5ab1bee97124e3fd93fe371a1e6dbc18 (patch) | |
tree | 6fb46f546a0377ca4bc8f389dc27c9f299a5d667 | |
parent | 549d543f7e9fbda28b43e5b5b6fca4134b1fd987 (diff) | |
download | scummvm-rg350-1784b88a5ab1bee97124e3fd93fe371a1e6dbc18.tar.gz scummvm-rg350-1784b88a5ab1bee97124e3fd93fe371a1e6dbc18.tar.bz2 scummvm-rg350-1784b88a5ab1bee97124e3fd93fe371a1e6dbc18.zip |
PalmOS stuffs
svn-id: r19456
-rwxr-xr-x | backends/PalmOS/Src/stuffs.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/stuffs.h b/backends/PalmOS/Src/stuffs.h new file mode 100755 index 0000000000..b6f5a3f38b --- /dev/null +++ b/backends/PalmOS/Src/stuffs.h @@ -0,0 +1,31 @@ +#ifndef STUFFS_H +#define STUFFS_H + +enum { + 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, + kOpt5WayNavigatorV1 = 1 << 0x0A, + kOpt5WayNavigatorV2 = 1 << 0x0B, + kOptPalmSoundAPI = 1 << 0x0C, + kOptSonyPa1LibAPI = 1 << 0x0D, + kOptGoLcdAPI = 1 << 0x0E, + kOptLightspeedAPI = 1 << 0x0F, + + kOptDeviceProcX86 = 1 << 0x1F // DEBUG only +}; + +// WARNING : you need to define OPTIONS_DEF() +#define OPTIONS_TST(x) (OPTIONS_DEF() & (x)) +#define OPTIONS_SET(x) OPTIONS_DEF() |= (x) +#define OPTIONS_RST(x) OPTIONS_DEF() &= ~(x) + +#endif |