scummvm/engines/hdb/sound.cpp

108 lines
2.5 KiB
C++
Raw Normal View History

2019-07-03 02:51:07 +00: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.
*
*/
#include "hdb/hdb.h"
namespace HDB {
bool Sound::init() {
2019-07-03 13:23:05 +00:00
warning("STUB: Sound::init()");
2019-07-03 02:51:07 +00:00
return true;
}
void Sound::save(Common::OutSaveFile *out) {
warning("STUB: Sound::save()");
}
void Sound::loadSaveFile(Common::InSaveFile *in) {
warning("STUB: Sound::loadSaveFile()");
}
2019-07-09 07:49:28 +00:00
void Sound::clearPersistent() {
warning("STUB: Sound::clearPersistent()");
}
2019-07-03 02:51:07 +00:00
bool Sound::playSound(int index) {
2019-07-03 17:39:58 +00:00
debug(9, "STUB: Play Sound");
2019-07-03 02:51:07 +00:00
return true;
}
2019-07-04 17:57:32 +00:00
bool Sound::playSoundEx(int index, int channel, bool loop) {
debug(9, "STUB: Play SoundEx");
return true;
}
2019-07-03 02:51:07 +00:00
bool Sound::playVoice(int index, int actor) {
warning("STUB: Play Voice");
return true;
}
bool Sound::startMusic(SoundType song) {
warning("STUB: Start Music");
return true;
}
2019-07-13 18:40:53 +00:00
bool Sound::fadeInMusic(SoundType song, int ramp) {
warning("STUB: Fade In Music");
return true;
}
void Sound::fadeOutMusic(int ramp) {
warning("STUB: Fade Out Music");
return;
}
bool Sound::songPlaying(SoundType song) {
warning("STUB: Check if Song is playing");
return true;
}
2019-07-05 18:05:27 +00:00
bool Sound::stopChannel(int channel) {
debug(9, "STUB: Stop Channel");
return true;
}
void Sound::stopMusic() {
debug(9, "STUB: Stop Music");
}
2019-07-13 18:40:53 +00:00
int Sound::registerSound(const char *name) {
debug(9, "STUB: Register Sound");
return 0;
}
2019-07-11 20:50:21 +00:00
bool Sound::freeSound(int index) {
debug(9, "STUB: Free Sound");
return true;
}
SoundType Sound::whatSongIsPlaying() {
debug(9, "STUB: whatSongIsPlaying");
return SONG_NONE;
}
2019-07-03 15:01:00 +00:00
void Sound::markSoundCacheFreeable() {
warning("STUB: Sound::markSoundCacheFreeable() ");
}
2019-07-03 02:51:07 +00:00
} // End of Namespace