diff options
author | Paul Gilbert | 2017-06-25 08:00:55 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-06-25 08:00:55 -0400 |
commit | f16505b128c5aac2a0b4d8c18e360b14058149e1 (patch) | |
tree | a0a09f03fcbd260eb6eac3ef33973890e3137ad9 /engines/titanic/sound/proximity.cpp | |
parent | e127ddada136602ef6a6356a282c4cbfbd84a580 (diff) | |
download | scummvm-rg350-f16505b128c5aac2a0b4d8c18e360b14058149e1.tar.gz scummvm-rg350-f16505b128c5aac2a0b4d8c18e360b14058149e1.tar.bz2 scummvm-rg350-f16505b128c5aac2a0b4d8c18e360b14058149e1.zip |
TITANIC: Change Bomb to use speech sound type
Diffstat (limited to 'engines/titanic/sound/proximity.cpp')
-rw-r--r-- | engines/titanic/sound/proximity.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/sound/proximity.cpp b/engines/titanic/sound/proximity.cpp index 796e344ae2..f949bada10 100644 --- a/engines/titanic/sound/proximity.cpp +++ b/engines/titanic/sound/proximity.cpp @@ -35,4 +35,14 @@ CProximity::CProximity() : _channelVolume(100), _balance(0), _soundDuration(0), _soundType(Audio::Mixer::kPlainSoundType) { } +CProximity::CProximity(Audio::Mixer::SoundType soundType, int volume) : + _soundType(soundType), _channelVolume(volume), + _balance(0), _priorSoundHandle(-1), _frequencyMultiplier(0.0), + _frequencyAdjust(1.875), _repeated(false), _channelMode(10), + _positioningMode(POSMODE_NONE), _azimuth(0.0), _range(0.5), _elevation(0), + _posX(0.0), _posY(0.0), _posZ(0.0), _hasVelocity(false), _velocityX(0), + _velocityY(0), _velocityZ(0), _disposeAfterUse(DisposeAfterUse::NO), + _endTalkerFn(nullptr), _talker(nullptr), _soundDuration(0) { +} + } // End of namespace Titanic |