diff options
author | Martin Kiewitz | 2010-04-30 15:08:51 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-04-30 15:08:51 +0000 |
commit | beba3bf8a47a4c2480eb9d20ebc0c7dab5577348 (patch) | |
tree | 32821230e6621b5fa1c0d73bdaf2e87ffee23b85 /engines/sci | |
parent | e11afdeab5534158c2005c23084fc278c30b0695 (diff) | |
download | scummvm-rg350-beba3bf8a47a4c2480eb9d20ebc0c7dab5577348.tar.gz scummvm-rg350-beba3bf8a47a4c2480eb9d20ebc0c7dab5577348.tar.bz2 scummvm-rg350-beba3bf8a47a4c2480eb9d20ebc0c7dab5577348.zip |
SCI: animate cleanup
svn-id: r48876
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/graphics/animate.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/engines/sci/graphics/animate.cpp b/engines/sci/graphics/animate.cpp index a8c4041e8b..6d9ff9afb5 100644 --- a/engines/sci/graphics/animate.cpp +++ b/engines/sci/graphics/animate.cpp @@ -197,9 +197,6 @@ void GfxAnimate::makeSortedList(List *list) { } // Now sort the list according y and z (descending) - AnimateList::iterator listBegin = _list.begin(); - AnimateList::iterator listEnd = _list.end(); - Common::sort(_list.begin(), _list.end(), sortHelper); } @@ -522,28 +519,6 @@ void GfxAnimate::reAnimate(Common::Rect rect) { } else { _paint16->bitsShow(rect); } - - /* - if (!_lastCast->isEmpty()) { - HEAPHANDLE hnode = _lastCast->getFirst(); - sciCast *pCast; - CResView *res; - while (hnode) { - pCast = (sciCast *)heap2Ptr(hnode); - res = (CResView *)ResMgr.ResLoad(SCI_RES_VIEW, pCast->view); - pCast->hSaved = _gfx->SaveBits(pCast->rect, 3); - res->drawCel(pCast->loop, pCast->cel, &pCast->rect, pCast->z, pCast->pal); - hnode = pCast->node.next; - } - _gfx->BitsShow(rect); - // restoring - hnode = _lastCast->getLast(); - while (hnode) { - pCast = (sciCast *)heap2Ptr(hnode); - _gfx->BitsShow(pCast->hSaved); - hnode = pCast->node.prev; - } - */ } void GfxAnimate::addToPicDrawCels() { |