mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-19 02:38:32 +00:00
KYRA: (EOB/PC98) - remove unused variable
This commit is contained in:
parent
8014f12df3
commit
44d8eaf71c
@ -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);
|
||||
}
|
||||
|
@ -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;*/
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user