Make sure all headers in include can be compiled independently

Also adding some to VS2010 project file (for better project search)
Some empty line removal.


git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@6228 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
cutealien 2021-07-29 18:50:03 +00:00
parent b0876d1e1a
commit 27db3a6a0c
9 changed files with 18 additions and 4 deletions

View File

@ -5,6 +5,8 @@
#ifndef __E_GUI_ALIGNMENT_H_INCLUDED__ #ifndef __E_GUI_ALIGNMENT_H_INCLUDED__
#define __E_GUI_ALIGNMENT_H_INCLUDED__ #define __E_GUI_ALIGNMENT_H_INCLUDED__
#include "irrTypes.h"
namespace irr namespace irr
{ {
namespace gui namespace gui
@ -35,4 +37,3 @@ const c8* const GUIAlignmentNames[] =
} // namespace irr } // namespace irr
#endif // __E_GUI_ALIGNMENT_H_INCLUDED__ #endif // __E_GUI_ALIGNMENT_H_INCLUDED__

View File

@ -7,7 +7,7 @@
#include "IReferenceCounted.h" #include "IReferenceCounted.h"
#include "irrArray.h" #include "irrArray.h"
#include "EHardwareBufferFlags.h"
#include "SVertexIndex.h" #include "SVertexIndex.h"
namespace irr namespace irr

View File

@ -8,12 +8,13 @@
#include "IReferenceCounted.h" #include "IReferenceCounted.h"
#include "irrArray.h" #include "irrArray.h"
#include "ISceneManager.h" // for E_SCENE_NODE_RENDER_PASS, could probably move that to own header?
namespace irr namespace irr
{ {
namespace scene namespace scene
{ {
class ILightSceneNode; class ISceneNode;
//! ILightManager provides an interface for user applications to manipulate the list of lights in the scene. //! ILightManager provides an interface for user applications to manipulate the list of lights in the scene.
/** The light list can be trimmed or re-ordered before device/ hardware /** The light list can be trimmed or re-ordered before device/ hardware

View File

@ -7,6 +7,7 @@
#include "IReferenceCounted.h" #include "IReferenceCounted.h"
#include "irrArray.h" #include "irrArray.h"
#include "EHardwareBufferFlags.h"
#include "S3DVertex.h" #include "S3DVertex.h"
namespace irr namespace irr

View File

@ -6,6 +6,7 @@
#define __S_LIGHT_H_INCLUDED__ #define __S_LIGHT_H_INCLUDED__
#include "SColor.h" #include "SColor.h"
#include "vector3d.h"
namespace irr namespace irr
{ {
@ -98,4 +99,3 @@ struct SLight
} // end namespace irr } // end namespace irr
#endif #endif

View File

@ -5,6 +5,7 @@
#ifndef __S_VERTEX_MANIPULATOR_H_INCLUDED__ #ifndef __S_VERTEX_MANIPULATOR_H_INCLUDED__
#define __S_VERTEX_MANIPULATOR_H_INCLUDED__ #define __S_VERTEX_MANIPULATOR_H_INCLUDED__
#include "matrix4.h"
#include "S3DVertex.h" #include "S3DVertex.h"
#include "SColor.h" #include "SColor.h"

View File

@ -5,6 +5,8 @@
#ifndef __I_SCENE_PARAMETERS_H_INCLUDED__ #ifndef __I_SCENE_PARAMETERS_H_INCLUDED__
#define __I_SCENE_PARAMETERS_H_INCLUDED__ #define __I_SCENE_PARAMETERS_H_INCLUDED__
#include "irrTypes.h"
/*! \file SceneParameters.h /*! \file SceneParameters.h
\brief Header file containing all scene parameters for modifying mesh loading etc. \brief Header file containing all scene parameters for modifying mesh loading etc.

View File

@ -844,6 +844,7 @@
<ClInclude Include="..\..\include\fast_atof.h" /> <ClInclude Include="..\..\include\fast_atof.h" />
<ClInclude Include="..\..\include\IAnimatedMeshMD3.h" /> <ClInclude Include="..\..\include\IAnimatedMeshMD3.h" />
<ClInclude Include="..\..\include\IEventReceiver.h" /> <ClInclude Include="..\..\include\IEventReceiver.h" />
<ClInclude Include="..\..\include\ILightManager.h" />
<ClInclude Include="..\..\include\ILogger.h" /> <ClInclude Include="..\..\include\ILogger.h" />
<ClInclude Include="..\..\include\IOctreeSceneNode.h" /> <ClInclude Include="..\..\include\IOctreeSceneNode.h" />
<ClInclude Include="..\..\include\IOSOperator.h" /> <ClInclude Include="..\..\include\IOSOperator.h" />
@ -896,6 +897,7 @@
<ClInclude Include="..\..\include\rect.h" /> <ClInclude Include="..\..\include\rect.h" />
<ClInclude Include="..\..\include\SOverrideMaterial.h" /> <ClInclude Include="..\..\include\SOverrideMaterial.h" />
<ClInclude Include="..\..\include\SSharedMeshBuffer.h" /> <ClInclude Include="..\..\include\SSharedMeshBuffer.h" />
<ClInclude Include="..\..\include\SVertexManipulator.h" />
<ClInclude Include="..\..\include\triangle3d.h" /> <ClInclude Include="..\..\include\triangle3d.h" />
<ClInclude Include="..\..\include\vector2d.h" /> <ClInclude Include="..\..\include\vector2d.h" />
<ClInclude Include="..\..\include\vector3d.h" /> <ClInclude Include="..\..\include\vector3d.h" />

View File

@ -1369,6 +1369,12 @@
<ClInclude Include="..\..\include\fast_atof.h"> <ClInclude Include="..\..\include\fast_atof.h">
<Filter>include\core</Filter> <Filter>include\core</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\..\include\ILightManager.h">
<Filter>include\scene</Filter>
</ClInclude>
<ClInclude Include="..\..\include\SVertexManipulator.h">
<Filter>include\scene</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="..\..\changes.txt"> <None Include="..\..\changes.txt">