diff options
author | Filippos Karapetis | 2009-03-14 15:43:37 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-03-14 15:43:37 +0000 |
commit | 68520809162c8e0212a4ae10fb178a21339fb87f (patch) | |
tree | 47718fb370a0d5e4fbfd2e8c8ba16a8355320f25 /engines/made/screen.h | |
parent | 14ced31851d3136bba55c57e58abef93502b1a4f (diff) | |
download | scummvm-rg350-68520809162c8e0212a4ae10fb178a21339fb87f.tar.gz scummvm-rg350-68520809162c8e0212a4ae10fb178a21339fb87f.tar.bz2 scummvm-rg350-68520809162c8e0212a4ae10fb178a21339fb87f.zip |
Merged loadRGBPalette() inside setRGBPalette() (that's the only place it's used and where the screen palette is set). Added a wrapper for copyRectToScreen(), to remove some duplicated code inside the ScreenEffects() class
svn-id: r39396
Diffstat (limited to 'engines/made/screen.h')
-rw-r--r-- | engines/made/screen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/made/screen.h b/engines/made/screen.h index 47fe779625..ed4a526a60 100644 --- a/engines/made/screen.h +++ b/engines/made/screen.h @@ -91,7 +91,6 @@ public: void drawSurface(Graphics::Surface *sourceSurface, int x, int y, int16 flipX, int16 flipY, int16 mask, const ClipInfo &clipInfo); - void loadRGBPalette(byte *palRGB, int count = 256); void setRGBPalette(byte *palRGB, int start = 0, int count = 256); bool isPaletteLocked() { return _paletteLock; } void setPaletteLock(bool lock) { _paletteLock = lock; } @@ -188,6 +187,7 @@ public: Graphics::Surface *lockScreen(); void unlockScreen(); void showWorkScreen(); + void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h); void updateScreenAndWait(int delay); int16 addToSpriteList(int16 index, int16 xofs, int16 yofs); |