mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-02 15:38:59 +00:00
SCI: little cleanup kAnimate
svn-id: r53852
This commit is contained in:
parent
f9cb635b58
commit
a877ba0026
@ -219,7 +219,7 @@ void GfxAnimate::applyGlobalScaling(AnimateList::iterator entry, GfxView *view)
|
||||
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 @@ void GfxAnimate::fill(byte &old_picNotValid, bool maySetNsRect) {
|
||||
|
||||
//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 @@ void GfxAnimate::kernelAnimate(reg_t listReference, bool cycle, int argc, reg_t
|
||||
disposeLastCast();
|
||||
|
||||
makeSortedList(list);
|
||||
fill(old_picNotValid, true);
|
||||
fill(old_picNotValid);
|
||||
|
||||
if (old_picNotValid) {
|
||||
// beginUpdate()/endUpdate() were introduced SCI1.
|
||||
|
@ -97,7 +97,7 @@ public:
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user