diff --git a/code/nel/include/nel/3d/dyn_mat_loader.h b/code/nel/include/nel/3d/dyn_mat_loader.h
index 79f7da411..1de84d59a 100644
--- a/code/nel/include/nel/3d/dyn_mat_loader.h
+++ b/code/nel/include/nel/3d/dyn_mat_loader.h
@@ -1,45 +1,45 @@
-// NeL - MMORPG Framework
-// Copyright (C) 2010 Winch Gate Property Limited
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-
-#ifndef DYN_MAT_LOADER_H
-#define DYN_MAT_LOADER_H
-
-#include
-
-namespace NL3D
-{
- class CDynMaterial;
-
- class CDynMatLoader
- {
- public:
- CDynMatLoader();
- ~CDynMatLoader();
-
- bool loadFrom( const std::string &fileName );
-
- CDynMaterial* getDynMat() const{ return mat; }
-
- private:
- CDynMaterial *mat;
-
- };
-}
-
-#endif
-
-
+// NeL - MMORPG Framework
+// Copyright (C) 2010 Winch Gate Property Limited
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+
+
+#ifndef DYN_MAT_LOADER_H
+#define DYN_MAT_LOADER_H
+
+#include
+
+namespace NL3D
+{
+ class CDynMaterial;
+
+ class CDynMatLoader
+ {
+ public:
+ CDynMatLoader();
+ ~CDynMatLoader();
+
+ bool loadFrom( const std::string &fileName );
+
+ CDynMaterial* getDynMat() const{ return mat; }
+
+ private:
+ CDynMaterial *mat;
+
+ };
+}
+
+#endif
+
+
diff --git a/code/nel/include/nel/3d/dynamic_material.h b/code/nel/include/nel/3d/dynamic_material.h
index dbad244e0..cf0fb671b 100644
--- a/code/nel/include/nel/3d/dynamic_material.h
+++ b/code/nel/include/nel/3d/dynamic_material.h
@@ -1,121 +1,121 @@
-// NeL - MMORPG Framework
-// Copyright (C) 2010 Winch Gate Property Limited
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-
-#ifndef DYN_MATERIAL_H
-#define DYN_MATERIAL_H
-
-#include "nel/misc/stream.h"
-#include "nel/misc/variant.h"
-#include
-#include
-
-namespace NL3D
-{
- /// Rendering property
- struct SDynMaterialProp
- {
- enum EPropertyType
- {
- Color,
- Vector4,
- Float,
- Double,
- Int,
- Uint,
- Matrix4,
- Texture
- };
-
- /// Id of the property
- std::string prop;
-
- /// Label of the property ( user-friendly name )
- std::string label;
-
- /// type of the property ( see EPropertyType )
- uint8 type;
-
- NLMISC::CVariant value;
-
- void serial( NLMISC::IStream &f );
- };
-
-
- /// Rendering pass data, contains the rendering properties for the pass
- struct SRenderPass
- {
- public:
- void addProperty( const SDynMaterialProp &prop );
- void removeProperty( const std::string &name );
- bool changeProperty( const std::string &name, const SDynMaterialProp &prop );
- void setName( const std::string &n ){ name = n; }
- void getName( std::string &n ) const { n = name; }
- void getShaderRef( std::string &s ) const{ s = shaderRef; }
- void setShaderRef( const std::string &s ){ shaderRef = s; }
- void serial( NLMISC::IStream &f );
-
- /// Returns the number of properties this pass has
- uint32 count(){ return properties.size(); }
-
- /// Clears all properties
- void clear(){ properties.clear(); }
-
- const SDynMaterialProp* getProperty( uint32 i ) const;
-
- private:
- std::vector< SDynMaterialProp > properties;
- std::string shaderRef;
- std::string name;
- };
-
-
-
- /// Multi-pass material for rendering using user shaders
- class CDynMaterial : public NLMISC::IStreamable
- {
- public:
- CDynMaterial();
- ~CDynMaterial();
- CDynMaterial& operator=( const CDynMaterial &other );
-
- /// Clears all passes, and then adds a new pass
- void reconstruct();
-
- /// Clears all passes
- void clear();
- void serial( NLMISC::IStream &f );
- std::string getClassName(){ return "CDynMaterial"; }
-
- void addPass( const SRenderPass &pass );
- void removePass( const std::string &name );
- void renamePass( const std::string &from, const std::string &to );
- void movePassUp( const std::string &name );
- void movePassDown( const std::string &name );
-
- SRenderPass* getPass( const std::string &name );
- SRenderPass* getPass( uint32 i );
- uint32 getPassCount(){ return passes.size(); }
- void getPassList( std::vector< std::string > &l );
-
- private:
- std::vector< SRenderPass* > passes;
- };
-}
-
-#endif
-
-
+// NeL - MMORPG Framework
+// Copyright (C) 2010 Winch Gate Property Limited
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+
+
+#ifndef DYN_MATERIAL_H
+#define DYN_MATERIAL_H
+
+#include "nel/misc/stream.h"
+#include "nel/misc/variant.h"
+#include
+#include
+
+namespace NL3D
+{
+ /// Rendering property
+ struct SDynMaterialProp
+ {
+ enum EPropertyType
+ {
+ Color,
+ Vector4,
+ Float,
+ Double,
+ Int,
+ Uint,
+ Matrix4,
+ Texture
+ };
+
+ /// Id of the property
+ std::string prop;
+
+ /// Label of the property ( user-friendly name )
+ std::string label;
+
+ /// type of the property ( see EPropertyType )
+ uint8 type;
+
+ NLMISC::CVariant value;
+
+ void serial( NLMISC::IStream &f );
+ };
+
+
+ /// Rendering pass data, contains the rendering properties for the pass
+ struct SRenderPass
+ {
+ public:
+ void addProperty( const SDynMaterialProp &prop );
+ void removeProperty( const std::string &name );
+ bool changeProperty( const std::string &name, const SDynMaterialProp &prop );
+ void setName( const std::string &n ){ name = n; }
+ void getName( std::string &n ) const { n = name; }
+ void getShaderRef( std::string &s ) const{ s = shaderRef; }
+ void setShaderRef( const std::string &s ){ shaderRef = s; }
+ void serial( NLMISC::IStream &f );
+
+ /// Returns the number of properties this pass has
+ uint32 count(){ return properties.size(); }
+
+ /// Clears all properties
+ void clear(){ properties.clear(); }
+
+ const SDynMaterialProp* getProperty( uint32 i ) const;
+
+ private:
+ std::vector< SDynMaterialProp > properties;
+ std::string shaderRef;
+ std::string name;
+ };
+
+
+
+ /// Multi-pass material for rendering using user shaders
+ class CDynMaterial : public NLMISC::IStreamable
+ {
+ public:
+ CDynMaterial();
+ ~CDynMaterial();
+ CDynMaterial& operator=( const CDynMaterial &other );
+
+ /// Clears all passes, and then adds a new pass
+ void reconstruct();
+
+ /// Clears all passes
+ void clear();
+ void serial( NLMISC::IStream &f );
+ std::string getClassName(){ return "CDynMaterial"; }
+
+ void addPass( const SRenderPass &pass );
+ void removePass( const std::string &name );
+ void renamePass( const std::string &from, const std::string &to );
+ void movePassUp( const std::string &name );
+ void movePassDown( const std::string &name );
+
+ SRenderPass* getPass( const std::string &name );
+ SRenderPass* getPass( uint32 i );
+ uint32 getPassCount(){ return passes.size(); }
+ void getPassList( std::vector< std::string > &l );
+
+ private:
+ std::vector< SRenderPass* > passes;
+ };
+}
+
+#endif
+
+
diff --git a/code/nel/include/nel/3d/shape_material_serializer.h b/code/nel/include/nel/3d/shape_material_serializer.h
index cb42b5d6e..b505bbbc6 100644
--- a/code/nel/include/nel/3d/shape_material_serializer.h
+++ b/code/nel/include/nel/3d/shape_material_serializer.h
@@ -1,37 +1,37 @@
-// NeL - MMORPG Framework
-// Copyright (C) 2010 Winch Gate Property Limited
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-#ifndef SHAPE_MAT_SERIALIZER_H
-#define SHAPE_MAT_SERIALIZER_H
-
-namespace NL3D
-{
- class IShape;
-
- class ShapeMatSerial
- {
- public:
- ShapeMatSerial();
- ~ShapeMatSerial();
- void setShape( IShape *s ){ shape = s; }
- void serial( const char *sPath );
-
- private:
- IShape *shape;
- };
-}
-
-#endif
+// NeL - MMORPG Framework
+// Copyright (C) 2010 Winch Gate Property Limited
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+
+#ifndef SHAPE_MAT_SERIALIZER_H
+#define SHAPE_MAT_SERIALIZER_H
+
+namespace NL3D
+{
+ class IShape;
+
+ class ShapeMatSerial
+ {
+ public:
+ ShapeMatSerial();
+ ~ShapeMatSerial();
+ void setShape( IShape *s ){ shape = s; }
+ void serial( const char *sPath );
+
+ private:
+ IShape *shape;
+ };
+}
+
+#endif
diff --git a/code/nel/include/nel/3d/usr_shader_loader.h b/code/nel/include/nel/3d/usr_shader_loader.h
index 7066d4246..d4d5a9c78 100644
--- a/code/nel/include/nel/3d/usr_shader_loader.h
+++ b/code/nel/include/nel/3d/usr_shader_loader.h
@@ -1,44 +1,44 @@
-// NeL - MMORPG Framework
-// Copyright (C) 2010 Winch Gate Property Limited
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-
-#ifndef SHADER_LOADER_H
-#define SHADER_LOADER_H
-
-#include
-
-namespace NL3D
-{
- class CUsrShaderManager;
-
- class CUsrShaderLoader
- {
- public:
- CUsrShaderLoader();
- ~CUsrShaderLoader();
- void setManager( CUsrShaderManager *mgr ){ manager = mgr; }
- void loadShaders( const std::string &directory );
-
- private:
- void loadShader( const std::string &file );
-
- CUsrShaderManager *manager;
- };
-}
-
-
-#endif
-
+// NeL - MMORPG Framework
+// Copyright (C) 2010 Winch Gate Property Limited
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see .
+
+
+#ifndef SHADER_LOADER_H
+#define SHADER_LOADER_H
+
+#include
+
+namespace NL3D
+{
+ class CUsrShaderManager;
+
+ class CUsrShaderLoader
+ {
+ public:
+ CUsrShaderLoader();
+ ~CUsrShaderLoader();
+ void setManager( CUsrShaderManager *mgr ){ manager = mgr; }
+ void loadShaders( const std::string &directory );
+
+ private:
+ void loadShader( const std::string &file );
+
+ CUsrShaderManager *manager;
+ };
+}
+
+
+#endif
+
diff --git a/code/nel/include/nel/3d/usr_shader_manager.h b/code/nel/include/nel/3d/usr_shader_manager.h
index 48be96abc..0afe4ce27 100644
--- a/code/nel/include/nel/3d/usr_shader_manager.h
+++ b/code/nel/include/nel/3d/usr_shader_manager.h
@@ -1,65 +1,65 @@
-// NeL - MMORPG Framework
-// Copyright (C) 2010 Winch Gate Property Limited
-//
-// This program is free software: you can redistribute it and/or modify
-// it under the terms of the GNU Affero General Public License as
-// published by the Free Software Foundation, either version 3 of the
-// License, or (at your option) any later version.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU Affero General Public License for more details.
-//
-// You should have received a copy of the GNU Affero General Public License
-// along with this program. If not, see .
-
-
-#ifndef USR_SHADER_MANAGER_H
-#define USR_SHADER_MANAGER_H
-
-#include