diff options
author | Gregory Montoir | 2007-11-30 19:05:53 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-11-30 19:05:53 +0000 |
commit | 98545ad4e539ee42f87f3ad2399e55d0bafcf8b7 (patch) | |
tree | 33add01f1ab458543c97b16a8712107d782e1dd4 /engines/igor/parts/part_90.cpp | |
parent | 13e9079e8974ab0f1bb60c8c73951fe8b482bca1 (diff) | |
download | scummvm-rg350-98545ad4e539ee42f87f3ad2399e55d0bafcf8b7.tar.gz scummvm-rg350-98545ad4e539ee42f87f3ad2399e55d0bafcf8b7.tar.bz2 scummvm-rg350-98545ad4e539ee42f87f3ad2399e55d0bafcf8b7.zip |
sync'ing with local tree for now
- some minor changes to detection code
- added missing spanish strings to IGOR.TBL
- fixed '@' charset index
svn-id: r29672
Diffstat (limited to 'engines/igor/parts/part_90.cpp')
-rw-r--r-- | engines/igor/parts/part_90.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/igor/parts/part_90.cpp b/engines/igor/parts/part_90.cpp index 5a94f00b1f..70caf47f6c 100644 --- a/engines/igor/parts/part_90.cpp +++ b/engines/igor/parts/part_90.cpp @@ -28,6 +28,8 @@ namespace Igor { void IgorEngine::PART_90() { + const char *str; + memset(_currentPalette, 0, 768); setPaletteRange(0, 255); switch (_currentPart) { @@ -50,7 +52,8 @@ void IgorEngine::PART_90() { case 904: loadData(PAL_TitleScreen, _paletteBuffer); loadData(IMG_TitleScreen, _screenVGA); - drawString(_screenVGA, (_gameVersion == kIdEngDemo110) ? getString(STR_COPYRIGHT_1994) : getString(STR_COPYRIGHT_1995), 2, 187, 0xF5, 0, 0); + str = (_game.version == kIdEngDemo110) ? getString(STR_Copyright1994) : getString(STR_Copyright1995); + drawString(_screenVGA, str, 2, 187, 0xF5, 0, 0); break; } fadeInPalette(768); @@ -66,7 +69,7 @@ void IgorEngine::PART_90() { fadeOutPalette(768); if (_currentPart != kInvalidPart) { ++_currentPart; - if ((_gameVersion == kIdSpaCD && _currentPart == 904) || _currentPart == 905) { + if ((_game.version == kIdSpaCD && _currentPart == 904) || _currentPart == 905) { _currentPart = 850; } } |