diff options
author | Gregory Montoir | 2007-11-25 23:27:51 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-11-25 23:27:51 +0000 |
commit | 798ce43e19f1f4ee5b95f4de291217bf25a342f9 (patch) | |
tree | b4641214f0b39923c249eaec3ce1a62982cebaf2 /engines/igor/parts/part_28.cpp | |
parent | 3d59f805202bd1d2161baa69902d377fa01ee7c6 (diff) | |
download | scummvm-rg350-798ce43e19f1f4ee5b95f4de291217bf25a342f9.tar.gz scummvm-rg350-798ce43e19f1f4ee5b95f4de291217bf25a342f9.tar.bz2 scummvm-rg350-798ce43e19f1f4ee5b95f4de291217bf25a342f9.zip |
- enabled speech sounds
- added end of demo check for demo 1.10
- simplified parts loop
- populated strings table in IGOR.TBL
- updated and packed charset data
svn-id: r29641
Diffstat (limited to 'engines/igor/parts/part_28.cpp')
-rw-r--r-- | engines/igor/parts/part_28.cpp | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/engines/igor/parts/part_28.cpp b/engines/igor/parts/part_28.cpp index 4b952ad3bb..1f8a2c23fd 100644 --- a/engines/igor/parts/part_28.cpp +++ b/engines/igor/parts/part_28.cpp @@ -178,6 +178,9 @@ void IgorEngine::PART_28_ACTION_109() { ADD_DIALOGUE_TEXT(230, 1); SET_DIALOGUE_TEXT(1, 1); startIgorDialogue(); + if (_gameVersion == kIdEngDemo110) { + ++_demoActionsCounter; + } } void IgorEngine::PART_28_UPDATE_DIALOGUE_CAROLINE(int action) { @@ -340,30 +343,15 @@ void IgorEngine::PART_28() { } else if (_currentPart == 281) { PART_28_HELPER_6(); } - showCursor(); - _gameState.igorMoving = false; + enterPartLoop(); while (_currentPart == 280 || _currentPart == 281) { - handleRoomInput(); - if (compareGameTick(1, 16)) { - handleRoomIgorWalk(); - } - if (compareGameTick(19, 32)) { - handleRoomDialogue(); - } - if (compareGameTick(4, 8)) { - handleRoomInventoryScroll(); - } - if (compareGameTick(1)) { - handleRoomLight(); - } - PART_28_UPDATE_ROOM_BACKGROUND(); - waitForTimer(); + runPartLoop(); } if (_objectsState[87] == 1) { _objectsState[87] = 2; } + leavePartLoop(); fadeOutPalette(624); - _updateRoomBackground = 0; } } // namespace Igor |