SUPERNOVA: Adds renderImage overload for ImageId
This commit is contained in:
parent
1e62c55338
commit
c20b960d80
2 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue