aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/game_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2007-01-30 22:19:55 +0000
committerSven Hesse2007-01-30 22:19:55 +0000
commitcb8378065d2831fa1512dfce138cc0039eff98fb (patch)
tree8a2f720ee83cf583284c2721d6150959b3a8f7f1 /engines/gob/game_v2.cpp
parentb4bebad6f0c3ab23b6992575c9fee88ace8f49d2 (diff)
downloadscummvm-rg350-cb8378065d2831fa1512dfce138cc0039eff98fb.tar.gz
scummvm-rg350-cb8378065d2831fa1512dfce138cc0039eff98fb.tar.bz2
scummvm-rg350-cb8378065d2831fa1512dfce138cc0039eff98fb.zip
- Changed _soundFlags and implemented "compositions"
- Changed Snd to be a permanent audiostream, to have better control over stopping, looping and compositions - Some clean-up svn-id: r25292
Diffstat (limited to 'engines/gob/game_v2.cpp')
-rw-r--r--engines/gob/game_v2.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/gob/game_v2.cpp b/engines/gob/game_v2.cpp
index 1669da9e40..f9aa540308 100644
--- a/engines/gob/game_v2.cpp
+++ b/engines/gob/game_v2.cpp
@@ -92,18 +92,12 @@ void Game_v2::playTot(int16 skipPlay) {
_vm->_mult->initAll();
_vm->_mult->zeroMultData();
-/* for (i = 0; i < 50; i++)
- _vm->_draw->_spritesArray[i] = 0;*/
-
_vm->_draw->_spritesArray[20] = _vm->_draw->_frontSurface;
_vm->_draw->_spritesArray[21] = _vm->_draw->_backSurface;
_vm->_draw->_cursorSpritesBack = _vm->_draw->_cursorSprites;
} else
_vm->_inter->initControlVars(0);
- for (i = 0; i < 20; i++)
- _soundSamples[i] = 0;
-
_totTextData = 0;
_totResourceTable = 0;
_imFileData = 0;
@@ -661,8 +655,6 @@ int16 Game_v2::checkCollisions(char handleMouse, int16 deltaTime, int16 *pResId,
_vm->_draw->animateCursor(-1);
_vm->_util->delay(10);
-
- _vm->_snd->loopSounds();
}
}