[Scummvm-cvs-logs] SF.net SVN: scummvm:[48876] scummvm/trunk/engines/sci/graphics/animate.cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Fri Apr 30 17:08:51 CEST 2010
Revision: 48876
http://scummvm.svn.sourceforge.net/scummvm/?rev=48876&view=rev
Author: m_kiewitz
Date: 2010-04-30 15:08:51 +0000 (Fri, 30 Apr 2010)
Log Message:
-----------
SCI: animate cleanup
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/animate.cpp
Modified: scummvm/trunk/engines/sci/graphics/animate.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/animate.cpp 2010-04-30 11:27:42 UTC (rev 48875)
+++ scummvm/trunk/engines/sci/graphics/animate.cpp 2010-04-30 15:08:51 UTC (rev 48876)
@@ -197,9 +197,6 @@
}
// 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 @@
} 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() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list