mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-08 05:04: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,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 _RENDERFORCEDMATMESHMGR_H_
|
||||
#define _RENDERFORCEDMATMESHMGR_H_
|
||||
|
||||
#ifndef _RENDERMESHMGR_H_
|
||||
#include "renderInstance/renderMeshMgr.h"
|
||||
#endif
|
||||
|
||||
class Material;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,21 +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 _RENDERBINMANAGER_H_
|
||||
#define _RENDERBINMANAGER_H_
|
||||
|
||||
#ifndef _CONSOLEOBJECT_H_
|
||||
#include "console/consoleObject.h"
|
||||
#endif
|
||||
#ifndef _RENDERPASSMANAGER_H_
|
||||
|
||||
#include "renderInstance/renderPassManager.h"
|
||||
#endif
|
||||
#ifndef _BASEMATINSTANCE_H_
|
||||
|
||||
#include "materials/baseMatInstance.h"
|
||||
#endif
|
||||
#ifndef _UTIL_DELEGATE_H_
|
||||
#include "core/util/delegate.h"
|
||||
#endif
|
||||
|
||||
class SceneRenderState;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _DEFERRED_MGR_H_
|
||||
#define _DEFERRED_MGR_H_
|
||||
|
||||
|
|
|
|||
|
|
@ -19,16 +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 _RENDERFORMATCHANGER_H_
|
||||
#define _RENDERFORMATCHANGER_H_
|
||||
|
||||
#ifndef _RENDERPASSSTATETOKEN_H_
|
||||
#include "renderInstance/renderPassStateToken.h"
|
||||
#endif
|
||||
#ifndef _MATTEXTURETARGET_H_
|
||||
|
||||
#include "materials/matTextureTarget.h"
|
||||
#endif
|
||||
|
||||
class PostEffect;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _IMPOSTERRENDERMGR_H_
|
||||
#define _IMPOSTERRENDERMGR_H_
|
||||
|
||||
#ifndef _RENDERBINMANAGER_H_
|
||||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
||||
|
||||
#include "gfx/gfxPrimitiveBuffer.h"
|
||||
#endif
|
||||
#ifndef _MATTEXTURETARGET_H_
|
||||
|
||||
#include "materials/matTextureTarget.h"
|
||||
#endif
|
||||
#ifndef _TSLASTDETAIL_H_
|
||||
|
||||
#include "ts/tsLastDetail.h"
|
||||
#endif
|
||||
|
||||
class TSLastDetail;
|
||||
class GFXTextureObject;
|
||||
|
|
|
|||
|
|
@ -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 _RENDERMESHMGR_H_
|
||||
#define _RENDERMESHMGR_H_
|
||||
|
||||
#ifndef _RENDERBINMANAGER_H_
|
||||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
|
||||
//**************************************************************************
|
||||
// RenderMeshMgr
|
||||
|
|
|
|||
|
|
@ -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 _RENDEROBJECTMGR_H_
|
||||
#define _RENDEROBJECTMGR_H_
|
||||
|
||||
#ifndef _RENDERBINMANAGER_H_
|
||||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
|
||||
//**************************************************************************
|
||||
// RenderObjectMgr
|
||||
|
|
|
|||
|
|
@ -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 _RENDEROCCLUSIONMGR_H_
|
||||
#define _RENDEROCCLUSIONMGR_H_
|
||||
|
||||
#ifndef _RENDERBINMANAGER_H_
|
||||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
|
||||
class Material;
|
||||
class BaseMatInstance;
|
||||
|
|
|
|||
|
|
@ -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 _RENDER_PARTICLE_MGR_H_
|
||||
#define _RENDER_PARTICLE_MGR_H_
|
||||
|
||||
#ifndef _TEXTARGETBIN_MGR_H_
|
||||
#include "renderInstance/renderTexTargetBinManager.h"
|
||||
#endif
|
||||
|
||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
||||
#include "gfx/gfxPrimitiveBuffer.h"
|
||||
#endif
|
||||
|
||||
GFXDeclareVertexFormat( CompositeQuadVert )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,33 +19,25 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
#ifndef _RENDERPASSMANAGER_H_
|
||||
#define _RENDERPASSMANAGER_H_
|
||||
|
||||
#ifndef _GFXDEVICE_H_
|
||||
#include "gfx/gfxDevice.h"
|
||||
#endif
|
||||
#ifndef _SCENEOBJECT_H_
|
||||
|
||||
#include "scene/sceneObject.h"
|
||||
#endif
|
||||
#ifndef _SIMOBJECT_H_
|
||||
|
||||
#include "console/simObject.h"
|
||||
#endif
|
||||
#ifndef _DATACHUNKER_H_
|
||||
|
||||
#include "core/dataChunker.h"
|
||||
#endif
|
||||
#ifndef _SCENEMANAGER_H_
|
||||
|
||||
#include "scene/sceneManager.h"
|
||||
#endif
|
||||
#ifndef _SCENEMANAGER_H_
|
||||
|
||||
#include "scene/sceneManager.h"
|
||||
#endif
|
||||
#ifndef _CUBEMAPDATA_H_
|
||||
|
||||
#include "gfx/sim/cubemapData.h"
|
||||
#endif
|
||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
||||
|
||||
#include "gfx/gfxPrimitiveBuffer.h"
|
||||
#endif
|
||||
|
||||
class SceneRenderState;
|
||||
class ISceneObject;
|
||||
|
|
|
|||
|
|
@ -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 _RENDERPASSSTATETOKEN_H_
|
||||
#define _RENDERPASSSTATETOKEN_H_
|
||||
|
||||
#ifndef _RENDERBINMANAGER_H_
|
||||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
|
||||
class RenderPassStateBin;
|
||||
|
||||
|
|
|
|||
|
|
@ -22,35 +22,22 @@
|
|||
#pragma once
|
||||
#ifndef RENDER_PROBE_MGR_H
|
||||
#define RENDER_PROBE_MGR_H
|
||||
|
||||
#ifndef _RENDERBINMANAGER_H_
|
||||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
#ifndef _MATINSTANCE_H_
|
||||
|
||||
#include "materials/matInstance.h"
|
||||
#endif
|
||||
#ifndef _MATTEXTURETARGET_H_
|
||||
|
||||
#include "materials/matTextureTarget.h"
|
||||
#endif
|
||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
||||
|
||||
#include "gfx/gfxPrimitiveBuffer.h"
|
||||
#endif
|
||||
#ifndef _GFXVERTEXBUFFER_H_
|
||||
|
||||
#include "gfx/gfxVertexBuffer.h"
|
||||
#endif
|
||||
|
||||
//#include "core/util/systemInterfaceList.h"
|
||||
|
||||
#ifndef _MATERIALS_PROCESSEDSHADERMATERIAL_H_
|
||||
#include "materials/processedShaderMaterial.h"
|
||||
#endif
|
||||
#ifndef _POSTEFFECTCOMMON_H_
|
||||
#include "postFx/postEffectCommon.h"
|
||||
#endif
|
||||
|
||||
#ifndef _REFLECTOR_H_
|
||||
#include "postFx/postEffectCommon.h"
|
||||
|
||||
#include "scene/reflector.h"
|
||||
#endif
|
||||
|
||||
#ifndef REFLECTIONPROBE_H
|
||||
#include "T3D/lighting/reflectionProbe.h"
|
||||
|
|
|
|||
|
|
@ -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 _RENDERTERRAINMGR_H_
|
||||
#define _RENDERTERRAINMGR_H_
|
||||
|
||||
#ifndef _RENDERBINMANAGER_H_
|
||||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
#ifndef _GFXVERTEXBUFFER_H_
|
||||
|
||||
#include "gfx/gfxVertexBuffer.h"
|
||||
#endif
|
||||
#ifndef _GFXPRIMITIVEBUFFER_H_
|
||||
|
||||
#include "gfx/gfxPrimitiveBuffer.h"
|
||||
#endif
|
||||
|
||||
class TerrCell;
|
||||
class GFXTextureObject;
|
||||
|
|
|
|||
|
|
@ -19,15 +19,12 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#ifndef _TEXTARGETBIN_MGR_H_
|
||||
#define _TEXTARGETBIN_MGR_H_
|
||||
|
||||
#ifndef _RENDERBINMANAGER_H_
|
||||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
#ifndef _MATTEXTURETARGET_H_
|
||||
|
||||
#include "materials/matTextureTarget.h"
|
||||
#endif
|
||||
|
||||
class ConditionerFeature;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,16 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _RENDER_TRANSLUCENT_MGR_H_
|
||||
#define _RENDER_TRANSLUCENT_MGR_H_
|
||||
|
||||
#ifndef _RENDERBINMANAGER_H_
|
||||
#include "renderInstance/renderBinManager.h"
|
||||
#endif
|
||||
#ifndef _MATTEXTURETARGET_H_
|
||||
|
||||
#include "materials/matTextureTarget.h"
|
||||
#endif
|
||||
|
||||
class RenderParticleMgr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue