From 5045b0ea8af7a1d7418c04a6e3057d2812c8ef46 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 27 Jul 2010 17:33:58 +0200 Subject: [PATCH] Changed: #878 Fix typos in comments/code --- code/nel/include/nel/sound/driver/buffer.h | 6 ++++-- code/nel/include/nel/sound/driver/effect.h | 10 ++++------ code/nel/include/nel/sound/driver/listener.h | 3 ++- code/nel/include/nel/sound/driver/music_channel.h | 10 +++------- code/nel/include/nel/sound/driver/source.h | 5 +++-- 5 files changed, 16 insertions(+), 18 deletions(-) diff --git a/code/nel/include/nel/sound/driver/buffer.h b/code/nel/include/nel/sound/driver/buffer.h index f82eea5a6..5d488f1c7 100644 --- a/code/nel/include/nel/sound/driver/buffer.h +++ b/code/nel/include/nel/sound/driver/buffer.h @@ -21,11 +21,13 @@ #include "nel/misc/string_mapper.h" #include "sound_driver.h" -namespace NLMISC { +namespace NLMISC +{ class IStream; } -namespace NLSOUND { +namespace NLSOUND +{ /** * Sound buffer interface (implemented in sound driver dynamic library) diff --git a/code/nel/include/nel/sound/driver/effect.h b/code/nel/include/nel/sound/driver/effect.h index 2d9083f0f..34c674bf0 100644 --- a/code/nel/include/nel/sound/driver/effect.h +++ b/code/nel/include/nel/sound/driver/effect.h @@ -16,16 +16,14 @@ #ifndef NLSOUND_EFFECT_H #define NLSOUND_EFFECT_H -#include + +#include "nel/misc/types_nl.h" // STL includes #include -// NeL includes - -// Project includes - -namespace NLSOUND { +namespace NLSOUND +{ //// in dB --- //#define NLSOUND_MATERIAL_PRESET_SINGLEWINDOW -28.00f, 0.71f diff --git a/code/nel/include/nel/sound/driver/listener.h b/code/nel/include/nel/sound/driver/listener.h index 06c13a94d..c4b9b2763 100644 --- a/code/nel/include/nel/sound/driver/listener.h +++ b/code/nel/include/nel/sound/driver/listener.h @@ -20,7 +20,8 @@ #include "nel/misc/types_nl.h" #include "nel/misc/vector.h" -namespace NLSOUND { +namespace NLSOUND +{ /// Default environmental effect #define ENVFX_DEFAULT_NUM 2 diff --git a/code/nel/include/nel/sound/driver/music_channel.h b/code/nel/include/nel/sound/driver/music_channel.h index 6f0b58a5c..9878744c5 100644 --- a/code/nel/include/nel/sound/driver/music_channel.h +++ b/code/nel/include/nel/sound/driver/music_channel.h @@ -16,15 +16,11 @@ #ifndef NLSOUND_MUSIC_CHANNEL_H #define NLSOUND_MUSIC_CHANNEL_H -#include -// STL includes +#include "nel/misc/types_nl.h" -// NeL includes - -// Project includes - -namespace NLSOUND { +namespace NLSOUND +{ /** * \brief IMusicChannel diff --git a/code/nel/include/nel/sound/driver/source.h b/code/nel/include/nel/sound/driver/source.h index 7c56c03e1..1858e6f24 100644 --- a/code/nel/include/nel/sound/driver/source.h +++ b/code/nel/include/nel/sound/driver/source.h @@ -27,9 +27,10 @@ #ifndef NL_SOURCE_H #define NL_SOURCE_H -#include -#include +#include "nel/misc/types_nl.h" +#include "nel/misc/vector.h" + #include "sound_driver.h" /**