diff options
author | Max Horn | 2004-01-04 13:49:03 +0000 |
---|---|---|
committer | Max Horn | 2004-01-04 13:49:03 +0000 |
commit | d16ac3e88f19dbfcad6937be2624f7983a906a5e (patch) | |
tree | 86e2d1f27759d04c779e6268377d9cc3a655c2f4 /scumm/gfx.h | |
parent | b8a260c967ad10c1fbd5ff434113c2d71ae4f044 (diff) | |
download | scummvm-rg350-d16ac3e88f19dbfcad6937be2624f7983a906a5e.tar.gz scummvm-rg350-d16ac3e88f19dbfcad6937be2624f7983a906a5e.tar.bz2 scummvm-rg350-d16ac3e88f19dbfcad6937be2624f7983a906a5e.zip |
turns out we always had VirtScreen::backBuf but didn't use it... change that (helps readability of the code, IMO); added Gdi::getMaskBuffer (again, helps understanding the code, I think); regrouped some functions in gfx.cpp
svn-id: r12133
Diffstat (limited to 'scumm/gfx.h')
-rw-r--r-- | scumm/gfx.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/gfx.h b/scumm/gfx.h index c7e3a8cec0..1aaca41b49 100644 --- a/scumm/gfx.h +++ b/scumm/gfx.h @@ -168,6 +168,8 @@ protected: void drawStripToScreen(VirtScreen *vs, int x, int w, int t, int b); void updateDirtyScreen(VirtScreen *vs); + + byte *getMaskBuffer(int x, int y, int z = 0); public: void drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int width, const int height, |