aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova2/screen.h
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-06-05 12:26:28 +0200
committerThierry Crozat2019-07-28 15:09:14 +0100
commit3a5ea64e9cb41c83dd85eec32db228ebcfd850f6 (patch)
tree3be7cf5c4e164aa5af1c24c3b84b9625827770f6 /engines/supernova2/screen.h
parent93561220b741a6f9a604205836a7b10e5af3abe5 (diff)
downloadscummvm-rg350-3a5ea64e9cb41c83dd85eec32db228ebcfd850f6.tar.gz
scummvm-rg350-3a5ea64e9cb41c83dd85eec32db228ebcfd850f6.tar.bz2
scummvm-rg350-3a5ea64e9cb41c83dd85eec32db228ebcfd850f6.zip
SUPERNOVA2: Finish the Checkout, add TV appearence
The TV appearence is for now just a guess, since right now I don't actually know how to get to it in the original game, so I don't know how it really looks like. Also the player cannot get to it yet, because the room containing the music chip (which is needed) isn't added yet.
Diffstat (limited to 'engines/supernova2/screen.h')
-rw-r--r--engines/supernova2/screen.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/supernova2/screen.h b/engines/supernova2/screen.h
index e952006beb..7b9c964e9c 100644
--- a/engines/supernova2/screen.h
+++ b/engines/supernova2/screen.h
@@ -139,7 +139,7 @@ public:
void setViewportBrightness(int brightness);
int getGuiBrightness() const;
void setGuiBrightness(int brightness);
- const MS2Image *getCurrentImage() const;
+ MS2Image *getCurrentImage();
const ImageInfo *getImageInfo(ImageId id) const;
bool isMessageShown() const;
void paletteFadeIn(int maxViewportBrightness);
@@ -152,7 +152,7 @@ public:
void saveScreen(const GuiElement &guiElement);
void restoreScreen();
void renderRoom(Room &room);
- void renderMessage(const char *text, MessagePosition position = kMessageNormal);
+ void renderMessage(const char *text, MessagePosition position = kMessageNormal, int positionX = -1, int positionY = -1);
void renderMessage(const Common::String &text, MessagePosition position = kMessageNormal);
void renderMessage(StringId stringId, MessagePosition position = kMessageNormal,
Common::String var1 = "", Common::String var2 = "");
@@ -181,7 +181,7 @@ private:
private:
Supernova2Engine *_vm;
ResourceManager *_resMan;
- const MS2Image *_currentImage;
+ MS2Image *_currentImage;
ScreenBufferStack _screenBuffer;
int _screenWidth;
int _screenHeight;