diff options
author | Nicola Mettifogo | 2007-08-06 19:13:51 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-08-06 19:13:51 +0000 |
commit | 6c0288044b99f1c5a6d945dafcd635be285d61f8 (patch) | |
tree | c58a2787af74a11104fbfa4583f63623b8ec13fd /engines/parallaction/callables_ns.cpp | |
parent | 872a6edfc69011eff0ea40c467e84245c1b2a7e4 (diff) | |
download | scummvm-rg350-6c0288044b99f1c5a6d945dafcd635be285d61f8.tar.gz scummvm-rg350-6c0288044b99f1c5a6d945dafcd635be285d61f8.tar.bz2 scummvm-rg350-6c0288044b99f1c5a6d945dafcd635be285d61f8.zip |
Changed graphics mask to a more generic BitBuffer object.
svn-id: r28471
Diffstat (limited to 'engines/parallaction/callables_ns.cpp')
-rw-r--r-- | engines/parallaction/callables_ns.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp index 011c1b5ce9..e603f8c7a5 100644 --- a/engines/parallaction/callables_ns.cpp +++ b/engines/parallaction/callables_ns.cpp @@ -600,8 +600,8 @@ void Parallaction_ns::_c_moveSheet(void *parm) { return; } -void plotPixel(int x, int y, int color, void *data) { - _vm->_gfx->plotMaskPixel(x, y, color); +void zeroMask(int x, int y, int color, void *data) { + _vm->_gfx->zeroMaskValue(x, y, color); } void Parallaction_ns::_c_sketch(void *parm) { @@ -614,7 +614,7 @@ void Parallaction_ns::_c_sketch(void *parm) { uint16 oldy = _rightHandPositions[2*(index-1)+1]; uint16 oldx = _rightHandPositions[2*(index-1)]; - Graphics::drawLine(oldx, oldy, newx, newy, 0, plotPixel, NULL); + Graphics::drawLine(oldx, oldy, newx, newy, 0, zeroMask, NULL); _rightHandAnim->_left = newx; _rightHandAnim->_top = newy - 20; |