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,6 +19,7 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _FOREST_EDITOR_BRUSHELEMENT_H_
|
||||
#define _FOREST_EDITOR_BRUSHELEMENT_H_
|
||||
|
|
@ -26,10 +27,7 @@
|
|||
//#ifndef _SIMOBJECT_H_
|
||||
//#include "console/simObject.h"
|
||||
//#endif
|
||||
#ifndef _SIMSET_H_
|
||||
#include "console/simSet.h"
|
||||
#endif
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
// ForestBrushElement
|
||||
|
|
|
|||
|
|
@ -19,24 +19,16 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _FOREST_EDITOR_BRUSH_H_
|
||||
#define _FOREST_EDITOR_BRUSH_H_
|
||||
|
||||
#ifndef _FOREST_EDITOR_TOOL_H_
|
||||
#include "forest/editor/forestTool.h"
|
||||
#endif
|
||||
#ifndef _FORESTITEM_H_
|
||||
|
||||
#include "forest/forestItem.h"
|
||||
#endif
|
||||
#ifndef _FOREST_EDITOR_BRUSHELEMENT_H_
|
||||
#include "forest/editor/forestBrushElement.h"
|
||||
#endif
|
||||
#ifndef _COLOR_H_
|
||||
|
||||
#include "core/color.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
class Forest;
|
||||
class ForestUndoAction;
|
||||
|
|
|
|||
|
|
@ -19,22 +19,16 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _FOREST_EDITOR_FORESTEDITORCTRL_H_
|
||||
#define _FOREST_EDITOR_FORESTEDITORCTRL_H_
|
||||
|
||||
#ifndef _EDITTSCTRL_H_
|
||||
#include "gui/worldEditor/editTSCtrl.h"
|
||||
#endif
|
||||
|
||||
#ifndef _H_FOREST_
|
||||
#include "forest/forest.h"
|
||||
#endif
|
||||
|
||||
#ifndef _FOREST_EDITOR_TOOL_H_
|
||||
#include "forest/editor/forestTool.h"
|
||||
#endif
|
||||
|
||||
|
||||
class ForestEditorCtrl : public EditTSCtrl
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,20 +19,15 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _FOREST_EDITOR_SELECTIONTOOL_H_
|
||||
#define _FOREST_EDITOR_SELECTIONTOOL_H_
|
||||
|
||||
#ifndef _FOREST_EDITOR_TOOL_H_
|
||||
#include "forest/editor/forestTool.h"
|
||||
#endif
|
||||
#ifndef _FORESTITEM_H_
|
||||
#include "forest/forestItem.h"
|
||||
#endif
|
||||
#ifndef _TSELECTION_H_
|
||||
#include "gui/worldEditor/tSelection.h"
|
||||
#endif
|
||||
|
||||
#include "forest/forestItem.h"
|
||||
|
||||
#include "gui/worldEditor/tSelection.h"
|
||||
|
||||
class Forest;
|
||||
class Gizmo;
|
||||
|
|
|
|||
|
|
@ -19,19 +19,15 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _FOREST_EDITOR_TOOL_H_
|
||||
#define _FOREST_EDITOR_TOOL_H_
|
||||
|
||||
#ifndef _FORESTITEM_H_
|
||||
#include "forest/forestItem.h"
|
||||
#endif
|
||||
#ifndef _SIMBASE_H_
|
||||
|
||||
#include "console/simBase.h"
|
||||
#endif
|
||||
#ifndef _GUITYPES_H_
|
||||
|
||||
#include "gui/core/guiTypes.h"
|
||||
#endif
|
||||
|
||||
class Forest;
|
||||
class ForestEditorCtrl;
|
||||
|
|
|
|||
|
|
@ -19,16 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _FOREST_EDITOR_UNDO_H_
|
||||
#define _FOREST_EDITOR_UNDO_H_
|
||||
|
||||
#ifndef _UNDO_H_
|
||||
#include "util/undo.h"
|
||||
#endif
|
||||
#ifndef _FORESTITEM_H_
|
||||
|
||||
#include "forest/forestItem.h"
|
||||
#endif
|
||||
|
||||
#ifndef __RESOURCE_H__
|
||||
#include "core/resource.h"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -19,19 +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 _FORESTCELL_H_
|
||||
#define _FORESTCELL_H_
|
||||
|
||||
#ifndef _FORESTITEM_H_
|
||||
#include "forest/forestItem.h"
|
||||
#endif
|
||||
|
||||
#ifndef _H_FOREST_
|
||||
#include "forest/forest.h"
|
||||
#endif
|
||||
#ifndef _BITVECTOR_H_
|
||||
#include "core/bitVector.h"
|
||||
#endif
|
||||
|
||||
class ForestCellBatch;
|
||||
class SceneRenderState;
|
||||
|
|
|
|||
|
|
@ -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 _FORESTCELLBATCH_H_
|
||||
#define _FORESTCELLBATCH_H_
|
||||
|
|
|
|||
|
|
@ -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 _FORESTCOLLISION_H_
|
||||
#define _FORESTCOLLISION_H_
|
||||
|
||||
#ifndef _CONVEX_H_
|
||||
#include "collision/convex.h"
|
||||
#endif
|
||||
#ifndef _COLLISION_H_
|
||||
#include "collision/collision.h"
|
||||
#endif
|
||||
|
||||
#include "collision/collision.h"
|
||||
|
||||
class Forest;
|
||||
class ForestItem;
|
||||
|
|
|
|||
|
|
@ -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 _FORESTDATAFILE_H_
|
||||
#define _FORESTDATAFILE_H_
|
||||
|
||||
#ifndef _FORESTITEM_H_
|
||||
#include "forest/forestItem.h"
|
||||
#endif
|
||||
#ifndef _TDICTIONARY_H_
|
||||
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
|
||||
class ForestCell;
|
||||
class Forest;
|
||||
|
|
|
|||
|
|
@ -19,19 +19,15 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
#pragma once
|
||||
|
||||
#ifndef _FORESTITEM_H_
|
||||
#define _FORESTITEM_H_
|
||||
|
||||
#ifndef _MMATH_H_
|
||||
#include "math/mMath.h"
|
||||
#endif
|
||||
#ifndef _SIMBASE_H_
|
||||
|
||||
#include "console/simBase.h"
|
||||
#endif
|
||||
#ifndef _DYNAMIC_CONSOLETYPES_H_
|
||||
#include "console/dynamicTypes.h"
|
||||
#endif
|
||||
|
||||
#include "T3D/assets/ShapeAsset.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _FORESTWINDACCUMULATOR_H_
|
||||
#define _FORESTWINDACCUMULATOR_H_
|
||||
|
||||
#ifndef _MPOINT3_H_
|
||||
#include "math/mPoint3.h"
|
||||
#endif
|
||||
|
||||
|
||||
struct TreePlacementInfo;
|
||||
class ForestItemData;
|
||||
|
|
|
|||
|
|
@ -19,27 +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 _FORESTWINDEMITTER_H_
|
||||
#define _FORESTWINDEMITTER_H_
|
||||
|
||||
|
||||
#ifndef _SCENEOBJECT_H_
|
||||
#include "scene/sceneObject.h"
|
||||
#endif
|
||||
#ifndef _MMATRIX_H_
|
||||
#include "math/mMatrix.h"
|
||||
#endif
|
||||
#ifndef _MPOINT3_H_
|
||||
#include "math/mPoint3.h"
|
||||
#endif
|
||||
#ifndef _MSPHERE_H_
|
||||
#include "math/mSphere.h"
|
||||
#endif
|
||||
#ifndef _TVECTOR_H_
|
||||
#include "core/util/tVector.h"
|
||||
#endif
|
||||
|
||||
#include "math/mMatrix.h"
|
||||
|
||||
#include "math/mPoint3.h"
|
||||
|
||||
#include "math/mSphere.h"
|
||||
|
||||
#include "core/util/tVector.h"
|
||||
|
||||
class ForestWindEmitter;
|
||||
class ForestWindAccumulator;
|
||||
|
|
|
|||
|
|
@ -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 _FORESTWINDMGR_H_
|
||||
#define _FORESTWINDMGR_H_
|
||||
|
||||
#ifndef _FORESTWINDEMITTER_H_
|
||||
#include "forest/forestWindEmitter.h"
|
||||
#endif
|
||||
#ifndef _TDICTIONARY_H_
|
||||
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
#ifndef _ITICKABLE_H_
|
||||
|
||||
#include "core/iTickable.h"
|
||||
#endif
|
||||
#ifndef _FORESTITEM_H_
|
||||
|
||||
#include "forest/forestItem.h"
|
||||
#endif
|
||||
#ifndef _TSINGLETON_H_
|
||||
|
||||
#include "core/util/tSingleton.h"
|
||||
#endif
|
||||
|
||||
struct TreePlacementInfo
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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 _FOREST_SHADERGEN_WINDDEFORMATIONGLSL_H_
|
||||
#define _FOREST_SHADERGEN_WINDDEFORMATIONGLSL_H_
|
||||
|
||||
#ifndef _SHADERGEN_GLSL_SHADERFEATUREGLSL_H_
|
||||
#include "shaderGen/GLSL/shaderFeatureGLSL.h"
|
||||
#endif
|
||||
#ifndef _FEATURETYPE_H_
|
||||
|
||||
#include "materials/materialFeatureTypes.h"
|
||||
#endif
|
||||
|
||||
class GFXShaderConstHandle;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _FOREST_SHADERGEN_WINDDEFORMATIONHLSL_H_
|
||||
#define _FOREST_SHADERGEN_WINDDEFORMATIONHLSL_H_
|
||||
|
||||
#ifndef _SHADERGEN_HLSL_SHADERFEATUREHLSL_H_
|
||||
#include "shaderGen/HLSL/shaderFeatureHLSL.h"
|
||||
#endif
|
||||
#ifndef _FEATURETYPE_H_
|
||||
|
||||
#include "materials/materialFeatureTypes.h"
|
||||
#endif
|
||||
|
||||
class GFXShaderConstHandle;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 _TSFORESTCELLBATCH_H_
|
||||
#define _TSFORESTCELLBATCH_H_
|
||||
|
||||
#ifndef _IMPOSTERRENDERMGR_H_
|
||||
#include "renderInstance/renderImposterMgr.h"
|
||||
#endif
|
||||
#ifndef _FORESTCELLBATCH_H_
|
||||
|
||||
#include "forest/forestCellBatch.h"
|
||||
#endif
|
||||
#ifndef _GFXTEXTUREHANDLE_H_
|
||||
|
||||
#include "gfx/gfxTextureHandle.h"
|
||||
#endif
|
||||
#ifndef _GFXVERTEXBUFFER_H_
|
||||
|
||||
#include "gfx/gfxVertexBuffer.h"
|
||||
#endif
|
||||
#ifndef _GFXSTRUCTS_H_
|
||||
|
||||
#include "gfx/gfxStructs.h"
|
||||
#endif
|
||||
|
||||
class GFXShader;
|
||||
|
||||
|
|
|
|||
|
|
@ -19,20 +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 _TSFORESTITEMDATA_H_
|
||||
#define _TSFORESTITEMDATA_H_
|
||||
|
||||
#ifndef _FORESTITEM_H_
|
||||
#include "forest/forestItem.h"
|
||||
#endif
|
||||
#ifndef _TSSHAPE_H_
|
||||
#include "ts/tsShape.h"
|
||||
#endif
|
||||
#ifndef _RESOURCEMANAGER_H_
|
||||
#include "core/resourceManager.h"
|
||||
#endif
|
||||
|
||||
#include "ts/tsShape.h"
|
||||
|
||||
#include "core/resourceManager.h"
|
||||
|
||||
class TSShapeInstance;
|
||||
class TSLastDetail;
|
||||
|
|
|
|||
|
|
@ -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 _FOREST_SHADERGEN_WINDDEFORMATION_H_
|
||||
#define _FOREST_SHADERGEN_WINDDEFORMATION_H_
|
||||
|
||||
#ifndef _SHADERGEN_H_
|
||||
#include "shaderGen/shaderGen.h"
|
||||
#endif
|
||||
#ifndef _FEATURETYPE_H_
|
||||
|
||||
#include "materials/materialFeatureTypes.h"
|
||||
#endif
|
||||
|
||||
class GFXShaderConstHandle;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue