mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-09 05:34:34 +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,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