mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +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,16 +19,13 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _T3D_PHYSICS_PHYSICSBODY_H_
|
||||
#define _T3D_PHYSICS_PHYSICSBODY_H_
|
||||
|
||||
#ifndef _T3D_PHYSICSCOMMON_H_
|
||||
#include "T3D/physics/physicsCommon.h"
|
||||
#endif
|
||||
#ifndef _T3D_PHYSICS_PHYSICSOBJECT_H_
|
||||
|
||||
#include "T3D/physics/physicsObject.h"
|
||||
#endif
|
||||
|
||||
class PhysicsCollision;
|
||||
class SceneObject;
|
||||
|
|
|
|||
|
|
@ -19,13 +19,11 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _T3D_PHYSICS_PHYSICSCOLLISION_H_
|
||||
#define _T3D_PHYSICS_PHYSICSCOLLISION_H_
|
||||
|
||||
#ifndef _REFBASE_H_
|
||||
#include "core/util/refBase.h"
|
||||
#endif
|
||||
|
||||
class Point3F;
|
||||
#ifndef USE_TEMPLATE_MATRIX
|
||||
|
|
|
|||
|
|
@ -19,23 +19,17 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _T3D_PHYSICSCOMMON_H_
|
||||
#define _T3D_PHYSICSCOMMON_H_
|
||||
|
||||
#ifndef _MPOINT3_H_
|
||||
#include "math/mPoint3.h"
|
||||
#endif
|
||||
#ifndef _MQUAT_H_
|
||||
#include "math/mQuat.h"
|
||||
#endif
|
||||
#ifndef _MMATRIX_H_
|
||||
#include "math/mMatrix.h"
|
||||
#endif
|
||||
#ifndef _REFBASE_H_
|
||||
#include "core/util/refBase.h"
|
||||
#endif
|
||||
|
||||
#include "math/mQuat.h"
|
||||
|
||||
#include "math/mMatrix.h"
|
||||
|
||||
#include "core/util/refBase.h"
|
||||
|
||||
/// Helper structure which defines the state of a single physics body.
|
||||
struct PhysicsState
|
||||
|
|
|
|||
|
|
@ -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 _PHYSICS_DEBRIS_H_
|
||||
#define _PHYSICS_DEBRIS_H_
|
||||
|
|
@ -26,12 +27,8 @@
|
|||
#ifndef __RESOURCE_H__
|
||||
#include "core/resource.h"
|
||||
#endif
|
||||
#ifndef _GAMEBASE_H_
|
||||
#include "T3D/gameBase/gameBase.h"
|
||||
#endif
|
||||
#ifndef _T3D_PHYSICSCOMMON_H_
|
||||
#include "T3D/physics/physicsCommon.h"
|
||||
#endif
|
||||
|
||||
#include "T3D/assets/ShapeAsset.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 _PHYSICSEVENTS_H_
|
||||
#define _PHYSICSEVENTS_H_
|
||||
|
||||
#ifndef _NETCONNECTION_H_
|
||||
#include "sim/netConnection.h"
|
||||
#endif
|
||||
|
||||
class SceneObject;
|
||||
class SceneContainer;
|
||||
|
|
|
|||
|
|
@ -19,19 +19,14 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _T3D_PHYSICS_PHYSICSFORCE_H_
|
||||
#define _T3D_PHYSICS_PHYSICSFORCE_H_
|
||||
|
||||
#ifndef _SCENEOBJECT_H_
|
||||
#include "scene/sceneObject.h"
|
||||
#endif
|
||||
#ifndef _T3D_PHYSICSCOMMON_H_
|
||||
#include "T3D/physics/physicsCommon.h"
|
||||
#endif
|
||||
#ifndef _T3D_PHYSICS_PHYSICSOBJECT_H_
|
||||
|
||||
#include "T3D/physics/physicsObject.h"
|
||||
#endif
|
||||
|
||||
class PhysicsBody;
|
||||
class PhysicsWorld;
|
||||
|
|
|
|||
|
|
@ -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 _T3D_PHYSICS_PHYSICSOBJECT_H_
|
||||
#define _T3D_PHYSICS_PHYSICSOBJECT_H_
|
||||
|
||||
#ifndef _PHYSICS_PHYSICSUSERDATA_H_
|
||||
#include "T3D/physics/physicsUserData.h"
|
||||
#endif
|
||||
#ifndef _UTIL_DELEGATE_H_
|
||||
|
||||
#include "core/util/delegate.h"
|
||||
#endif
|
||||
#ifndef _REFBASE_H_
|
||||
|
||||
#include "core/util/refBase.h"
|
||||
#endif
|
||||
|
||||
class PhysicsWorld;
|
||||
#ifndef USE_TEMPLATE_MATRIX
|
||||
|
|
|
|||
|
|
@ -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 _T3D_PHYSICS_PHYSICSPLAYER_H_
|
||||
#define _T3D_PHYSICS_PHYSICSPLAYER_H_
|
||||
|
||||
#ifndef _T3D_PHYSICS_PHYSICSOBJECT_H_
|
||||
#include "T3D/physics/physicsObject.h"
|
||||
#endif
|
||||
#ifndef _MMATH_H_
|
||||
|
||||
#include "math/mMath.h"
|
||||
#endif
|
||||
|
||||
class CollisionList;
|
||||
//struct ObjectRenderInst;
|
||||
|
|
|
|||
|
|
@ -19,29 +19,19 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _T3D_PHYSICS_PHYSICSPLUGIN_H_
|
||||
#define _T3D_PHYSICS_PHYSICSPLUGIN_H_
|
||||
|
||||
#ifndef _SIMSET_H_
|
||||
#include "console/simSet.h"
|
||||
#endif
|
||||
#ifndef _TSIGNAL_H_
|
||||
#include "core/util/tSignal.h"
|
||||
#endif
|
||||
#ifndef _TORQUE_STRING_H_
|
||||
#include "core/util/str.h"
|
||||
#endif
|
||||
#ifndef _TDICTIONARY_H_
|
||||
#include "core/util/tDictionary.h"
|
||||
#endif
|
||||
#ifndef _UTIL_DELEGATE_H_
|
||||
#include "core/util/delegate.h"
|
||||
#endif
|
||||
#ifndef _T3D_PHYSICSCOMMON_H_
|
||||
#include "T3D/physics/physicsCommon.h"
|
||||
#endif
|
||||
|
||||
#include "core/util/tSignal.h"
|
||||
#include "core/util/str.h"
|
||||
|
||||
#include "core/util/tDictionary.h"
|
||||
#include "core/util/delegate.h"
|
||||
|
||||
#include "T3D/physics/physicsCommon.h"
|
||||
|
||||
class Player;
|
||||
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 _PHYSICSSHAPE_H_
|
||||
#define _PHYSICSSHAPE_H_
|
||||
|
|
|
|||
|
|
@ -19,13 +19,11 @@
|
|||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
// IN THE SOFTWARE.
|
||||
//-----------------------------------------------------------------------------
|
||||
#pragma once
|
||||
|
||||
#ifndef _PHYSICS_PHYSICSUSERDATA_H_
|
||||
#define _PHYSICS_PHYSICSUSERDATA_H_
|
||||
|
||||
#ifndef _SIGNAL_H_
|
||||
#include "core/util/tSignal.h"
|
||||
#endif
|
||||
|
||||
class PhysicsUserData;
|
||||
class SceneObject;
|
||||
|
|
|
|||
|
|
@ -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 _T3D_PHYSICS_PHYSICSWORLD_H_
|
||||
#define _T3D_PHYSICS_PHYSICSWORLD_H_
|
||||
|
||||
#ifndef _SIGNAL_H_
|
||||
#include "core/util/tSignal.h"
|
||||
#endif
|
||||
#ifndef _MPOINT3_H_
|
||||
|
||||
#include "math/mPoint3.h"
|
||||
#endif
|
||||
|
||||
class ProcessList;
|
||||
class Point3F;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue