diff options
author | Max Horn | 2003-10-04 00:52:27 +0000 |
---|---|---|
committer | Max Horn | 2003-10-04 00:52:27 +0000 |
commit | 5a074e6137dc8368132e4e192c018806c1723222 (patch) | |
tree | 222778195b0abbd5698e6decbccfc99ed4f2f894 /sword2/driver/d_sound.cpp | |
parent | 68d923505efb9cb45366b0528f8bf039c1b18902 (diff) | |
download | scummvm-rg350-5a074e6137dc8368132e4e192c018806c1723222.tar.gz scummvm-rg350-5a074e6137dc8368132e4e192c018806c1723222.tar.bz2 scummvm-rg350-5a074e6137dc8368132e4e192c018806c1723222.zip |
added namespace Sword2
svn-id: r10581
Diffstat (limited to 'sword2/driver/d_sound.cpp')
-rw-r--r-- | sword2/driver/d_sound.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp index cd389daad9..3a21975fa5 100644 --- a/sword2/driver/d_sound.cpp +++ b/sword2/driver/d_sound.cpp @@ -33,13 +33,15 @@ // opinions on this? #include "stdafx.h" -#include "driver96.h" -#include "d_sound.h" -#include "../sword2.h" +#include "bs2/driver/driver96.h" +#include "bs2/driver/d_sound.h" +#include "bs2/sword2.h" #include "sound/audiostream.h" #include "sound/mixer.h" #include "sound/rate.h" +namespace Sword2 { + // Fade-out takes half a second. This may need some tuning. #define FADE_SAMPLES 11025 @@ -1150,3 +1152,5 @@ void Sword2Sound::muteMusic(uint8 mute) { uint8 Sword2Sound::isMusicMute(void) { return _musicMuted; } + +} // End of namespace Sword2 |