diff options
author | Jaromir Wysoglad | 2019-06-21 22:30:43 +0200 |
---|---|---|
committer | Thierry Crozat | 2019-07-28 15:09:14 +0100 |
commit | 3cf9cfbf78433e81ac5dcc39b31f5fa76983bde4 (patch) | |
tree | 883aacdbb2473884e15fc81c8f20fda6316a2850 /engines/supernova/screen.h | |
parent | eb2a017a68e965b46881a2b41d9178d5e20b05b2 (diff) | |
download | scummvm-rg350-3cf9cfbf78433e81ac5dcc39b31f5fa76983bde4.tar.gz scummvm-rg350-3cf9cfbf78433e81ac5dcc39b31f5fa76983bde4.tar.bz2 scummvm-rg350-3cf9cfbf78433e81ac5dcc39b31f5fa76983bde4.zip |
SUPERNOVA: Merge in the supernova2 engine.
Diffstat (limited to 'engines/supernova/screen.h')
-rw-r--r-- | engines/supernova/screen.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/engines/supernova/screen.h b/engines/supernova/screen.h index dc5aa4dc2f..0779973fe9 100644 --- a/engines/supernova/screen.h +++ b/engines/supernova/screen.h @@ -44,6 +44,7 @@ class Screen; const int kScreenWidth = 320; const int kScreenHeight = 200; const int kFontWidth = 5; +const int kFontWidth2 = 4; const int kFontHeight = 8; enum Color { @@ -158,17 +159,17 @@ public: void renderRoom(Room &room); 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, + void renderMessage(int stringId, MessagePosition position = kMessageNormal, Common::String var1 = "", Common::String var2 = ""); void removeMessage(); void renderText(const uint16 character); void renderText(const char *text); void renderText(const Common::String &text); - void renderText(StringId stringId); + void renderText(int stringId); void renderText(const uint16 character, int x, int y, byte color); void renderText(const char *text, int x, int y, byte color); void renderText(const Common::String &text, int x, int y, byte color); - void renderText(StringId stringId, int x, int y, byte color); + void renderText(int stringId, int x, int y, byte color); void renderText(const GuiElement &guiElement); void renderBox(int x, int y, int width, int height, byte color); void renderBox(const GuiElement &guiElement); |