From 5a074e6137dc8368132e4e192c018806c1723222 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 4 Oct 2003 00:52:27 +0000 Subject: added namespace Sword2 svn-id: r10581 --- sword2/driver/d_sound.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sword2/driver/d_sound.cpp') 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 -- cgit v1.2.3