diff options
Diffstat (limited to 'engines/glk/frotz/screen.cpp')
-rw-r--r-- | engines/glk/frotz/screen.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/glk/frotz/screen.cpp b/engines/glk/frotz/screen.cpp index fc1ef27c6a..d62c0dc68d 100644 --- a/engines/glk/frotz/screen.cpp +++ b/engines/glk/frotz/screen.cpp @@ -66,9 +66,14 @@ void FrotzScreen::loadVersion6Fonts(Common::Archive *archive) { pi._lineSeparation = 0; g_vm->_defaultForeground = 0; - g_vm->_defaultBackground = g_system->getScreenFormat().RGBToColor(0xff, 0xff, 0xff); + g_vm->_defaultBackground = zcolor_Transparent; g_conf->_tMarginX = 3; + for (uint idx = 0; idx < style_NUMSTYLES; ++idx) { + g_conf->_tStyles[idx].bg = g_conf->_tStylesDefault[idx].bg = zcolor_Transparent; + g_conf->_gStyles[idx].bg = g_conf->_gStylesDefault[idx].bg = zcolor_Transparent; + } + _fonts.resize(8); // Load up the 8x8 Infocom font |