diff options
author | Nicola Mettifogo | 2008-01-28 19:56:29 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-01-28 19:56:29 +0000 |
commit | 68fc3f1deea7600790e91b90edb7b4586dc91ae9 (patch) | |
tree | 9e9cfb3a1bc412ab7b988f3a10793e0ca7af2887 /engines/parallaction/exec_ns.cpp | |
parent | b80419efb4177fb3cd5d8e2ace3d08d5840fdcc0 (diff) | |
download | scummvm-rg350-68fc3f1deea7600790e91b90edb7b4586dc91ae9.tar.gz scummvm-rg350-68fc3f1deea7600790e91b90edb7b4586dc91ae9.tar.bz2 scummvm-rg350-68fc3f1deea7600790e91b90edb7b4586dc91ae9.zip |
Removed usage of kBitFront and kBitBack. Only the old kBit2 buffer is kept to store the background picture.
svn-id: r30687
Diffstat (limited to 'engines/parallaction/exec_ns.cpp')
-rw-r--r-- | engines/parallaction/exec_ns.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/engines/parallaction/exec_ns.cpp b/engines/parallaction/exec_ns.cpp index 93a0e9ab25..d9edf5c2d3 100644 --- a/engines/parallaction/exec_ns.cpp +++ b/engines/parallaction/exec_ns.cpp @@ -360,27 +360,6 @@ void Parallaction_ns::drawAnimations() { } -void Parallaction_ns::eraseAnimations() { - debugC(9, kDebugExec, "eraseAnimations"); - - for (AnimationList::iterator it = _animations.begin(); it != _animations.end(); it++) { - - Animation *a = *it; - - if (((a->_flags & kFlagsActive) == 0) && ((a->_flags & kFlagsRemove) == 0)) continue; - - Common::Rect r(a->width(), a->height()); - r.moveTo(a->_oldPos); - _gfx->restoreBackground(r); - - a->_oldPos.x = a->_left; - a->_oldPos.y = a->_top; - } - - return; -} - - void Parallaction_ns::runScripts() { debugC(9, kDebugExec, "runScripts"); |