aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS/Src/be_os5.h
diff options
context:
space:
mode:
authorChris Apers2009-03-01 10:25:33 +0000
committerChris Apers2009-03-01 10:25:33 +0000
commit3e56c3a40973d89c0ae6f95d46d2f982becdde1a (patch)
tree8b9d203bac9216dfd2a528e3b47701caa69629ac /backends/platform/PalmOS/Src/be_os5.h
parentfdb9cd9ce2c560486a62d959efdaa8519919e279 (diff)
downloadscummvm-rg350-3e56c3a40973d89c0ae6f95d46d2f982becdde1a.tar.gz
scummvm-rg350-3e56c3a40973d89c0ae6f95d46d2f982becdde1a.tar.bz2
scummvm-rg350-3e56c3a40973d89c0ae6f95d46d2f982becdde1a.zip
PalmOS Backend updates:
- Removed old clearScreen backend method and keep it for internal use only - Fixed save path with missing end slash - Added use of the new audio mixer - Added new file system factory - Added missing getOverlayWidth/Height - Changed color encoding from int16 to uint16 as required by the new ScummVM code - Fixed ColorMasks use with missing namespace svn-id: r39028
Diffstat (limited to 'backends/platform/PalmOS/Src/be_os5.h')
-rw-r--r--backends/platform/PalmOS/Src/be_os5.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/PalmOS/Src/be_os5.h b/backends/platform/PalmOS/Src/be_os5.h
index c56688b98f..692e304007 100644
--- a/backends/platform/PalmOS/Src/be_os5.h
+++ b/backends/platform/PalmOS/Src/be_os5.h
@@ -101,7 +101,7 @@ extern SoundExType _soundEx;
class OSystem_PalmOS5 : public OSystem_PalmBase {
protected:
- int16 _nativePal[256], _mousePal[256];
+ uint16 _nativePal[256], _mousePal[256];
private:
uint16 _scaleTableX[512];
@@ -114,7 +114,7 @@ private:
OverlayColor *_overlayP;
WinHandle _overlayH, _workScreenH;
- int16 *_workScreenP;
+ uint16 *_workScreenP;
Boolean _isSwitchable, _wasRotated;
@@ -160,6 +160,7 @@ protected:
void calc_rect(Boolean fullscreen);
void get_coordinates(EventPtr ev, Coord &x, Coord &y);
+ void clear_screen();
public:
OSystem_PalmOS5();
@@ -169,7 +170,6 @@ public:
void setFeatureState(Feature f, bool enable);
void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h);
- void clearScreen();
virtual Graphics::Surface *lockScreen();
virtual void unlockScreen();