aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-11-14 03:15:20 +0000
committerFilippos Karapetis2009-11-14 03:15:20 +0000
commite2985a41735f16ce17944b4d9c32004faac294d2 (patch)
tree9ea9c90ab83744fcaccdc22dc9048cc8304b890a /engines
parent75c696fdc67624ed0083b8cc41c039c7c828c97e (diff)
downloadscummvm-rg350-e2985a41735f16ce17944b4d9c32004faac294d2.tar.gz
scummvm-rg350-e2985a41735f16ce17944b4d9c32004faac294d2.tar.bz2
scummvm-rg350-e2985a41735f16ce17944b4d9c32004faac294d2.zip
Removed sfx/misc.h
svn-id: r45885
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/ksound.cpp1
-rw-r--r--engines/sci/engine/vm.cpp1
-rw-r--r--engines/sci/sfx/core.cpp1
-rw-r--r--engines/sci/sfx/iterator.h10
-rw-r--r--engines/sci/sfx/misc.h48
5 files changed, 9 insertions, 52 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp
index 31aeb981d0..b471460896 100644
--- a/engines/sci/engine/ksound.cpp
+++ b/engines/sci/engine/ksound.cpp
@@ -26,7 +26,6 @@
#include "sci/sci.h"
#include "sci/engine/state.h"
#include "sci/sfx/iterator.h"
-#include "sci/sfx/misc.h"
#include "sci/sfx/soundcmd.h"
#include "sci/engine/kernel.h"
#include "sci/engine/vm.h" // for Object
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp
index e086b8c836..98569d774e 100644
--- a/engines/sci/engine/vm.cpp
+++ b/engines/sci/engine/vm.cpp
@@ -35,7 +35,6 @@
#include "sci/engine/kernel_types.h"
#include "sci/engine/seg_manager.h"
#include "sci/engine/gc.h"
-#include "sci/sfx/misc.h" // for sfx_reset_player
namespace Sci {
diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp
index 3cd6e47ce5..82638a1af5 100644
--- a/engines/sci/sfx/core.cpp
+++ b/engines/sci/sfx/core.cpp
@@ -28,7 +28,6 @@
#include "sci/sci.h"
#include "sci/sfx/core.h"
#include "sci/sfx/iterator.h"
-#include "sci/sfx/misc.h"
#include "sci/sfx/sci_midi.h"
#include "sci/sfx/softseq/pcjr.h"
diff --git a/engines/sci/sfx/iterator.h b/engines/sci/sfx/iterator.h
index b3fb115370..74a6b5ab84 100644
--- a/engines/sci/sfx/iterator.h
+++ b/engines/sci/sfx/iterator.h
@@ -306,7 +306,15 @@ int songit_handle_message(SongIterator **it_reg, SongIterator::Message msg);
*/
SongIterator *new_fast_forward_iterator(SongIterator *it, int delta);
-
+/* Combines two song iterators into one
+** Parameters: (sfx_iterator_t *) it1: One of the two iterators, or NULL
+** (sfx_iterator_t *) it2: The other iterator, or NULL
+** Returns : (sfx_iterator_t *) A combined iterator
+** If a combined iterator is returned, it will be flagged to be allowed to
+** dispose of 'it1' and 'it2', where applicable. This means that this
+** call should be used by song players, but not by the core sound system
+*/
+SongIterator *sfx_iterator_combine(SongIterator *it1, SongIterator *it2);
} // End of namespace Sci
diff --git a/engines/sci/sfx/misc.h b/engines/sci/sfx/misc.h
deleted file mode 100644
index ce2673a737..0000000000
--- a/engines/sci/sfx/misc.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/* 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.
- *
- * $URL$
- * $Id$
- *
- */
-
-#ifndef SCI_SFX_MISC_H
-#define SCI_SFX_MISC_H
-
-namespace Sci {
-
-class SongIterator;
-
-
-
-SongIterator *sfx_iterator_combine(SongIterator *it1, SongIterator *it2);
-/* Combines two song iterators into one
-** Parameters: (sfx_iterator_t *) it1: One of the two iterators, or NULL
-** (sfx_iterator_t *) it2: The other iterator, or NULL
-** Returns : (sfx_iterator_t *) A combined iterator
-** If a combined iterator is returned, it will be flagged to be allowed to
-** dispose of 'it1' and 'it2', where applicable. This means that this
-** call should be used by song players, but not by the core sound system
-*/
-
-
-} // End of namespace Sci
-
-#endif // SCI_SFX_MISC_H