@@ -20,9 +20,9 @@
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
-#include "T3D/Components/Animation/AnimationComponent.h"
-#include "T3D/Components/Animation/AnimationComponent_ScriptBinding.h"
-#include "T3D/components/Render/MeshComponent.h"
+#include "T3D/components/animation/animationcomponent.h"
+#include "T3D/components/animation/animationComponent_ScriptBinding.h"
+#include "T3D/components/render/meshcomponent.h"
#include "platform/platform.h"
#include "console/consoleTypes.h"
@@ -24,16 +24,16 @@
#define ANIMATION_COMPONENT_H
#ifndef COMPONENT_H
-#include "T3D/Components/Component.h"
+#include "T3D/components/component.h"
#endif
#ifndef _TSSHAPE_H_
#include "ts/tsShapeInstance.h"
#ifndef ENTITY_H
-#include "T3D/Entity.h"
+#include "T3D/entity.h"
#ifndef RENDER_COMPONENT_INTERFACE_H
-#include "T3D/Components/render/renderComponentInterface.h"
+#include "T3D/components/render/renderComponentInterface.h"
class SceneRenderState;
@@ -21,7 +21,7 @@
#include "console/engineAPI.h"
-#include "T3D/Components/Animation/animationComponent.h"
DefineEngineMethod(AnimationComponent, playThread, bool, (S32 slot, const char* name, bool transition, F32 transitionTime), (-1, "", true, 0.5),
"@brief Start a new animation thread, or restart one that has been paused or "
@@ -20,8 +20,8 @@
-#include "T3D/Components/camera/CameraComponent.h"
-#include "T3D/Components/Camera/CameraComponent_ScriptBinding.h"
+#include "T3D/components/camera/cameracomponent.h"
+#include "T3D/components/camera/cameraComponent_ScriptBinding.h"
#include "core/util/safeDelete.h"
@@ -37,7 +37,7 @@
#include "T3D/gameBase/gameConnection.h"
#include "T3D/gameFunctions.h"
#include "math/mathUtils.h"
IMPLEMENT_CALLBACK( CameraComponent, validateCameraFov, F32, (F32 fov), (fov),
"@brief Called on the server when the client has requested a FOV change.\n\n"
@@ -24,7 +24,7 @@
#define CAMERA_COMPONENT_H
#ifndef _SCENERENDERSTATE_H_
#include "scene/sceneRenderState.h"
@@ -33,10 +33,10 @@
#include "math/mBox.h"
#ifndef CORE_INTERFACES_H
-#include "T3D/Components/coreInterfaces.h"
+#include "T3D/components/coreInterfaces.h"
-#include "T3D/Components/Camera/CameraComponent.h"
//Basically, this only exists for backwards compatibility for parts of the editors
ConsoleMethod(CameraComponent, getMode, const char*, 2, 2, "() - We get the first behavior of the requested type on our owner object.\n"
@@ -20,7 +20,7 @@
-#include "T3D/Components/Camera/CameraOrbiterComponent.h"
+#include "T3D/components/camera/cameraOrbitercomponent.h"
#include "console/consoleObject.h"
@@ -24,10 +24,10 @@
#define CAMERA_ORBITER_COMPONENT_H
#ifndef CAMERA_COMPONENT_H
-#include "T3D/Components/camera/cameraComponent.h"
//////////////////////////////////////////////////////////////////////////
-#include "T3D/Components/Collision/CollisionComponent.h"
+#include "T3D/components/collision/collisioncomponent.h"
#include "materials/baseMatInstance.h"
DefineConsoleMethod(CollisionComponent, getNumberOfContacts, S32, (), ,
-#include "T3D/Components/Collision/collisionComponent.h"
-#include "T3D/Components/Collision/collisionComponent_ScriptBinding.h"
-#include "T3D/Components/Physics/physicsBehavior.h"
+#include "T3D/components/collision/collisionComponent_ScriptBinding.h"
+#include "T3D/components/physics/physicsBehavior.h"
#include "core/resourceManager.h"
@@ -36,19 +36,19 @@
#ifndef COLLISION_INTERFACES_H
-#include "T3D/Components/collision/collisionInterfaces.h"
+#include "T3D/components/collision/collisionInterfaces.h"
#ifndef PHYSICS_COMPONENT_INTERFACE_H
-#include "T3D/Components/physics/physicsComponentInterface.h"
+#include "T3D/components/physics/physicsComponentInterface.h"
#ifndef _T3D_PHYSICSCOMMON_H_
#include "T3D/physics/physicsCommon.h"
#include "scene/sceneObject.h"
#include "T3D/trigger.h"
-#include "T3D/Components/Collision/CollisionTrigger.h"
+#include "T3D/components/collision/collisionTrigger.h"
@@ -23,7 +23,7 @@
#include "console/simBase.h"
#include "core/stream/fileStream.h"
@@ -27,10 +27,10 @@
#include "sim/netObject.h"
class Entity;
-#include "T3D/Components/game/StateMachineComponent.h"
+#include "T3D/components/game/StateMachinecomponent.h"
#define STATE_MACHINE_COMPONENT_H
- #include "T3D/Components/Component.h"
+ #include "T3D/components/component.h"
#ifndef STATE_MACHINE_H
-#include "T3D/components/Game/stateMachine.h"
+#include "T3D/components/game/stateMachine.h"
-#include "T3D/Components/Game/stateMachine.h"
StateMachine::StateMachine()
{
@@ -3,7 +3,7 @@
// Copyright (C) GarageGames.com, Inc.
-#include "T3D/Components/game/TriggerComponent.h"
+#include "T3D/components/game/Triggercomponent.h"
@@ -11,7 +11,7 @@
#include "sim/netConnection.h"
#include "collision/concretePolyList.h"
#include "collision/clippedPolyList.h"
@@ -6,15 +6,15 @@
#define _TRIGGER_COMPONENT_H_
#ifndef _COMPONENT_H_
#ifndef _ENTITY_H_
#ifndef _COLLISION_INTERFACES_H_
@@ -5,7 +5,7 @@
#ifndef _PHYSICSBEHAVIOR_H_
#define _PHYSICSBEHAVIOR_H_
#ifndef __RESOURCE_H__
#include "core/resource.h"
#ifndef _CONVEX_H_
#include "collision/convex.h"
@@ -36,7 +36,7 @@
#ifndef _RENDER_COMPONENT_INTERFACE_H_
class TSShapeInstance;
#define PHYSICS_COMPONENT_INTERFACE_H
class PhysicsComponentInterface : public Interface<PhysicsComponentInterface>
-#include "T3D/Components/Physics/playerControllerComponent.h"
+#include "T3D/components/physics/playerControllercomponent.h"
#include "collision/collision.h"
#include "T3D/physics/physicsPlayer.h"
#include "T3D/physics/physicsPlugin.h"
-#include "T3D/Components/Collision/collisionInterfaces.h"
#include "T3D/components/collision/collisionTrigger.h"
#define PLAYER_CONTORLLER_COMPONENT_H
#ifndef PHYSICSBEHAVIOR_H
@@ -39,7 +39,7 @@
@@ -54,10 +54,10 @@
#include "T3D/physics/physicsWorld.h"
-#include "T3D/Components/physics/RigidBodyComponent.h"
+#include "T3D/components/physics/rigidBodycomponent.h"
@@ -31,7 +31,7 @@
#include "T3D/physics/physicsCollision.h"
bool RigidBodyComponent::smNoCorrections = false;
bool RigidBodyComponent::smNoSmoothing = false;
#define RIGID_BODY_COMPONENT_H
#ifndef COLLISION_COMPONENT_H
-#include "T3D/Components/collision/collisionComponent.h"
class PhysicsBody;
-#include "T3D/Components/Render/MeshComponent.h"
@@ -44,7 +44,7 @@
#include "materials/materialManager.h"
#include "materials/matInstance.h"
#include "core/strings/findMatch.h"
-#include "T3D/components/Render/MeshComponent_ScriptBinding.h"
+#include "T3D/components/render/meshComponent_ScriptBinding.h"
// Constructor/Destructor
#define STATIC_MESH_COMPONENT_H
@@ -39,16 +39,16 @@
#ifndef _NETSTRINGTABLE_H_
#include "sim/netStringTable.h"
-#include "T3D/Components/Render/renderComponentInterface.h"
#ifndef _ASSET_PTR_H_
#include "assets/assetPtr.h"
#include "math/mTransform.h"
@@ -30,7 +30,7 @@
#include "ts/TSShapeInstance.h"
class RenderComponentInterface : public Interface < RenderComponentInterface >
#include "core/stream/bitStream.h"
@@ -34,9 +34,9 @@
#include "math/mathIO.h"
#include "gui/controls/guiTreeViewCtrl.h"
#include "T3D/gameBase/moveManager.h"
#ifndef MROTATION_H
#include "math/mRotation.h"
@@ -61,10 +61,10 @@ private:
bool mInitialized;
- Signal< void(Component*) > Entity::onComponentAdded;
- Signal< void(Component*) > Entity::onComponentRemoved;
+ Signal< void(Component*) > onComponentAdded;
+ Signal< void(Component*) > onComponentRemoved;
- Signal< void(MatrixF*) > Entity::onTransformSet;
+ Signal< void(MatrixF*) > onTransformSet;
protected:
@@ -40,8 +40,8 @@
#ifdef TORQUE_EXPERIMENTAL_EC
#ifdef TORQUE_HIFI_NET
@@ -28,8 +28,8 @@
//----------------------------------------------------------------------------
@@ -38,8 +38,8 @@
#include "T3D/fx/cameraFXMgr.h"
MODULE_BEGIN( ProcessList )
IMPLEMENT_CONOBJECT(GuiTreeViewCtrl);
#include "gui/editor/guiInspector.h"
#include "gui/editor/inspector/entityGroup.h"
#include "core/strings/stringUnit.h"
@@ -25,7 +25,7 @@
#include "gui/editor/inspector/group.h"
#include "console/simFieldDictionary.h"
#include "gui/controls/guiPopUpCtrlEx.h"
class GuiInspectorEntityGroup : public GuiInspectorGroup
@@ -24,11 +24,11 @@
#include "gui/editor/inspector/mountingGroup.h"
//Need this to get node lists
IMPLEMENT_CONOBJECT(GuiInspectorMountingGroup);
#ifndef _GUI_INSPECTOR_TYPES_H_
@@ -33,7 +33,7 @@
class GuiInspectorMountingGroup;
@@ -27,8 +27,8 @@
#include "math/util/matrixSet.h"
@@ -274,12 +274,12 @@ addPath("${srcDir}/T3D/turret")
if( TORQUE_EXPERIMENTAL_EC )
addPath("${srcDir}/T3D/components/")
- addPath("${srcDir}/T3D/components/animation")
- addPath("${srcDir}/T3D/components/camera")
- addPath("${srcDir}/T3D/components/collision")
- addPath("${srcDir}/T3D/components/game")
- addPath("${srcDir}/T3D/components/physics")
- addPath("${srcDir}/T3D/components/render")
+ addPath("${srcDir}/T3D/components/Animation")
+ addPath("${srcDir}/T3D/components/Camera")
+ addPath("${srcDir}/T3D/components/Collision")
+ addPath("${srcDir}/T3D/components/Game")
+ addPath("${srcDir}/T3D/components/Physics")
+ addPath("${srcDir}/T3D/components/Render")
endif()
addPath("${srcDir}/main/")