diff options
author | Chris Apers | 2004-12-20 17:13:26 +0000 |
---|---|---|
committer | Chris Apers | 2004-12-20 17:13:26 +0000 |
commit | 05efaf26185e8b7cba40045cc78f9c37525ea688 (patch) | |
tree | 3205a525a282b9dc0c04981f1a77e6874ccb9d13 /backends/PalmOS/Src/palm.h | |
parent | effc4430b3d4e1a2a1c04eb363f1d5b783489c48 (diff) | |
download | scummvm-rg350-05efaf26185e8b7cba40045cc78f9c37525ea688.tar.gz scummvm-rg350-05efaf26185e8b7cba40045cc78f9c37525ea688.tar.bz2 scummvm-rg350-05efaf26185e8b7cba40045cc78f9c37525ea688.zip |
- Better ARM support
- Cleanup
svn-id: r16170
Diffstat (limited to 'backends/PalmOS/Src/palm.h')
-rw-r--r-- | backends/PalmOS/Src/palm.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/backends/PalmOS/Src/palm.h b/backends/PalmOS/Src/palm.h index 88c7d2a2a3..2ea9512f8e 100644 --- a/backends/PalmOS/Src/palm.h +++ b/backends/PalmOS/Src/palm.h @@ -26,6 +26,21 @@ #include <SonyClie.h> #include "common/system.h" #include "cdaudio.h" +//#include "arm/native.h" + +typedef struct { + void *proc; + void *param; + + void *handle; // sound handle + UInt32 size; // buffer size + UInt32 slot; + UInt32 active, // is the sound handler active + set, // is the buffer filled + wait; // do we need to wait for sound completion + void *dataP, // main buffer + *tmpP; // tmp buffer (convertion) +} SoundDataType; // OSD resource id #define kDrawKeyState 3000 @@ -76,6 +91,8 @@ public: // Update the dirty areas of the screen void updateScreen(); + void clearScreen(); + // Either show or hide the mouse cursor bool showMouse(bool visible); @@ -181,8 +198,6 @@ private: void updateScreen_wideLandscape(); void updateScreen_wideZodiac(); - void rumblePack(Boolean active); - void *ptrP[5]; // various ptr WinHandle _screenH, _offScreenH; @@ -302,6 +317,5 @@ Err HwrDisplayPalette(UInt8 operation, Int16 startIndex, // Sound void pcm2adpcm(Int16 *src, UInt8 *dst, UInt32 length); Err sndCallback(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32 *bufferSizeP); -void ClearScreen(); -#endif
\ No newline at end of file +#endif |