diff options
Diffstat (limited to 'engines/kyra/graphics')
-rw-r--r-- | engines/kyra/graphics/screen_eob.cpp | 6 | ||||
-rw-r--r-- | engines/kyra/graphics/screen_eob.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/engines/kyra/graphics/screen_eob.cpp b/engines/kyra/graphics/screen_eob.cpp index d7916f510f..8b1a514e39 100644 --- a/engines/kyra/graphics/screen_eob.cpp +++ b/engines/kyra/graphics/screen_eob.cpp @@ -98,7 +98,7 @@ bool Screen_EoB::init() { _fonts[FID_SJIS_LARGE_FNT] = new SJISFontLarge(_sjisFontShared); } else if (_vm->game() == GI_EOB1 && _vm->gameFlags().platform == Common::kPlatformPC98) { loadFont(FID_SJIS_SMALL_FNT, "FONT12.FNT"); - _fonts[FID_SJIS_FNT] = new SJISFontEoB1PC98(_sjisFontShared, 12, _vm->staticres()->loadRawDataBe16(kEoB1Ascii2SjisTable1, temp), _vm->staticres()->loadRawDataBe16(kEoB1Ascii2SjisTable2, temp)); + _fonts[FID_SJIS_FNT] = new SJISFontEoB1PC98(_sjisFontShared, /*12,*/ _vm->staticres()->loadRawDataBe16(kEoB1Ascii2SjisTable1, temp), _vm->staticres()->loadRawDataBe16(kEoB1Ascii2SjisTable2, temp)); } if (_vm->gameFlags().useHiRes && _renderMode == Common::kRenderEGA) { @@ -2564,8 +2564,8 @@ void AmigaDOSFont::selectMode(int mode) { _last = _content[mode].data->lastChar; } -SJISFontEoB1PC98::SJISFontEoB1PC98(Common::SharedPtr<Graphics::FontSJIS> &font, uint8 shadowColor, const uint16 *convTable1, const uint16 *convTable2) : SJISFont(font, 0, false, false, 0), - _shadowColor(shadowColor), _convTable1(convTable1), _convTable2(convTable2), _defaultConv(true) { +SJISFontEoB1PC98::SJISFontEoB1PC98(Common::SharedPtr<Graphics::FontSJIS> &font, /*uint8 shadowColor,*/ const uint16 *convTable1, const uint16 *convTable2) : SJISFont(font, 0, false, false, 0), + /*_shadowColor(shadowColor),*/ _convTable1(convTable1), _convTable2(convTable2), _defaultConv(true) { assert(_convTable1); assert(_convTable2); } diff --git a/engines/kyra/graphics/screen_eob.h b/engines/kyra/graphics/screen_eob.h index 6927ff7cce..8d9080e244 100644 --- a/engines/kyra/graphics/screen_eob.h +++ b/engines/kyra/graphics/screen_eob.h @@ -278,7 +278,7 @@ private: */ class SJISFontEoB1PC98 : public SJISFont { public: - SJISFontEoB1PC98(Common::SharedPtr<Graphics::FontSJIS> &font, uint8 shadowColor, const uint16 *convTable1, const uint16 *convTable2); + SJISFontEoB1PC98(Common::SharedPtr<Graphics::FontSJIS> &font, /*uint8 shadowColor,*/ const uint16 *convTable1, const uint16 *convTable2); virtual ~SJISFontEoB1PC98() {} virtual int getCharWidth(uint16 c) const; virtual void drawChar(uint16 c, byte *dst, int pitch, int) const; @@ -287,7 +287,7 @@ private: uint16 convert(uint16 c) const; const uint16 *_convTable1, *_convTable2; bool _defaultConv; - uint8 _shadowColor; + /*uint8 _shadowColor;*/ }; /** |