aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
authoruruk2014-07-29 12:13:38 +0200
committeruruk2014-07-29 12:13:38 +0200
commit95854c3a5743564aa2ef3e7c1d8ef21156ae7f2e (patch)
tree5598289d308642e383d5f3bed514f0d6f256dae5 /engines/cge2
parent6e00d80b4bbb49453ab736f5ea84cec2ddfa05af (diff)
downloadscummvm-rg350-95854c3a5743564aa2ef3e7c1d8ef21156ae7f2e.tar.gz
scummvm-rg350-95854c3a5743564aa2ef3e7c1d8ef21156ae7f2e.tar.bz2
scummvm-rg350-95854c3a5743564aa2ef3e7c1d8ef21156ae7f2e.zip
CGE2: Get rid of sndSetVolume() and connected code.
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/cge2.h3
-rw-r--r--engines/cge2/snail.cpp7
2 files changed, 1 insertions, 9 deletions
diff --git a/engines/cge2/cge2.h b/engines/cge2/cge2.h
index 930995a041..4febca32d1 100644
--- a/engines/cge2/cge2.h
+++ b/engines/cge2/cge2.h
@@ -118,7 +118,7 @@ enum {
};
enum CallbackType {
- kNullCB = 0, kQGame, kXScene, kSoundSetVolume
+ kNullCB = 0, kQGame, kXScene
};
enum Action { kNear, kMTake, kFTake, kActions };
@@ -265,7 +265,6 @@ public:
Sprite *expandSprite(Sprite *spr);
void qGame();
void xScene();
- void sndSetVolume();
const ADGameDescription *_gameDescription;
diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp
index 240b70a557..54ef036dc3 100644
--- a/engines/cge2/snail.cpp
+++ b/engines/cge2/snail.cpp
@@ -256,9 +256,6 @@ void CommandHandler::runCommand() {
case kXScene:
_vm->xScene();
break;
- case kSoundSetVolume:
- _vm->sndSetVolume();
- break;
default:
error("Unknown Callback Type in SNEXEC");
break;
@@ -703,10 +700,6 @@ void CGE2Engine::xScene() {
sceneUp(_req);
}
-void CGE2Engine::sndSetVolume() {
- warning("STUB: CGE2Engine::sndSetVolume()");
-}
-
void CommandHandler::addCommand(CommandType com, int ref, int val, void *ptr) {
if (ref == -2)
ref = 142 - _vm->_sex;