aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/supernova/supernova.cpp4
-rw-r--r--engines/supernova/supernova.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index 74d815a347..833589c6c7 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -247,6 +247,10 @@ void SupernovaEngine::renderImage(int section) {
_screen->renderImage(section);
}
+void SupernovaEngine::renderImage(ImageId id, bool removeImage) {
+ _screen->renderImage(id, removeImage);
+}
+
bool SupernovaEngine::setCurrentImage(int filenumber) {
return _screen->setCurrentImage(filenumber);
}
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h
index b4af8b4394..c66fd5032e 100644
--- a/engines/supernova/supernova.h
+++ b/engines/supernova/supernova.h
@@ -35,6 +35,7 @@
#include "supernova/msn_def.h"
#include "supernova/rooms.h"
#include "supernova/sound.h"
+#include "supernova/imageid.h"
namespace Common {
class MemoryReadWriteStream;
@@ -102,6 +103,7 @@ public:
void paletteFadeOut();
void paletteBrightness();
void renderImage(int section);
+ void renderImage(ImageId id, bool removeImage = false);
bool setCurrentImage(int filenumber);
void saveScreen(int x, int y, int width, int height);
void saveScreen(const GuiElement &guiElement);