diff options
author | Max Horn | 2004-01-08 17:41:11 +0000 |
---|---|---|
committer | Max Horn | 2004-01-08 17:41:11 +0000 |
commit | d1a80a659bdb6ad928f75291e7a5d824b3f05eed (patch) | |
tree | cfb96b7fbf1ae4f501708cb7057f6d99d489743d /scumm/scummvm.cpp | |
parent | c2b7531c56a01b973f52f12b9a2922068ec79725 (diff) | |
download | scummvm-rg350-d1a80a659bdb6ad928f75291e7a5d824b3f05eed.tar.gz scummvm-rg350-d1a80a659bdb6ad928f75291e7a5d824b3f05eed.tar.bz2 scummvm-rg350-d1a80a659bdb6ad928f75291e7a5d824b3f05eed.zip |
cleanup
svn-id: r12259
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r-- | scumm/scummvm.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index fb3923edd6..b90b4efaa3 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -364,7 +364,6 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS _bootParam = 0; _dumpScripts = false; _debugMode = 0; - _language = 0; _objectOwnerTable = NULL; _objectRoomTable = NULL; _objectStateTable = NULL; @@ -788,6 +787,8 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS fontFile = "chinese.fnt"; } break; + default: + break; } if (fontFile && fp.open(fontFile, getGameDataPath())) { debug(2, "Loading CJK Font"); @@ -807,6 +808,8 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS case Common::ZH_TWN: numChar = 1; //FIXME break; + default: + break; } _2byteFontPtr = new byte[((_2byteWidth + 7) / 8) * _2byteHeight * numChar]; fp.read(_2byteFontPtr, ((_2byteWidth + 7) / 8) * _2byteHeight * numChar); @@ -829,7 +832,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS // Create the charset renderer if (_version <= 2) - _charset = new CharsetRendererV2(this); + _charset = new CharsetRendererV2(this, _language); else if (_version == 3) _charset = new CharsetRendererV3(this); else if (_version == 8) |