[Scummvm-cvs-logs] SF.net SVN: scummvm:[53852] scummvm/trunk/engines/sci/graphics
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Tue Oct 26 17:29:04 CEST 2010
Revision: 53852
http://scummvm.svn.sourceforge.net/scummvm/?rev=53852&view=rev
Author: m_kiewitz
Date: 2010-10-26 15:29:04 +0000 (Tue, 26 Oct 2010)
Log Message:
-----------
SCI: little cleanup kAnimate
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/animate.cpp
scummvm/trunk/engines/sci/graphics/animate.h
Modified: scummvm/trunk/engines/sci/graphics/animate.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/animate.cpp 2010-10-26 14:42:24 UTC (rev 53851)
+++ scummvm/trunk/engines/sci/graphics/animate.cpp 2010-10-26 15:29:04 UTC (rev 53852)
@@ -219,7 +219,7 @@
writeSelectorValue(_s->_segMan, curObject, SELECTOR(scaleY), entry->scaleY);
}
-void GfxAnimate::fill(byte &old_picNotValid, bool maySetNsRect) {
+void GfxAnimate::fill(byte &old_picNotValid) {
reg_t curObject;
uint16 signal;
GfxView *view = NULL;
@@ -274,7 +274,7 @@
//warning("%s view %d, loop %d, cel %d, signal %x", _s->_segMan->getObjectName(curObject), it->viewId, it->loopNo, it->celNo, it->signal);
- bool setNsRect = maySetNsRect;
+ bool setNsRect = true;
// Create rect according to coordinates and given cel
if (it->scaleSignal & kScaleSignalDoScaling) {
@@ -660,7 +660,7 @@
disposeLastCast();
makeSortedList(list);
- fill(old_picNotValid, true);
+ fill(old_picNotValid);
if (old_picNotValid) {
// beginUpdate()/endUpdate() were introduced SCI1.
Modified: scummvm/trunk/engines/sci/graphics/animate.h
===================================================================
--- scummvm/trunk/engines/sci/graphics/animate.h 2010-10-26 14:42:24 UTC (rev 53851)
+++ scummvm/trunk/engines/sci/graphics/animate.h 2010-10-26 15:29:04 UTC (rev 53852)
@@ -97,7 +97,7 @@
bool invoke(List *list, int argc, reg_t *argv);
void makeSortedList(List *list);
void applyGlobalScaling(AnimateList::iterator entry, GfxView *view);
- void fill(byte &oldPicNotValid, bool maySetNsRect);
+ void fill(byte &oldPicNotValid);
void update();
void drawCels();
void updateScreen(byte oldPicNotValid);
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