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_16.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_16.cpp')
-rw-r--r-- | engines/igor/parts/part_16.cpp | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/engines/igor/parts/part_16.cpp b/engines/igor/parts/part_16.cpp index aeff170bc5..01b1e7a32f 100644 --- a/engines/igor/parts/part_16.cpp +++ b/engines/igor/parts/part_16.cpp @@ -71,6 +71,9 @@ void IgorEngine::PART_16_ACTION_101() { } addObjectToInventory(20, 55); _objectsState[52] = 1; + if (_gameVersion == kIdEngDemo110) { + ++_demoActionsCounter; + } ADD_DIALOGUE_TEXT(204, 3); SET_DIALOGUE_TEXT(1, 1); startIgorDialogue(); @@ -271,25 +274,11 @@ void IgorEngine::PART_16() { if (_objectsState[65] == 2 && _inventoryInfo[71] != 0 && _objectsState[76] == 1) { PART_16_HELPER_3(); } - showCursor(); - _gameState.igorMoving = false; + enterPartLoop(); while (_currentPart == 160) { - handleRoomInput(); - if (compareGameTick(1, 16)) { - handleRoomIgorWalk(); - } - if (compareGameTick(19, 32)) { - handleRoomDialogue(); - } - if (compareGameTick(4, 8)) { - handleRoomInventoryScroll(); - } - if (compareGameTick(1)) { - handleRoomLight(); - } - waitForTimer(); + runPartLoop(); } - hideCursor(); + leavePartLoop(); fadeOutPalette(624); } |