aboutsummaryrefslogtreecommitdiff
path: root/engines/igor/parts/part_14.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_14.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_14.cpp')
-rw-r--r--engines/igor/parts/part_14.cpp20
1 files changed, 3 insertions, 17 deletions
diff --git a/engines/igor/parts/part_14.cpp b/engines/igor/parts/part_14.cpp
index 22cbc7aed5..f3c7c092f3 100644
--- a/engines/igor/parts/part_14.cpp
+++ b/engines/igor/parts/part_14.cpp
@@ -578,25 +578,11 @@ void IgorEngine::PART_14() {
if (_currentPart == 142) {
PART_14_HELPER_4();
}
- showCursor();
- _gameState.igorMoving = false;
+ enterPartLoop();
while (_currentPart >= 140 && _currentPart <= 142) {
- 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);
}