mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 14:14:33 +00:00
Compilation changes
Few compile time attempts to speed things up Swap include guards for pramga once Change compile options in the cmakeLists for source generate a pch small tweaks
This commit is contained in:
parent
0df3bea9ca
commit
68e762130d
1016 changed files with 2848 additions and 5532 deletions
|
|
@ -19,29 +19,17 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _ADVANCEDLIGHTBINMANAGER_H_
|
||||
#define _ADVANCEDLIGHTBINMANAGER_H_
|
||||
|
||||
#ifndef _TEXTARGETBIN_MGR_H_
|
||||
#include "renderInstance/renderTexTargetBinManager.h"
|
||||
#endif
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
#ifndef _LIGHTINFO_H_
|
||||
#include "lighting/lightInfo.h"
|
||||
#endif
|
||||
#ifndef _MATHUTIL_FRUSTUM_H_
|
||||
#include "math/util/frustum.h"
|
||||
#endif
|
||||
#ifndef _MATINSTANCE_H_
|
||||
#include "materials/matInstance.h"
|
||||
#endif
|
||||
#ifndef _SHADOW_COMMON_H_
|
||||
#include "lighting/shadowMap/shadowCommon.h"
|
||||
#endif
|
||||
|
||||
#include "core/util/tVector.h"
|
||||
|
||||
#include "lighting/lightInfo.h"
|
||||
#include "math/util/frustum.h"
|
||||
|
||||
#include "materials/matInstance.h"
|
||||
#include "lighting/shadowMap/shadowCommon.h"
|
||||
|
||||
class AdvancedLightManager;
|
||||
class ShadowMapManager;
|
||||
|
|
@ -257,5 +245,3 @@ protected:
|
|||
|
||||
static S32 QSORT_CALLBACK _lightScoreCmp(const LightBinEntry* a, const LightBinEntry* b);
|
||||
};
|
||||
|
||||
#endif // _ADVANCEDLIGHTBINMANAGER_H_
|
||||
|
|
|
|||
|
|
@ -19,13 +19,9 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#ifndef _ADVANCED_LIGHTBUFFER_CONDITIONER_H_
|
||||
#define _ADVANCED_LIGHTBUFFER_CONDITIONER_H_
|
||||
|
||||
#ifndef _CONDITIONER_BASE_H_
|
||||
|
||||
#pragma once
|
||||
#include "shaderGen/conditionerFeature.h"
|
||||
#endif
|
||||
|
||||
|
||||
class AdvancedLightBufferConditioner : public ConditionerFeature
|
||||
{
|
||||
|
|
@ -61,5 +57,3 @@ protected:
|
|||
Var *printMethodHeader( MethodType methodType, const String &methodName, Stream &stream, MultiLine *meta ) override;
|
||||
void printMethodFooter( MethodType methodType, Var *retVar, Stream &stream, MultiLine *meta ) override;
|
||||
};
|
||||
|
||||
#endif // _ADVANCED_LIGHTBUFFER_CONDITIONER_H_
|
||||
|
|
@ -19,38 +19,25 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _ADVANCEDLIGHTMANAGER_H_
|
||||
#define _ADVANCEDLIGHTMANAGER_H_
|
||||
|
||||
#ifndef _SIMOBJECT_H_
|
||||
#include "console/simObject.h"
|
||||
#endif
|
||||
#ifndef _LIGHTMANAGER_H_
|
||||
#include "lighting/lightManager.h"
|
||||
#endif
|
||||
#ifndef _LIGHTINFO_H_
|
||||
#include "lighting/lightInfo.h"
|
||||
#endif
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
#endif
|
||||
#ifndef _GFXTARGET_H_
|
||||
#include "gfx/gfxTarget.h"
|
||||
#endif
|
||||
#ifndef _TDICTIONARY_H_
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
#ifndef _LIGHTSHADOWMAP_H_
|
||||
#include "lighting/shadowMap/lightShadowMap.h"
|
||||
#endif
|
||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
||||
#include "gfx/gfxPrimitiveBuffer.h"
|
||||
#endif
|
||||
#ifndef _GFXVERTEXBUFFER_H_
|
||||
#include "gfx/gfxVertexBuffer.h"
|
||||
#endif
|
||||
|
||||
#include "lighting/lightManager.h"
|
||||
|
||||
#include "lighting/lightInfo.h"
|
||||
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
|
||||
#include "gfx/gfxTarget.h"
|
||||
|
||||
#include "core/util/tDictionary.h"
|
||||
|
||||
#include "lighting/shadowMap/lightShadowMap.h"
|
||||
|
||||
#include "gfx/gfxPrimitiveBuffer.h"
|
||||
|
||||
#include "gfx/gfxVertexBuffer.h"
|
||||
|
||||
class AvailableSLInterfaces;
|
||||
class AdvancedLightBinManager;
|
||||
|
|
@ -151,4 +138,3 @@ protected:
|
|||
#endif
|
||||
};
|
||||
|
||||
#endif // _ADVANCEDLIGHTMANAGER_H_
|
||||
|
|
|
|||
|
|
@ -19,13 +19,9 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#ifndef _ADVANCEDLIGHTINGFEATURES_H_
|
||||
#define _ADVANCEDLIGHTINGFEATURES_H_
|
||||
|
||||
#ifndef _GFXENUMS_H_
|
||||
#pragma once
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
|
||||
|
||||
class AdvancedLightingFeatures
|
||||
{
|
||||
|
|
@ -38,5 +34,3 @@ private:
|
|||
|
||||
static bool smFeaturesRegistered;
|
||||
};
|
||||
|
||||
#endif // _ADVANCEDLIGHTINGFEATURES_H_
|
||||
|
|
|
|||
|
|
@ -19,9 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _DEFERREDFEATURESGLSL_H_
|
||||
#define _DEFERREDFEATURESGLSL_H_
|
||||
|
||||
#include "shaderGen/GLSL/shaderFeatureGLSL.h"
|
||||
#include "shaderGen/GLSL/bumpGLSL.h"
|
||||
|
|
@ -142,5 +141,3 @@ public:
|
|||
return "Sub-Surface Approximation [Deferred]";
|
||||
}
|
||||
};
|
||||
|
||||
#endif // _DEFERREDFEATURESGLSL_H_
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _DEFERREDSHADINGGLSL_H_
|
||||
#define _DEFERREDSHADINGGLSL_H_
|
||||
|
|
|
|||
|
|
@ -19,17 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GBUFFER_CONDITIONER_GLSL_H_
|
||||
#define _GBUFFER_CONDITIONER_GLSL_H_
|
||||
|
||||
#ifndef _CONDITIONER_BASE_H_
|
||||
#include "shaderGen/conditionerFeature.h"
|
||||
#endif
|
||||
#ifndef _SHADEROP_H_
|
||||
#include "shaderGen/shaderOp.h"
|
||||
#endif
|
||||
|
||||
#include "shaderGen/shaderOp.h"
|
||||
|
||||
///
|
||||
class GBufferConditionerGLSL : public ConditionerFeature
|
||||
|
|
|
|||
|
|
@ -19,9 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _DEFERREDFEATURESHLSL_H_
|
||||
#define _DEFERREDFEATURESHLSL_H_
|
||||
|
||||
#include "shaderGen/HLSL/shaderFeatureHLSL.h"
|
||||
#include "shaderGen/HLSL/bumpHLSL.h"
|
||||
|
|
@ -143,5 +142,3 @@ public:
|
|||
return "Sub-Surface Approximation [Deferred]";
|
||||
}
|
||||
};
|
||||
|
||||
#endif // _DEFERREDFEATURESHLSL_H_
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _DEFERREDSHADINGHLSL_H_
|
||||
#define _DEFERREDSHADINGHLSL_H_
|
||||
|
|
|
|||
|
|
@ -19,17 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _GBUFFER_CONDITIONER_HLSL_H_
|
||||
#define _GBUFFER_CONDITIONER_HLSL_H_
|
||||
|
||||
#ifndef _CONDITIONER_BASE_H_
|
||||
#include "shaderGen/conditionerFeature.h"
|
||||
#endif
|
||||
#ifndef _SHADEROP_H_
|
||||
#include "shaderGen/shaderOp.h"
|
||||
#endif
|
||||
|
||||
#include "shaderGen/shaderOp.h"
|
||||
|
||||
///
|
||||
class GBufferConditionerHLSL : public ConditionerFeature
|
||||
|
|
|
|||
|
|
@ -19,25 +19,20 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _BASICLIGHTMANAGER_H_
|
||||
#define _BASICLIGHTMANAGER_H_
|
||||
|
||||
#ifndef _LIGHTMANAGER_H_
|
||||
#include "lighting/lightManager.h"
|
||||
#endif
|
||||
#ifndef _TDICTIONARY_H_
|
||||
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
#ifndef _GFXSHADER_H_
|
||||
|
||||
#include "gfx/gfxShader.h"
|
||||
#endif
|
||||
#ifndef _SIMOBJECT_H_
|
||||
|
||||
#include "console/simObject.h"
|
||||
#endif
|
||||
#ifndef _TSINGLETON_H_
|
||||
|
||||
#include "core/util/tSingleton.h"
|
||||
#endif
|
||||
|
||||
class AvailableSLInterfaces;
|
||||
class GFXShaderConstHandle;
|
||||
|
|
|
|||
|
|
@ -19,22 +19,16 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _BASICSCENEOBJECTLIGHTINGPLUGIN_H_
|
||||
#define _BASICSCENEOBJECTLIGHTINGPLUGIN_H_
|
||||
|
||||
#ifndef _SCENEOBJECTLIGHTINGPLUGIN_H_
|
||||
#include "scene/sceneObjectLightingPlugin.h"
|
||||
#endif
|
||||
|
||||
#ifndef _SCENEOBJECT_H_
|
||||
#include "scene/sceneObject.h"
|
||||
#endif
|
||||
|
||||
#ifndef _TSINGLETON_H_
|
||||
#include "core/util/tSingleton.h"
|
||||
#endif
|
||||
|
||||
|
||||
class ShadowBase;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _BLTERRAINSYSTEM_H_
|
||||
#define _BLTERRAINSYSTEM_H_
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _BLOBSHADOW_H_
|
||||
#define _BLOBSHADOW_H_
|
||||
|
|
|
|||
|
|
@ -19,13 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _LIGHTMAPPARAMS_H_
|
||||
#define _LIGHTMAPPARAMS_H_
|
||||
|
||||
#ifndef _LIGHTINFO_H_
|
||||
#include "lighting/lightInfo.h"
|
||||
#endif
|
||||
|
||||
class LightMapParams : public LightInfoEx
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,22 +19,17 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _PROJECTEDSHADOW_H_
|
||||
#define _PROJECTEDSHADOW_H_
|
||||
|
||||
#ifndef _DEPTHSORTLIST_H_
|
||||
#include "collision/depthSortList.h"
|
||||
#endif
|
||||
#ifndef _SCENEOBJECT_H_
|
||||
|
||||
#include "scene/sceneObject.h"
|
||||
#endif
|
||||
#ifndef _TSSHAPEINSTANCE_H_
|
||||
|
||||
#include "ts/tsShapeInstance.h"
|
||||
#endif
|
||||
#ifndef _LIGHTINGSYSTEM_SHADOWBASE_H_
|
||||
#include "lighting/common/shadowBase.h"
|
||||
#endif
|
||||
|
||||
class ShapeBase;
|
||||
class LightInfo;
|
||||
|
|
|
|||
|
|
@ -19,19 +19,16 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _SCENELIGHTING_H_
|
||||
#define _SCENELIGHTING_H_
|
||||
|
||||
#ifndef _SCENEOBJECT_H_
|
||||
#include "scene/sceneObject.h"
|
||||
#endif
|
||||
#ifndef _SGSCENEPERSIST_H_
|
||||
|
||||
#include "lighting/common/scenePersist.h"
|
||||
#endif
|
||||
#ifndef _LIGHTINFO_H_
|
||||
|
||||
#include "lighting/lightInfo.h"
|
||||
#endif
|
||||
|
||||
class ShadowVolumeBSP;
|
||||
class LightInfo;
|
||||
|
|
|
|||
|
|
@ -19,13 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _SGSCENEPERSIST_H_
|
||||
#define _SGSCENEPERSIST_H_
|
||||
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
|
||||
class Stream;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _LIGHTINGSYSTEM_SHADOWBASE_H_
|
||||
#define _LIGHTINGSYSTEM_SHADOWBASE_H_
|
||||
|
|
|
|||
|
|
@ -19,22 +19,18 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _SHADOWVOLUMEBSP_H_
|
||||
#define _SHADOWVOLUMEBSP_H_
|
||||
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
#ifndef _MMATH_H_
|
||||
|
||||
#include "math/mMath.h"
|
||||
#endif
|
||||
#ifndef _DATACHUNKER_H_
|
||||
|
||||
#include "core/dataChunker.h"
|
||||
#endif
|
||||
#ifndef _LIGHTMANAGER_H_
|
||||
|
||||
#include "lighting/lightManager.h"
|
||||
#endif
|
||||
|
||||
/// Used to calculate shadows.
|
||||
class ShadowVolumeBSP
|
||||
|
|
|
|||
|
|
@ -19,19 +19,16 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _LIGHTINFO_H_
|
||||
#define _LIGHTINFO_H_
|
||||
|
||||
#ifndef _GFXSTRUCTS_H_
|
||||
#include "gfx/gfxStructs.h"
|
||||
#endif
|
||||
#ifndef _TVECTOR_H_
|
||||
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
#ifndef _TDICTIONARY_H_
|
||||
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
|
||||
struct SceneData;
|
||||
class LightManager;
|
||||
|
|
|
|||
|
|
@ -19,22 +19,18 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _LIGHTMANAGER_H_
|
||||
#define _LIGHTMANAGER_H_
|
||||
|
||||
#ifndef _TORQUE_STRING_H_
|
||||
#include "core/util/str.h"
|
||||
#endif
|
||||
#ifndef _TSIGNAL_H_
|
||||
|
||||
#include "core/util/tSignal.h"
|
||||
#endif
|
||||
#ifndef _LIGHTINFO_H_
|
||||
|
||||
#include "lighting/lightInfo.h"
|
||||
#endif
|
||||
#ifndef _LIGHTQUERY_H_
|
||||
|
||||
#include "lighting/lightQuery.h"
|
||||
#endif
|
||||
|
||||
class SimObject;
|
||||
class LightManager;
|
||||
|
|
|
|||
|
|
@ -19,22 +19,16 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _LIGHTQUERY_H_
|
||||
#define _LIGHTQUERY_H_
|
||||
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MSPHERE_H_
|
||||
#include "math/mSphere.h"
|
||||
#endif
|
||||
|
||||
#ifndef _MBOX_H_
|
||||
#include "math/mBox.h"
|
||||
#endif
|
||||
|
||||
|
||||
class LightManager;
|
||||
class LightInfo;
|
||||
|
|
|
|||
|
|
@ -21,14 +21,9 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
#ifndef _SG_SYSTEM_INTERFACE_H
|
||||
#define _SG_SYSTEM_INTERFACE_H
|
||||
|
||||
#ifndef _SGSCENEPERSIST_H_
|
||||
#include "lighting/common/scenePersist.h"
|
||||
#endif
|
||||
|
||||
#ifndef _SCENELIGHTING_H_
|
||||
#include "lighting/common/sceneLighting.h"
|
||||
#endif
|
||||
|
||||
class ObjectProxy;
|
||||
class ObjectProxyList;
|
||||
|
|
|
|||
|
|
@ -19,16 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _SHADOWMANAGER_H_
|
||||
#define _SHADOWMANAGER_H_
|
||||
|
||||
#ifndef _TSIGNAL_H_
|
||||
#include "core/util/tSignal.h"
|
||||
#endif
|
||||
#ifndef _TORQUE_STRING_H_
|
||||
#include "core/util/str.h"
|
||||
#endif
|
||||
|
||||
class SceneManager;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,17 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _CUBELIGHTSHADOWMAP_H_
|
||||
#define _CUBELIGHTSHADOWMAP_H_
|
||||
|
||||
#ifndef _LIGHTSHADOWMAP_H_
|
||||
#include "lighting/shadowMap/lightShadowMap.h"
|
||||
#endif
|
||||
#ifndef _GFXCUBEMAP_H_
|
||||
#include "gfx/gfxCubemap.h"
|
||||
#endif
|
||||
|
||||
#include "gfx/gfxCubemap.h"
|
||||
|
||||
class CubeLightShadowMap : public LightShadowMap
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,13 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _DUALPARABOLOIDLIGHTSHADOWMAP_H_
|
||||
#define _DUALPARABOLOIDLIGHTSHADOWMAP_H_
|
||||
|
||||
#ifndef _PARABOLOIDLIGHTSHADOWMAP_H_
|
||||
#include "lighting/shadowMap/paraboloidLightShadowMap.h"
|
||||
#endif
|
||||
|
||||
class DualParaboloidLightShadowMap : public ParaboloidLightShadowMap
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,40 +19,27 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _LIGHTSHADOWMAP_H_
|
||||
#define _LIGHTSHADOWMAP_H_
|
||||
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
#endif
|
||||
#ifndef _GFXCUBEMAP_H_
|
||||
|
||||
#include "gfx/gfxCubemap.h"
|
||||
#endif
|
||||
#ifndef _GFXTARGET_H_
|
||||
|
||||
#include "gfx/gfxTarget.h"
|
||||
#endif
|
||||
#ifndef _LIGHTINFO_H_
|
||||
|
||||
#include "lighting/lightInfo.h"
|
||||
#endif
|
||||
#ifndef _MATHUTIL_FRUSTUM_H_
|
||||
#include "math/util/frustum.h"
|
||||
#endif
|
||||
#ifndef _MATTEXTURETARGET_H_
|
||||
|
||||
#include "materials/matTextureTarget.h"
|
||||
#endif
|
||||
#ifndef _SHADOW_COMMON_H_
|
||||
#include "lighting/shadowMap/shadowCommon.h"
|
||||
#endif
|
||||
#ifndef _GFXSHADER_H_
|
||||
|
||||
#include "gfx/gfxShader.h"
|
||||
#endif
|
||||
#ifndef _GFXOCCLUSIONQUERY_H_
|
||||
|
||||
#include "gfx/gfxOcclusionQuery.h"
|
||||
#endif
|
||||
#ifndef _PLATFORM_PLATFORMTIMER_H_
|
||||
#include "platform/platformTimer.h"
|
||||
#endif
|
||||
|
||||
class ShadowMapManager;
|
||||
class SceneManager;
|
||||
|
|
|
|||
|
|
@ -19,14 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _PARABOLOIDLIGHTSHADOWMAP_H_
|
||||
#define _PARABOLOIDLIGHTSHADOWMAP_H_
|
||||
|
||||
#ifndef _LIGHTSHADOWMAP_H_
|
||||
#include "lighting/shadowMap/lightShadowMap.h"
|
||||
#endif
|
||||
|
||||
|
||||
class ParaboloidLightShadowMap : public LightShadowMap
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,16 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
#ifndef _PSSMLIGHTSHADOWMAP_H_
|
||||
#define _PSSMLIGHTSHADOWMAP_H_
|
||||
|
||||
#ifndef _LIGHTSHADOWMAP_H_
|
||||
#include "lighting/shadowMap/lightShadowMap.h"
|
||||
#endif
|
||||
#ifndef _MATHUTIL_FRUSTUM_H_
|
||||
#include "math/util/frustum.h"
|
||||
#endif
|
||||
|
||||
|
||||
class PSSMLightShadowMap : public LightShadowMap
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _SHADOW_COMMON_H_
|
||||
#define _SHADOW_COMMON_H_
|
||||
|
|
|
|||
|
|
@ -19,25 +19,20 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _SHADOWMAPMANAGER_H_
|
||||
#define _SHADOWMAPMANAGER_H_
|
||||
|
||||
#ifndef _TSINGLETON_H_
|
||||
#include "core/util/tSingleton.h"
|
||||
#endif
|
||||
#ifndef _SHADOWMANAGER_H_
|
||||
|
||||
#include "lighting/shadowManager.h"
|
||||
#endif
|
||||
#ifndef _GFXENUMS_H_
|
||||
|
||||
#include "gfx/gfxEnums.h"
|
||||
#endif
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
#endif
|
||||
#ifndef _MPOINT4_H_
|
||||
|
||||
#include "math/mPoint4.h"
|
||||
#endif
|
||||
|
||||
class LightShadowMap;
|
||||
class ShadowMapPass;
|
||||
|
|
|
|||
|
|
@ -19,22 +19,17 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _SHADOWMAPPASS_H_
|
||||
#define _SHADOWMAPPASS_H_
|
||||
|
||||
#ifndef _RENDERPASSMANAGER_H_
|
||||
#include "renderInstance/renderPassManager.h"
|
||||
#endif
|
||||
#ifndef _RENDERMESHMGR_H_
|
||||
|
||||
#include "renderInstance/renderMeshMgr.h"
|
||||
#endif
|
||||
#ifndef _LIGHTINFO_H_
|
||||
|
||||
#include "lighting/lightInfo.h"
|
||||
#endif
|
||||
#ifndef _SHADOW_COMMON_H_
|
||||
#include "lighting/shadowMap/shadowCommon.h"
|
||||
#endif
|
||||
|
||||
class RenderMeshMgr;
|
||||
class LightShadowMap;
|
||||
|
|
|
|||
|
|
@ -19,22 +19,18 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _SHADOWMATHOOK_H_
|
||||
#define _SHADOWMATHOOK_H_
|
||||
|
||||
#ifndef _MATINSTANCEHOOK_H_
|
||||
#include "materials/matInstanceHook.h"
|
||||
#endif
|
||||
#ifndef _MATINSTANCE_H_
|
||||
|
||||
#include "materials/matInstance.h"
|
||||
#endif
|
||||
|
||||
// TODO: Move ShadowType enum to somewhere
|
||||
// with less dependancies.
|
||||
#ifndef _SHADOWMAPPASS_H_
|
||||
#include "lighting/shadowMap/shadowMapPass.h"
|
||||
#endif
|
||||
|
||||
class ShadowMatInstance : public MatInstance
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,12 +19,11 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
#ifndef _SINGLELIGHTSHADOWMAP_H_
|
||||
#define _SINGLELIGHTSHADOWMAP_H_
|
||||
|
||||
#ifndef _LIGHTSHADOWMAP_H_
|
||||
#include "lighting/shadowMap/lightShadowMap.h"
|
||||
#endif
|
||||
|
||||
//
|
||||
// SingleLightShadowMap, holds the shadow map and various other things for a light.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue