aboutsummaryrefslogtreecommitdiff
path: root/engines/igor/parts/part_19.cpp
diff options
context:
space:
mode:
authorGregory Montoir2007-11-25 23:27:51 +0000
committerGregory Montoir2007-11-25 23:27:51 +0000
commit798ce43e19f1f4ee5b95f4de291217bf25a342f9 (patch)
treeb4641214f0b39923c249eaec3ce1a62982cebaf2 /engines/igor/parts/part_19.cpp
parent3d59f805202bd1d2161baa69902d377fa01ee7c6 (diff)
downloadscummvm-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_19.cpp')
-rw-r--r--engines/igor/parts/part_19.cpp19
1 files changed, 3 insertions, 16 deletions
diff --git a/engines/igor/parts/part_19.cpp b/engines/igor/parts/part_19.cpp
index e7cf3b4327..26cbea9d83 100644
--- a/engines/igor/parts/part_19.cpp
+++ b/engines/igor/parts/part_19.cpp
@@ -311,24 +311,11 @@ void IgorEngine::PART_19() {
if (_objectsState[59] == 0) {
PART_19_HELPER_4();
} else {
- showCursor();
- _gameState.igorMoving = false;
+ enterPartLoop();
while (_currentPart == 190) {
- handleRoomInput();
- if (compareGameTick(1, 16)) {
- handleRoomIgorWalk();
- }
- if (compareGameTick(19, 32)) {
- handleRoomDialogue();
- }
- if (compareGameTick(4, 8)) {
- handleRoomInventoryScroll();
- }
- if (compareGameTick(1)) {
- handleRoomLight();
- }
- waitForTimer();
+ runPartLoop();
}
+ leavePartLoop();
}
fadeOutPalette(624);
}