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:
Paul Gilbert 2020-07-13 19:11:19 -07:00
parent cb7620d44c
commit e05a64992b
2 changed files with 7 additions and 1 deletions

View File

@ -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;

View File

@ -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.