diff options
author | Filippos Karapetis | 2008-04-22 07:40:28 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-04-22 07:40:28 +0000 |
commit | f1a27858d54c55dc916c6aa6a3e85f0651596e75 (patch) | |
tree | b3f8214115095f3491d0982cb92e947ee5f7d44f /engines/made/screen.h | |
parent | 056547f45f25d7618754cf82def5fa4d67b3b474 (diff) | |
download | scummvm-rg350-f1a27858d54c55dc916c6aa6a3e85f0651596e75.tar.gz scummvm-rg350-f1a27858d54c55dc916c6aa6a3e85f0651596e75.tar.bz2 scummvm-rg350-f1a27858d54c55dc916c6aa6a3e85f0651596e75.zip |
Added palette locking and some wip sound playing code. Some cleanup
svn-id: r31654
Diffstat (limited to 'engines/made/screen.h')
-rw-r--r-- | engines/made/screen.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/made/screen.h b/engines/made/screen.h index d6040e7dcc..c25ddbd6fb 100644 --- a/engines/made/screen.h +++ b/engines/made/screen.h @@ -63,6 +63,8 @@ public: void drawSurface(Graphics::Surface *source, int x, int y); 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; } uint16 updateChannel(uint16 channelIndex); void deleteChannel(uint16 channelIndex); @@ -81,7 +83,7 @@ public: uint16 drawPic(uint16 index, int16 x, int16 y, uint16 flag1, uint16 flag2); uint16 drawAnimPic(uint16 animIndex, int16 x, int16 y, int16 frameNum, uint16 flag1, uint16 flag2); - uint16 addSprite(uint16 spriteIndex); + void addSprite(uint16 spriteIndex); uint16 drawSprite(uint16 flexIndex, int16 x, int16 y); uint16 placeSprite(uint16 channelIndex, uint16 flexIndex, int16 x, int16 y); @@ -106,7 +108,8 @@ protected: MadeEngine *_vm; bool _screenLock; - + bool _paletteLock; + uint16 _clip, _exclude, _ground; Graphics::Surface *_screen1, *_screen2; |