aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/window.h
diff options
context:
space:
mode:
authorTorbjörn Andersson2012-06-24 11:09:08 +0200
committerTorbjörn Andersson2012-06-24 11:09:08 +0200
commit65a8799f9653956cfced0b77e8c638be7c805824 (patch)
tree789e6e2b67727fee30d57a671467c5c0debd2a93 /engines/tony/window.h
parent69ce6e35f48491a87886751e9d8cc2d004cf8f7a (diff)
downloadscummvm-rg350-65a8799f9653956cfced0b77e8c638be7c805824.tar.gz
scummvm-rg350-65a8799f9653956cfced0b77e8c638be7c805824.tar.bz2
scummvm-rg350-65a8799f9653956cfced0b77e8c638be7c805824.zip
TONY: Added "sepia mode".
This works by adding a wrapper function for copyRectToScreen(). As far as the engine is concerned, it still draws everything in color. The mouse cursors are still in color, but that can be fixed later.
Diffstat (limited to 'engines/tony/window.h')
-rw-r--r--engines/tony/window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/tony/window.h b/engines/tony/window.h
index 571a02829a..c72a3afd8e 100644
--- a/engines/tony/window.h
+++ b/engines/tony/window.h
@@ -70,8 +70,10 @@ protected:
bool _bGrabThumbnail;
bool _bGrabMovie;
uint16 *_wThumbBuf;
+ uint16 *_precalcTable;
void createBWPrecalcTable();
+ void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h);
void wipeEffect(Common::Rect &rcBoundEllipse);
void getNewFrameWipe(byte *lpBuf, Common::Rect &rcBoundEllipse);