From ee09af6a12e26f100a9a0457dcb552707abd4288 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 14 Feb 2011 22:38:12 -0500 Subject: SCI: Fix loading SCI32 games The frames/items in GfxFrameout need to be cleared upon loading --- engines/sci/graphics/frameout.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/sci/graphics/frameout.h') diff --git a/engines/sci/graphics/frameout.h b/engines/sci/graphics/frameout.h index 93d61ba22e..347ecb9424 100644 --- a/engines/sci/graphics/frameout.h +++ b/engines/sci/graphics/frameout.h @@ -28,6 +28,8 @@ namespace Sci { +class GfxPicture; + struct PlaneEntry { reg_t object; uint16 priority; @@ -99,6 +101,7 @@ public: void addPlanePicture(reg_t object, GuiResourceId pictureId, uint16 startX); void deletePlanePictures(reg_t object); + void clear(); private: SegManager *_segMan; -- cgit v1.2.3