From 94ebc96705314eb1e0846fa605943aec20afad72 Mon Sep 17 00:00:00 2001 From: Joseph-Eugene Winzer Date: Mon, 26 Mar 2018 01:15:18 +0200 Subject: SUPERNOVA: Implements renderImage with ImageId --- engines/supernova/screen.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/supernova/screen.h') diff --git a/engines/supernova/screen.h b/engines/supernova/screen.h index a3c37f599a..d57fb53ed2 100644 --- a/engines/supernova/screen.h +++ b/engines/supernova/screen.h @@ -143,9 +143,8 @@ public: void paletteFadeIn(); void paletteFadeOut(); void paletteBrightness(); - void renderImage(ImageId id); + void renderImage(ImageId id, bool removeImage = false); void renderImage(int section); - void renderImageSection(int section); bool setCurrentImage(int filenumber); void saveScreen(int x, int y, int width, int height); void saveScreen(const GuiElement &guiElement); @@ -174,6 +173,9 @@ public: void setTextCursorColor(byte color); void update(); +private: + void renderImageSection(const MSNImage *image, int section); + private: SupernovaEngine *_vm; GameManager *_gm; -- cgit v1.2.3