aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorD G Turner2011-12-07 16:40:57 +0000
committerD G Turner2011-12-07 16:40:57 +0000
commit39f2b24f11a2b2fa47b583aef2547ab4a0b4291b (patch)
treea2bf66de16cf4008c8427722d563c6a163c400d8 /engines
parentb017c9317b054c8f6cc2258f581ba30c0caf131a (diff)
downloadscummvm-rg350-39f2b24f11a2b2fa47b583aef2547ab4a0b4291b.tar.gz
scummvm-rg350-39f2b24f11a2b2fa47b583aef2547ab4a0b4291b.tar.bz2
scummvm-rg350-39f2b24f11a2b2fa47b583aef2547ab4a0b4291b.zip
DREAMWEB: Remove now unused sound interrupt related functions.
All are empty and unused, except for soundStartup() which was called but was empty and soundCheckInt which unconditionally set kTestResult to 1 (assumed to be "Test Pass"), but this value is not used anywhere and the function was not called anyway, so safe to remove.
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/dreamgen.h10
-rw-r--r--engines/dreamweb/stubs.cpp11
2 files changed, 3 insertions, 18 deletions
diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h
index a5be8ec8ea..7fb2bc5838 100644
--- a/engines/dreamweb/dreamgen.h
+++ b/engines/dreamweb/dreamgen.h
@@ -576,7 +576,6 @@ public:
void keyboardRead();
void getOpenedSize();
void resetKeyboard();
- void soundStartup();
void adjustUp();
void fadeScreenDownHalf();
void mouseCall();
@@ -599,7 +598,6 @@ public:
void runTap();
void talk();
void dumpDiaryKeys();
- void disableSoundInt();
void checkForExit();
void lookInInterface();
void inToInv();
@@ -640,8 +638,8 @@ public:
void useCooker();
void receptionist();
void selectSlot();
+ void openFileNoCheck();
void fadeUpMon();
- void soundEnd();
void clearChanges();
void introMagic2();
void introMagic3();
@@ -657,7 +655,6 @@ public:
void diaryKeyN();
void set16ColPalette();
void purgeAnItem();
- void enableSoundInt();
void purgeALocation();
void notHeldError();
void getSetAd();
@@ -675,15 +672,13 @@ public:
void bossMan();
void searchForSame();
void fadeFromWhite();
- void checkSoundInt();
void rollEm();
void poolGuard();
void lookAtPlace();
void useAxe();
void findAllOpen();
- void quitSymbol();
void readFromFile();
- void interruptTest();
+ void quitSymbol();
void findSetObject();
void useDiary();
void deleteExObject();
@@ -715,7 +710,6 @@ public:
void swapWithOpen();
void dreamweb();
void dropError();
- void openFileNoCheck();
void checkInside();
void findPathOfPoint();
void getBack1();
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp
index da02360e55..75adc72c44 100644
--- a/engines/dreamweb/stubs.cpp
+++ b/engines/dreamweb/stubs.cpp
@@ -472,7 +472,7 @@ void DreamGenContext::dreamweb() {
}
seeCommandTail();
- soundStartup();
+ // soundStartup used to be done here...
setKeyboardInt();
allocateBuffers();
setMouse();
@@ -1063,15 +1063,6 @@ void DreamGenContext::deallocateMem(uint16 segment) {
}
}
-void DreamGenContext::soundStartup() {}
-void DreamGenContext::soundEnd() {}
-void DreamGenContext::interruptTest() {}
-void DreamGenContext::disableSoundInt() {}
-void DreamGenContext::enableSoundInt() {}
-void DreamGenContext::checkSoundInt() {
- data.byte(kTestresult) = 1;
-}
-
void DreamGenContext::loadSpeech() {
cancelCh1();
data.byte(kSpeechloaded) = 0;