aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/agos.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-19 11:13:28 +0000
committerTravis Howell2006-10-19 11:13:28 +0000
commit26765932ccde8469f8521e11efd2a0068c32ff91 (patch)
tree9f9405cdba44eb99e3065fa4c719ca8c469aa91c /engines/agos/agos.cpp
parent8c72861de463e0db36b234750fb19904e5f04d3b (diff)
downloadscummvm-rg350-26765932ccde8469f8521e11efd2a0068c32ff91.tar.gz
scummvm-rg350-26765932ccde8469f8521e11efd2a0068c32ff91.tar.bz2
scummvm-rg350-26765932ccde8469f8521e11efd2a0068c32ff91.zip
Add support for sound effects in PC version of Elvira 1
svn-id: r24388
Diffstat (limited to 'engines/agos/agos.cpp')
-rw-r--r--engines/agos/agos.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index c55aed0221..e2775c542e 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -1331,7 +1331,7 @@ uint AGOSEngine::itemGetIconNumber(Item *item) {
}
}
-void AGOSEngine::hitarea_stuff() {
+void AGOSEngine::waitForInput() {
HitArea *ha;
uint id;
@@ -1588,17 +1588,17 @@ void AGOSEngine::loadZone(uint zoneNum) {
// Loading order is important
// due to resource managment
- loadVGAFile(zoneNum, 2);
+ loadVGAVideoFile(zoneNum, 2);
vpe->vgaFile2 = _block;
vpe->vgaFile2End = _blockEnd;
- loadVGAFile(zoneNum, 1);
+ loadVGAVideoFile(zoneNum, 1);
vpe->vgaFile1 = _block;
vpe->vgaFile1End = _blockEnd;
vpe->sfxFile = NULL;
if (!(getFeatures() & GF_ZLIBCOMP)) {
- if (loadVGAFile(zoneNum, 3)) {
+ if (loadVGASoundFile(zoneNum, 3)) {
vpe->sfxFile = _block;
vpe->sfxFileEnd = _blockEnd;
}
@@ -2409,7 +2409,7 @@ int AGOSEngine::go() {
permitInput();
while (1) {
- hitarea_stuff();
+ waitForInput();
handleVerbClicked(_verbHitArea);
delay(100);
}