diff options
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/dialogs.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/he/animation_he.cpp | 7 | ||||
-rw-r--r-- | engines/scumm/he/animation_he.h | 4 | ||||
-rw-r--r-- | engines/scumm/he/sound_he.cpp | 6 | ||||
-rw-r--r-- | engines/scumm/imuse_digi/dimuse.h | 6 | ||||
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_sndmgr.cpp | 4 | ||||
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_sndmgr.h | 11 | ||||
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_track.h | 5 | ||||
-rw-r--r-- | engines/scumm/midiparser_ro.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/players/player_ad.h | 3 | ||||
-rw-r--r-- | engines/scumm/players/player_apple2.h | 2 | ||||
-rw-r--r-- | engines/scumm/players/player_v2cms.cpp | 1 | ||||
-rw-r--r-- | engines/scumm/players/player_v3m.h | 4 | ||||
-rw-r--r-- | engines/scumm/players/player_v5m.h | 4 | ||||
-rw-r--r-- | engines/scumm/saveload.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/smush/smush_mixer.cpp | 5 | ||||
-rw-r--r-- | engines/scumm/smush/smush_mixer.h | 4 | ||||
-rw-r--r-- | engines/scumm/smush/smush_player.cpp | 6 | ||||
-rw-r--r-- | engines/scumm/smush/smush_player.h | 4 | ||||
-rw-r--r-- | engines/scumm/sound.cpp | 5 | ||||
-rw-r--r-- | engines/scumm/sound.h | 8 |
21 files changed, 47 insertions, 48 deletions
diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp index 178c6b7dea..8a6b545bf2 100644 --- a/engines/scumm/dialogs.cpp +++ b/engines/scumm/dialogs.cpp @@ -43,8 +43,6 @@ #include "scumm/imuse/imuse.h" #include "scumm/imuse_digi/dimuse.h" #include "scumm/verbs.h" -#include "audio/mididrv.h" -#include "audio/mixer.h" #ifndef DISABLE_HELP #include "scumm/help.h" diff --git a/engines/scumm/he/animation_he.cpp b/engines/scumm/he/animation_he.cpp index 8483a8a402..0a3a56ceda 100644 --- a/engines/scumm/he/animation_he.cpp +++ b/engines/scumm/he/animation_he.cpp @@ -22,16 +22,21 @@ #ifdef ENABLE_HE +#include "common/scummsys.h" + #include "scumm/he/animation_he.h" #include "scumm/he/intern_he.h" -#include "audio/audiostream.h" #include "video/smk_decoder.h" #ifdef USE_BINK #include "video/bink_decoder.h" #endif +namespace Audio { +class Mixer; +} + namespace Scumm { MoviePlayer::MoviePlayer(ScummEngine_v90he *vm, Audio::Mixer *mixer) : _vm(vm) { diff --git a/engines/scumm/he/animation_he.h b/engines/scumm/he/animation_he.h index 677a4b4247..6891ed8bf0 100644 --- a/engines/scumm/he/animation_he.h +++ b/engines/scumm/he/animation_he.h @@ -23,7 +23,9 @@ #if !defined(SCUMM_HE_ANIMATION_H) && defined(ENABLE_HE) #define SCUMM_HE_ANIMATION_H -#include "audio/mixer.h" +namespace Audio { +class Mixer; +} namespace Common { class String; diff --git a/engines/scumm/he/sound_he.cpp b/engines/scumm/he/sound_he.cpp index b806a9f3cc..9a456b86c0 100644 --- a/engines/scumm/he/sound_he.cpp +++ b/engines/scumm/he/sound_he.cpp @@ -34,14 +34,10 @@ #include "common/timer.h" #include "common/util.h" +#include "audio/audiostream.h" #include "audio/decoders/adpcm.h" -#include "audio/decoders/flac.h" -#include "audio/mididrv.h" #include "audio/mixer.h" -#include "audio/decoders/mp3.h" #include "audio/decoders/raw.h" -#include "audio/decoders/voc.h" -#include "audio/decoders/vorbis.h" #include "audio/decoders/wave.h" namespace Scumm { diff --git a/engines/scumm/imuse_digi/dimuse.h b/engines/scumm/imuse_digi/dimuse.h index f04c2f7826..11b1ea678b 100644 --- a/engines/scumm/imuse_digi/dimuse.h +++ b/engines/scumm/imuse_digi/dimuse.h @@ -34,8 +34,10 @@ #include "scumm/music.h" #include "scumm/sound.h" -#include "audio/mixer.h" -#include "audio/audiostream.h" +namespace Audio { +class AudioStream; +class Mixer; +} namespace Scumm { diff --git a/engines/scumm/imuse_digi/dimuse_sndmgr.cpp b/engines/scumm/imuse_digi/dimuse_sndmgr.cpp index 78d05c2051..b2ff3aadbb 100644 --- a/engines/scumm/imuse_digi/dimuse_sndmgr.cpp +++ b/engines/scumm/imuse_digi/dimuse_sndmgr.cpp @@ -22,8 +22,8 @@ #include "common/scummsys.h" -#include "common/util.h" +#include "audio/audiostream.h" #include "audio/decoders/flac.h" #include "audio/decoders/voc.h" #include "audio/decoders/vorbis.h" @@ -31,8 +31,6 @@ #include "scumm/resource.h" #include "scumm/scumm.h" -#include "scumm/util.h" -#include "scumm/imuse_digi/dimuse.h" #include "scumm/imuse_digi/dimuse_bndmgr.h" #include "scumm/imuse_digi/dimuse_codecs.h" #include "scumm/imuse_digi/dimuse_sndmgr.h" diff --git a/engines/scumm/imuse_digi/dimuse_sndmgr.h b/engines/scumm/imuse_digi/dimuse_sndmgr.h index aebf4d7f11..2f91405588 100644 --- a/engines/scumm/imuse_digi/dimuse_sndmgr.h +++ b/engines/scumm/imuse_digi/dimuse_sndmgr.h @@ -25,13 +25,20 @@ #include "common/scummsys.h" -#include "audio/audiostream.h" -#include "scumm/imuse_digi/dimuse_bndmgr.h" + +namespace Audio { +class SeekableAudioStream; +} + +namespace Common { +class SeekableReadStream; +} namespace Scumm { class ScummEngine; class BundleMgr; +class BundleDirCache; class ImuseDigiSndMgr { public: diff --git a/engines/scumm/imuse_digi/dimuse_track.h b/engines/scumm/imuse_digi/dimuse_track.h index 7e360268e5..a007903139 100644 --- a/engines/scumm/imuse_digi/dimuse_track.h +++ b/engines/scumm/imuse_digi/dimuse_track.h @@ -24,6 +24,11 @@ #define SCUMM_IMUSE_DIGI_TRACK_H #include "common/scummsys.h" +#include "audio/mixer.h" + +namespace Audio { +class QueuingAudioStream; +} namespace Scumm { diff --git a/engines/scumm/midiparser_ro.cpp b/engines/scumm/midiparser_ro.cpp index 35eb9f7eb7..5fc1ae41ab 100644 --- a/engines/scumm/midiparser_ro.cpp +++ b/engines/scumm/midiparser_ro.cpp @@ -22,9 +22,7 @@ #include "audio/midiparser.h" -#include "audio/mididrv.h" #include "common/textconsole.h" -#include "common/util.h" namespace Scumm { diff --git a/engines/scumm/players/player_ad.h b/engines/scumm/players/player_ad.h index 9cd1a06261..1e665e82d5 100644 --- a/engines/scumm/players/player_ad.h +++ b/engines/scumm/players/player_ad.h @@ -25,8 +25,6 @@ #include "scumm/music.h" -#include "audio/audiostream.h" - #include "common/mutex.h" namespace OPL { @@ -36,6 +34,7 @@ class OPL; namespace Scumm { class ScummEngine; +class Serializer; /** * Sound output for v3/v4 AdLib data. diff --git a/engines/scumm/players/player_apple2.h b/engines/scumm/players/player_apple2.h index 8efb951f20..2e897d58f4 100644 --- a/engines/scumm/players/player_apple2.h +++ b/engines/scumm/players/player_apple2.h @@ -25,11 +25,9 @@ #include "common/mutex.h" #include "common/scummsys.h" -#include "common/memstream.h" #include "scumm/music.h" #include "audio/audiostream.h" #include "audio/mixer.h" -#include "audio/softsynth/sid.h" namespace Scumm { diff --git a/engines/scumm/players/player_v2cms.cpp b/engines/scumm/players/player_v2cms.cpp index 08321932c3..1a1cd1ed8c 100644 --- a/engines/scumm/players/player_v2cms.cpp +++ b/engines/scumm/players/player_v2cms.cpp @@ -22,7 +22,6 @@ #include "scumm/players/player_v2cms.h" #include "scumm/scumm.h" -#include "audio/mididrv.h" #include "audio/mixer.h" #include "audio/softsynth/cms.h" diff --git a/engines/scumm/players/player_v3m.h b/engines/scumm/players/player_v3m.h index 81dda801fc..645f1fb1c9 100644 --- a/engines/scumm/players/player_v3m.h +++ b/engines/scumm/players/player_v3m.h @@ -28,10 +28,10 @@ #include "common/mutex.h" #include "scumm/music.h" #include "scumm/players/player_mac.h" -#include "audio/audiostream.h" -#include "audio/mixer.h" +namespace Audio { class Mixer; +} namespace Scumm { diff --git a/engines/scumm/players/player_v5m.h b/engines/scumm/players/player_v5m.h index f60a3f9346..152aa1541a 100644 --- a/engines/scumm/players/player_v5m.h +++ b/engines/scumm/players/player_v5m.h @@ -28,10 +28,10 @@ #include "common/mutex.h" #include "scumm/music.h" #include "scumm/players/player_mac.h" -#include "audio/audiostream.h" -#include "audio/mixer.h" +namespace Audio { class Mixer; +} namespace Scumm { diff --git a/engines/scumm/saveload.cpp b/engines/scumm/saveload.cpp index f3df24ff51..40dc83c7f3 100644 --- a/engines/scumm/saveload.cpp +++ b/engines/scumm/saveload.cpp @@ -41,8 +41,6 @@ #include "scumm/he/sprite_he.h" #include "scumm/verbs.h" -#include "audio/mixer.h" - #include "backends/audiocd/audiocd.h" #include "graphics/thumbnail.h" diff --git a/engines/scumm/smush/smush_mixer.cpp b/engines/scumm/smush/smush_mixer.cpp index 42e8f645be..445186d62b 100644 --- a/engines/scumm/smush/smush_mixer.cpp +++ b/engines/scumm/smush/smush_mixer.cpp @@ -21,14 +21,11 @@ */ -#include "common/util.h" - #include "scumm/smush/smush_mixer.h" #include "scumm/smush/channel.h" #include "scumm/scumm.h" -#include "scumm/sound.h" -#include "scumm/imuse/imuse.h" +#include "audio/audiostream.h" #include "audio/mixer.h" #include "audio/decoders/raw.h" diff --git a/engines/scumm/smush/smush_mixer.h b/engines/scumm/smush/smush_mixer.h index 18ec7f96fb..1bd6adac16 100644 --- a/engines/scumm/smush/smush_mixer.h +++ b/engines/scumm/smush/smush_mixer.h @@ -28,6 +28,10 @@ #include "common/mutex.h" #include "scumm/sound.h" +namespace Audio { +class QueuingAudioStream; +} + namespace Scumm { class SmushChannel; diff --git a/engines/scumm/smush/smush_player.cpp b/engines/scumm/smush/smush_player.cpp index 05c7ff2d9a..2ca2579b54 100644 --- a/engines/scumm/smush/smush_player.cpp +++ b/engines/scumm/smush/smush_player.cpp @@ -20,8 +20,6 @@ * */ -#include "engines/engine.h" - #include "common/config-manager.h" #include "common/file.h" #include "common/system.h" @@ -30,14 +28,11 @@ #include "graphics/cursorman.h" #include "graphics/palette.h" -#include "scumm/bomp.h" #include "scumm/file.h" #include "scumm/imuse_digi/dimuse.h" -#include "scumm/imuse/imuse.h" #include "scumm/scumm.h" #include "scumm/scumm_v7.h" #include "scumm/sound.h" -#include "scumm/util.h" #include "scumm/smush/channel.h" #include "scumm/smush/codec37.h" #include "scumm/smush/codec47.h" @@ -47,6 +42,7 @@ #include "scumm/insane/insane.h" +#include "audio/audiostream.h" #include "audio/mixer.h" #include "audio/decoders/mp3.h" #include "audio/decoders/raw.h" diff --git a/engines/scumm/smush/smush_player.h b/engines/scumm/smush/smush_player.h index 81c498a516..b0d6e6a9f0 100644 --- a/engines/scumm/smush/smush_player.h +++ b/engines/scumm/smush/smush_player.h @@ -26,6 +26,10 @@ #include "common/util.h" #include "scumm/sound.h" +namespace Audio { +class QueuingAudioStream; +} + namespace Scumm { class ScummEngine_v7; diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp index 404bdd022c..f66452e99c 100644 --- a/engines/scumm/sound.cpp +++ b/engines/scumm/sound.cpp @@ -35,9 +35,9 @@ #include "scumm/resource.h" #include "scumm/scumm.h" #include "scumm/sound.h" -#include "scumm/util.h" -#include "audio/decoders/adpcm.h" +#include "audio/audiostream.h" +#include "audio/timestamp.h" #include "audio/decoders/flac.h" #include "audio/mididrv.h" #include "audio/mixer.h" @@ -45,7 +45,6 @@ #include "audio/decoders/raw.h" #include "audio/decoders/voc.h" #include "audio/decoders/vorbis.h" -#include "audio/decoders/wave.h" namespace Scumm { diff --git a/engines/scumm/sound.h b/engines/scumm/sound.h index a479ad5731..8c11c7b5b2 100644 --- a/engines/scumm/sound.h +++ b/engines/scumm/sound.h @@ -24,23 +24,17 @@ #define SCUMM_SOUND_H #include "common/scummsys.h" -#include "audio/audiostream.h" +#include "common/str.h" #include "audio/mididrv.h" #include "audio/mixer.h" #include "backends/audiocd/audiocd.h" #include "scumm/saveload.h" -namespace Audio { -class Mixer; -} - namespace Scumm { class ScummEngine; -class BaseScummFile; struct MP3OffsetTable; -struct SaveLoadEntry; enum { kTalkSoundID = 10000 |