From 3a5ea64e9cb41c83dd85eec32db228ebcfd850f6 Mon Sep 17 00:00:00 2001 From: Jaromir Wysoglad Date: Wed, 5 Jun 2019 12:26:28 +0200 Subject: 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. --- engines/supernova2/screen.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/supernova2/screen.h') 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; -- cgit v1.2.3