From 51afa7b0b65d484d77c72468f5025735d4828d87 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 11 Jan 2010 10:59:52 +0000 Subject: - Set the palette inside doit() again - Removed a now obsolete TODO - Portrait animations are now stopped when the Esc key is pressed, or when the engine should quit svn-id: r47247 --- engines/sci/graphics/portrait.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/sci/graphics/portrait.h') diff --git a/engines/sci/graphics/portrait.h b/engines/sci/graphics/portrait.h index 4bcaeb2654..dab009bfa1 100644 --- a/engines/sci/graphics/portrait.h +++ b/engines/sci/graphics/portrait.h @@ -44,13 +44,14 @@ public: void doit(Common::Point position, uint16 resourceId, uint16 noun, uint16 verb, uint16 cond, uint16 seq); private: - void init(Common::String resourceName, SciPalette *palette); + void init(Common::String resourceName); void drawBitmap(uint16 bitmapNr); void bitsShow(); ResourceManager *_resMan; SciEvent *_event; SciGui *_gui; + SciPalette *_palette; Screen *_screen; AudioPlayer *_audio; -- cgit v1.2.3