From 8a84a1133fcc21a4115826755bfa1a534b735815 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 6 Aug 2013 21:31:48 +0300 Subject: FULLPIPE: Implement copy constructor for StaticANIObject --- engines/fullpipe/statics.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/fullpipe/statics.h') diff --git a/engines/fullpipe/statics.h b/engines/fullpipe/statics.h index e21f06666d..9e800c2b67 100644 --- a/engines/fullpipe/statics.h +++ b/engines/fullpipe/statics.h @@ -134,6 +134,9 @@ class Movement : public GameObject { public: Movement(); + Movement(Movement *src, StaticANIObject *ani); + Movement(Movement *src, int *flag1, int flag2, StaticANIObject *ani); + virtual bool load(MfcArchive &file); bool load(MfcArchive &file, StaticANIObject *ani); @@ -191,6 +194,7 @@ class StaticANIObject : public GameObject { void setOXY(int x, int y); Statics *getStaticsById(int id); Movement *getMovementById(int id); + int getMovementIdById(int itemId); Movement *getMovementByName(char *name); Common::Point *getCurrDimensions(Common::Point &p); -- cgit v1.2.3