diff options
author | Filippos Karapetis | 2010-06-27 21:29:35 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-27 21:29:35 +0000 |
commit | 1faebccce25ac422f65ab9616b9a7ecb647894a8 (patch) | |
tree | 01bfa9f14fe235931aae12b34d9009acb8e5b8eb /engines/sci/sound/iterator/core.cpp | |
parent | 4a60ff409050e8f3da6065f2a44d78d31c4f34b9 (diff) | |
download | scummvm-rg350-1faebccce25ac422f65ab9616b9a7ecb647894a8.tar.gz scummvm-rg350-1faebccce25ac422f65ab9616b9a7ecb647894a8.tar.bz2 scummvm-rg350-1faebccce25ac422f65ab9616b9a7ecb647894a8.zip |
Cleanup, remove unused/obsolete code
svn-id: r50403
Diffstat (limited to 'engines/sci/sound/iterator/core.cpp')
-rw-r--r-- | engines/sci/sound/iterator/core.cpp | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/engines/sci/sound/iterator/core.cpp b/engines/sci/sound/iterator/core.cpp index e2e62c83b7..9ecd00f54c 100644 --- a/engines/sci/sound/iterator/core.cpp +++ b/engines/sci/sound/iterator/core.cpp @@ -384,50 +384,6 @@ void SfxState::thawTime() { } } -#if 0 -// Unreferenced - removed -static void _dump_playing_list(SfxState *self, char *msg) { - Song *song = self->_song; - - fprintf(stderr, "[] Song list : [ "); - song = *(self->_songlib.lib); - while (song) { - fprintf(stderr, "%08lx:%d ", song->handle, song->_status); - song = song->_nextPlaying; - } - fprintf(stderr, "]\n"); - - fprintf(stderr, "[] Play list (%s) : [ " , msg); - - while (song) { - fprintf(stderr, "%08lx ", song->handle); - song = song->_nextPlaying; - } - - fprintf(stderr, "]\n"); -} -#endif - -#if 0 -static void _dump_songs(SfxState *self) { - Song *song = self->_song; - - fprintf(stderr, "Cue iterators:\n"); - song = *(self->_songlib.lib); - while (song) { - fprintf(stderr, " **\tHandle %08x (p%d): status %d\n", - song->handle, song->_priority, song->_status); - SIMSG_SEND(song->_it, SIMSG_PRINT(1)); - song = song->_next; - } - - if (self->_player) { - fprintf(stderr, "Audio iterator:\n"); - self->_player->iterator_message(SongIterator::Message(0, SIMSG_PRINT(1))); - } -} -#endif - bool SfxState::isPlaying(Song *song) { Song *playing_song = _song; |