aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/screen.h
diff options
context:
space:
mode:
authorjohndoe1232014-04-15 19:35:51 +0200
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit44c566b51e661ef5751b947aed071660cc628547 (patch)
tree4267df6ff7e71347826ae5283279e1789147c58d /engines/illusions/screen.h
parent60600191a07fe8e7f4945b5dab63b5b374111ed4 (diff)
downloadscummvm-rg350-44c566b51e661ef5751b947aed071660cc628547.tar.gz
scummvm-rg350-44c566b51e661ef5751b947aed071660cc628547.tar.bz2
scummvm-rg350-44c566b51e661ef5751b947aed071660cc628547.zip
ILLUSIONS: Add screen shaking effect
Diffstat (limited to 'engines/illusions/screen.h')
-rw-r--r--engines/illusions/screen.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/illusions/screen.h b/engines/illusions/screen.h
index 15a703c46c..1eef207513 100644
--- a/engines/illusions/screen.h
+++ b/engines/illusions/screen.h
@@ -121,8 +121,10 @@ public:
Graphics::Surface *allocSurface(SurfInfo &surfInfo);
bool isDisplayOn();
void setDisplayOn(bool isOn);
+ void setScreenOffset(Common::Point offsPt);
uint16 getColorKey2();
void updateSprites();
+ void clearScreenOffsetAreas();
void decompressSprite(SpriteDecompressQueueItem *item);
void drawSurface(Common::Rect &dstRect, Graphics::Surface *surface, Common::Rect &srcRect, int16 scale, uint32 flags);
void setPalette(byte *colors, uint start, uint count);
@@ -153,6 +155,9 @@ public:
byte _faderPalette[768];
int _newFaderValue, _firstFaderIndex, _lastFaderIndex;
+ bool _isScreenOffsetActive;
+ Common::Point _screenOffsetPt;
+
void setSystemPalette(byte *palette);
void buildColorTransTbl();