diff options
author | Johannes Schickel | 2009-09-30 13:07:12 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-09-30 13:07:12 +0000 |
commit | 1b94303b788bdad949a954e2ec603ab7003da509 (patch) | |
tree | 79c2f142da3dbfc6360e46f06d35eb54a909ce1c /graphics/sjis.h | |
parent | fd21bb2611b4260a1243ab14c9a0797fb9ba3617 (diff) | |
download | scummvm-rg350-1b94303b788bdad949a954e2ec603ab7003da509.tar.gz scummvm-rg350-1b94303b788bdad949a954e2ec603ab7003da509.tar.bz2 scummvm-rg350-1b94303b788bdad949a954e2ec603ab7003da509.zip |
Update SJIS code to read SJIS.FNT version 2 data (no support for drawing ASCII and half-width katakana glyphs yet).
svn-id: r44483
Diffstat (limited to 'graphics/sjis.h')
-rw-r--r-- | graphics/sjis.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/sjis.h b/graphics/sjis.h index 93279d0dd5..6e975b5afd 100644 --- a/graphics/sjis.h +++ b/graphics/sjis.h @@ -168,8 +168,8 @@ private: */ class FontSjisSVM : public FontSJIS16x16 { public: - FontSjisSVM() : _fontData(0) {} - ~FontSjisSVM() { delete[] _fontData; } + FontSjisSVM() : _fontData16x16(0), _fontData16x16Size(0) {} + ~FontSjisSVM() { delete[] _fontData16x16; } /** * Load the font data from "SJIS.FNT". @@ -177,7 +177,8 @@ public: bool loadData(); private: - uint16 *_fontData; + uint16 *_fontData16x16; + uint _fontData16x16Size; const uint16 *getCharData(uint16 c) const; }; |