mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
TINSEL: Workaround for black talk text showing for Mac DW1
I'm not sure of the underlying cause, but as a suitable workaround, when playing the Mac version it'll simply use the tooltip font instead, which is at least properly visible
This commit is contained in:
parent
cb7620d44c
commit
e05a64992b
@ -36,6 +36,12 @@ void Font::SetTagFontHandle(SCNHANDLE hFont) {
|
||||
SetTalkFontHandle(hFont); // Also re-use for talk text
|
||||
}
|
||||
|
||||
SCNHANDLE Font::GetTalkFontHandle() {
|
||||
// FIXME: Mac Discworld 1 was rendering the talk font as black.
|
||||
// Currently hacking around it by simply using the tooltip font
|
||||
return TinselV1Mac ? _hTagFont : _hTalkFont;
|
||||
}
|
||||
|
||||
void Font::FettleFontPal(SCNHANDLE fontPal) {
|
||||
const FONT *pFont;
|
||||
IMAGE *pImg;
|
||||
|
@ -49,7 +49,7 @@ public:
|
||||
/**
|
||||
* Return hTalkFont handle.
|
||||
*/
|
||||
SCNHANDLE GetTalkFontHandle() { return _hTalkFont; }
|
||||
SCNHANDLE GetTalkFontHandle();
|
||||
|
||||
/**
|
||||
* Called from dec_tagfont() Glitter function. Store the tag font handle.
|
||||
|
Loading…
x
Reference in New Issue
Block a user