aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/mult.cpp
diff options
context:
space:
mode:
authorSven Hesse2006-04-13 16:25:07 +0000
committerSven Hesse2006-04-13 16:25:07 +0000
commit07a0d5489158efb0b56ec22014f0da89e99d2cb7 (patch)
tree815325f1fd777a0a2290d8786fdf69ac1be383ca /engines/gob/mult.cpp
parentc9555a5d54b96337a6e6d08919bdad1a4d94fde4 (diff)
downloadscummvm-rg350-07a0d5489158efb0b56ec22014f0da89e99d2cb7.tar.gz
scummvm-rg350-07a0d5489158efb0b56ec22014f0da89e99d2cb7.tar.bz2
scummvm-rg350-07a0d5489158efb0b56ec22014f0da89e99d2cb7.zip
- More stubs, the intro now works completely (with extreme graphical
glitches and without sound in the floppy version), the title screen is shown afterwards - Added skipping of the floppy version's copy protection screen, since the CD version doesn't show it either svn-id: r21845
Diffstat (limited to 'engines/gob/mult.cpp')
-rw-r--r--engines/gob/mult.cpp70
1 files changed, 0 insertions, 70 deletions
diff --git a/engines/gob/mult.cpp b/engines/gob/mult.cpp
index 396a0964c4..4f856377c0 100644
--- a/engines/gob/mult.cpp
+++ b/engines/gob/mult.cpp
@@ -209,80 +209,10 @@ void Mult::initAll(void) {
_vm->_scenery->_curStatic = -1;
}
-void Mult::playSound(Snd::SoundDesc * soundDesc, int16 repCount, int16 freq,
- int16 channel) {
- _vm->_snd->playSample(soundDesc, repCount, freq);
-}
-
void Mult::zeroMultData(void) {
_multData = 0;
}
-void Mult::freeMultKeys(void) {
- int i;
- char animCount;
- char staticCount;
-
- _dataPtr = _multData;
- staticCount = _dataPtr[0];
- animCount = _dataPtr[1];
-
- delete[] _dataPtr;
-
- staticCount++;
- animCount++;
- for (i = 0; i < staticCount; i++) {
-
- if (_staticLoaded[i] != 0)
- _vm->_scenery->freeStatic(_staticIndices[i]);
- }
-
- for (i = 0; i < animCount; i++) {
- if (_animLoaded[i] != 0)
- _vm->_scenery->freeAnim(_animIndices[i]);
- }
-
- delete[] _staticKeys;
-
- for (i = 0; i < 4; i++)
- delete[] _animKeys[i];
-
- delete[] _palFadeKeys;
- delete[] _palKeys;
- delete[] _textKeys;
-
- for (i = 0; i < _sndSlotsCount; i++) {
- _vm->_game->freeSoundSlot(19 - i);
- }
-
- delete[] _sndKeys;
-
- _multData = 0;
-
- if (_animDataAllocated != 0) {
- delete[] _objects;
- _objects = 0;
-
- delete[] _renderData;
- _renderData = 0;
-
- delete[] _animArrayX;
- _animArrayX = 0;
-
- delete[] _animArrayY;
- _animArrayY = 0;
-
- delete[] _animArrayData;
- _animArrayData = 0;
-
- if (_vm->_anim->_animSurf)
- _vm->_video->freeSurfDesc(_vm->_anim->_animSurf);
- _vm->_anim->_animSurf = 0;
-
- _animDataAllocated = 0;
- }
-}
-
void Mult::checkFreeMult(void) {
if (_multData != 0)
freeMultKeys();