2015-03-15 16:52:55 -04:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
|
|
|
*
|
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-03-15 21:25:07 -04:00
|
|
|
#include "sherlock/sound.h"
|
2015-03-15 16:52:55 -04:00
|
|
|
|
|
|
|
namespace Sherlock {
|
|
|
|
|
2015-03-15 21:25:07 -04:00
|
|
|
Sound::Sound(SherlockEngine *vm): _vm(vm) {
|
2015-03-21 18:18:12 -04:00
|
|
|
_soundOn = true;
|
|
|
|
_musicOn = true;
|
|
|
|
_voicesOn = true;
|
2015-03-16 22:42:19 -04:00
|
|
|
_playingEpilogue = false;
|
2015-03-18 22:32:41 -04:00
|
|
|
_music = false;
|
2015-03-21 18:18:12 -04:00
|
|
|
_digitized = false;
|
2015-03-15 21:25:07 -04:00
|
|
|
}
|
2015-03-15 16:52:55 -04:00
|
|
|
|
2015-03-20 19:44:32 -04:00
|
|
|
void Sound::loadSound(const Common::String &name, int priority) {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2015-03-16 22:42:19 -04:00
|
|
|
void Sound::playSound(const Common::String &name, WaitType waitType) {
|
2015-03-15 21:25:07 -04:00
|
|
|
// TODO
|
|
|
|
}
|
2015-03-15 16:52:55 -04:00
|
|
|
|
2015-03-15 21:25:07 -04:00
|
|
|
void Sound::cacheSound(const Common::String &name, int index) {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2015-03-21 18:18:12 -04:00
|
|
|
void Sound::playLoadedSound(int bufNum, int waitMode) {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2015-03-15 21:25:07 -04:00
|
|
|
void Sound::playCachedSound(int index) {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void Sound::clearCache() {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2015-03-16 22:42:19 -04:00
|
|
|
void Sound::stopSound() {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2015-03-15 21:25:07 -04:00
|
|
|
void Sound::playMusic(const Common::String &name) {
|
|
|
|
// TODO
|
|
|
|
}
|
2015-03-15 16:52:55 -04:00
|
|
|
|
2015-03-15 21:25:07 -04:00
|
|
|
void Sound::stopMusic() {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2015-03-18 22:32:41 -04:00
|
|
|
int Sound::loadSong(int songNumber) {
|
|
|
|
// TODO
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Sound::startSong() {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
void Sound::freeSong() {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2015-03-15 21:25:07 -04:00
|
|
|
|
|
|
|
} // End of namespace Sherlock
|