From d179d0fb9d26e8fe31b340e2af420eb7cbf72be8 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 2 Oct 2013 09:03:08 +0300 Subject: FULLPIPE: Implement MGM::clear() --- engines/fullpipe/motion.cpp | 8 +------- engines/fullpipe/motion.h | 13 +++++++------ 2 files changed, 8 insertions(+), 13 deletions(-) (limited to 'engines') diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp index ad24514b26..6a39b9f7b5 100644 --- a/engines/fullpipe/motion.cpp +++ b/engines/fullpipe/motion.cpp @@ -479,17 +479,11 @@ MovGraphNode *MovGraph::calcOffset(int ox, int oy) { } void MGM::clear() { - warning("STUB: MGM:clear()"); + _items.clear(); } MGMItem::MGMItem() { objId = 0; - subItems = 0; - staticsListCount = 0; - movementListCount = 0; - statics = 0; - movements1 = 0; - movements2 = 0; } void MGM::addItem(int objId) { diff --git a/engines/fullpipe/motion.h b/engines/fullpipe/motion.h index 09485507d7..bf0b1bedd4 100644 --- a/engines/fullpipe/motion.h +++ b/engines/fullpipe/motion.h @@ -25,6 +25,9 @@ namespace Fullpipe { +class Statics; +class Movement; + int startWalkTo(int objId, int objKey, int x, int y, int a5); int doSomeAnimation(int objId, int objKey, int a3); int doSomeAnimation2(int objId, int objKey); @@ -102,12 +105,10 @@ class MctlCompound : public MotionController { struct MGMItem { int16 objId; - int subItems; - int staticsListCount; - int movementListCount; - int statics; - int movements1; - int movements2; + Common::Array subItems; + Common::Array statics; + Common::Array movements1; + Common::Array movements2; MGMItem(); }; -- cgit v1.2.3