diff options
author | athrxx | 2019-11-24 00:35:58 +0100 |
---|---|---|
committer | athrxx | 2019-12-18 20:50:43 +0100 |
commit | 512fe083670e0fa1d37b88876d8b612017714c27 (patch) | |
tree | f74239beeaa95bf517888bb05d49da030fc7588f /engines/kyra/graphics/screen_eob.h | |
parent | feca6f5a26c912e443d59700b7eda31cc8b2db26 (diff) | |
download | scummvm-rg350-512fe083670e0fa1d37b88876d8b612017714c27.tar.gz scummvm-rg350-512fe083670e0fa1d37b88876d8b612017714c27.tar.bz2 scummvm-rg350-512fe083670e0fa1d37b88876d8b612017714c27.zip |
KYRA: (EOB/PC98) - allow both graphics mode / text mode text display for sjis font
The assumption till now was that PC-9801 games in 16 color mode will always use text mode for text display. However, EOB1 uses text mode for intro and ending sequence and graphics mode for ingame.
Add new font variant for this and also do some cleanup, since the text displayer code really needs it.
(The problem is that at least 3 different Japanese publishers did the Japanese ports for the various games and every one of them did his own hacks for his specific target.)
Diffstat (limited to 'engines/kyra/graphics/screen_eob.h')
-rw-r--r-- | engines/kyra/graphics/screen_eob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/graphics/screen_eob.h b/engines/kyra/graphics/screen_eob.h index b457ba2c83..4f9161af92 100644 --- a/engines/kyra/graphics/screen_eob.h +++ b/engines/kyra/graphics/screen_eob.h @@ -162,8 +162,8 @@ private: */ class SJISFontLarge : public SJISFont { public: - SJISFontLarge(Graphics::FontSJIS *font); - virtual ~SJISFontLarge() { unload(); } + SJISFontLarge(Common::SharedPtr<Graphics::FontSJIS> &font); + virtual ~SJISFontLarge() {} virtual bool usesOverlay() const { return false; } virtual void drawChar(uint16 c, byte *dst, int pitch, int) const; |