aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/text
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-02-08 10:13:18 +0100
committerTorbjörn Andersson2015-02-08 10:13:18 +0100
commitb7b4e9cc5899eff0810d97a848ace0fa2ede5548 (patch)
tree90720eae94c9520e54fa9010488dac4fc2cc4588 /engines/zvision/text
parenta0661328b94f0d452995da4f91318d0952ab8346 (diff)
downloadscummvm-rg350-b7b4e9cc5899eff0810d97a848ace0fa2ede5548.tar.gz
scummvm-rg350-b7b4e9cc5899eff0810d97a848ace0fa2ede5548.tar.bz2
scummvm-rg350-b7b4e9cc5899eff0810d97a848ace0fa2ede5548.zip
ZVISION: Draw transparent text in original save dialog
Before this change, text was drawn in black boxes in Zork Nemesis, so while this does make it look better (and more like the original) this may actually make the text slightly harder to read. The original dialogs allowed only upper-case letters, but I think that it's better to leave that to the player.
Diffstat (limited to 'engines/zvision/text')
-rw-r--r--engines/zvision/text/text.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/zvision/text/text.cpp b/engines/zvision/text/text.cpp
index e0501ae9c8..4af3b967f3 100644
--- a/engines/zvision/text/text.cpp
+++ b/engines/zvision/text/text.cpp
@@ -315,8 +315,6 @@ int32 TextRenderer::drawTxt(const Common::String &txt, cTxtStyle &fontStyle, Gra
StyledTTFont font(_engine);
fontStyle.setFont(font);
- dst.fillRect(Common::Rect(dst.w, dst.h), 0);
-
uint32 clr = _engine->_resourcePixelFormat.RGBToColor(fontStyle._red, fontStyle._green, fontStyle._blue);
int16 w;