aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2009-10-25 17:37:44 +0000
committerMartin Kiewitz2009-10-25 17:37:44 +0000
commitf6d8c1c40d0ceb75cd4c51d92dfc1f7590a66cab (patch)
treed31f46c7d33c8f2d4aa183407b58b6390c7e8504 /engines
parent4064d35d1582e6d18b92c5ec352bde902b41e0d8 (diff)
downloadscummvm-rg350-f6d8c1c40d0ceb75cd4c51d92dfc1f7590a66cab.tar.gz
scummvm-rg350-f6d8c1c40d0ceb75cd4c51d92dfc1f7590a66cab.tar.bz2
scummvm-rg350-f6d8c1c40d0ceb75cd4c51d92dfc1f7590a66cab.zip
SCI/newgui: removed list parameter from addToPicDrawCels()
svn-id: r45371
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/gui/gui.cpp2
-rw-r--r--engines/sci/gui/gui_animate.cpp2
-rw-r--r--engines/sci/gui/gui_animate.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/gui/gui.cpp b/engines/sci/gui/gui.cpp
index 62a60faf20..4ec3edae9f 100644
--- a/engines/sci/gui/gui.cpp
+++ b/engines/sci/gui/gui.cpp
@@ -573,7 +573,7 @@ void SciGui::addToPicList(reg_t listReference, int argc, reg_t *argv) {
error("kAddToPic called with non-list as parameter");
_animate->makeSortedList(list);
- _animate->addToPicDrawCels(list);
+ _animate->addToPicDrawCels();
_screen->_picNotValid = 2;
}
diff --git a/engines/sci/gui/gui_animate.cpp b/engines/sci/gui/gui_animate.cpp
index a83992e646..e949dfde15 100644
--- a/engines/sci/gui/gui_animate.cpp
+++ b/engines/sci/gui/gui_animate.cpp
@@ -479,7 +479,7 @@ void SciGuiAnimate::reAnimate(Common::Rect rect) {
_gfx->BitsShow(rect);
}
-void SciGuiAnimate::addToPicDrawCels(List *list) {
+void SciGuiAnimate::addToPicDrawCels() {
reg_t curObject;
GuiAnimateEntry *listEntry;
SciGuiView *view = NULL;
diff --git a/engines/sci/gui/gui_animate.h b/engines/sci/gui/gui_animate.h
index 29214543dd..b734d5c50e 100644
--- a/engines/sci/gui/gui_animate.h
+++ b/engines/sci/gui/gui_animate.h
@@ -73,7 +73,7 @@ public:
void updateScreen(byte oldPicNotValid);
void restoreAndDelete(int argc, reg_t *argv);
void reAnimate(Common::Rect rect);
- void addToPicDrawCels(List *list);
+ void addToPicDrawCels();
void addToPicDrawView(GuiResourceId viewId, GuiViewLoopNo loopNo, GuiViewCelNo celNo, int16 leftPos, int16 topPos, int16 priority, int16 control);
private: