From 5d874c540e4f52ff5b32f8679b98ea57d7c1611c Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Wed, 3 Jul 2019 08:21:07 +0530 Subject: HDB: Add and init Sound subsystem --- engines/hdb/sound.cpp | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 engines/hdb/sound.cpp (limited to 'engines/hdb/sound.cpp') diff --git a/engines/hdb/sound.cpp b/engines/hdb/sound.cpp new file mode 100644 index 0000000000..12f64ad2c1 --- /dev/null +++ b/engines/hdb/sound.cpp @@ -0,0 +1,41 @@ +/* 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() { + return true; +} + +bool Sound::playSound(int index) { + warning("STUB: Play Sound"); + return true; +} + +bool Sound::playVoice(int index, int actor) { + warning("STUB: Play Voice"); + return true; +} + +} // End of Namespace -- cgit v1.2.3