Commit graph

1462 commits

Author SHA1 Message Date
Areloch 2464b620ba Fixes several minor initialization issues that were causing problems with deletion/management of components and entities.
Also makes the ThirdPersonPlayer game object editor selectable again by removing an erroneously set field.
2016-05-31 12:51:23 -05:00
Areloch 553cf260f1 Some converts of usage of Shapebase for Gamebase to make camera/control object swapping easier. 2016-05-30 03:13:19 -05:00
Areloch 74a2005d15 Fixes mistake where GuiInspectorEntityGroup's onAdd doesn't explicitly return true, which can cause problems in some compilers. 2016-05-30 02:29:20 -05:00
Areloch 18184747e3 Fixes an issue where script-based components listed in the scene tree would not have a name on their tree item. 2016-05-29 11:54:50 -05:00
Areloch e48ee1a03a Fixes the recursive directory dump in the Linux platform code so that module/asset parsing works as expected. 2016-05-29 00:58:39 -05:00
Areloch 510b726f6f Final Linux compliance changes(renames, tweaks for gcc compliance, etc) 2016-05-29 00:58:02 -05:00
Areloch f5e86a83b5 Other renames to ensure linux case-sensitivity compliance and casing format consistency. 2016-05-26 13:56:19 -05:00
Areloch 93e767f0c5 Additional casing fixes. 2016-05-26 01:39:06 -05:00
Areloch ec8882c3c8 Ensuring all names are the correct casing for Linux 2016-05-26 01:37:14 -05:00
Areloch 9d47830a8b Merge branch 'development' of https://github.com/GarageGames/Torque3D into development 2016-05-24 20:09:53 -05:00
Areloch cfd15d47e4 Correction to interpolation/warp issue caused by using the wrong variable. 2016-05-24 20:09:24 -05:00
Areloch f66a14c6e1 Merge pull request #1599 from JeffProgrammer/glprofiling
Added missing OpenGL profiling blocks.
2016-05-24 01:26:39 -05:00
Areloch 5ee1fb3917 Merge pull request #1597 from JeffProgrammer/glextlookup
OpenGL Extension Caching
2016-05-24 01:03:01 -05:00
Areloch 8a7159c00e Fixes the drawUtil rendering of polyhedrons by correcting the index ordering to work with triangleStrip as opposed to Fan. 2016-05-22 23:51:58 -05:00
Areloch 04adb9f240 Added a small sanity check so we don't pointlessly throw an error when expanding an Entity's component stack in the scene tree. 2016-05-21 14:44:24 -05:00
Areloch 65f51a89d8 Merge pull request #1595 from Areloch/EpoxyProjectMatrixFix
Rolls back OGL Projection correction.
2016-05-20 00:23:45 -05:00
Azaezel d79b9a2988 removes w=z trick (was causing fisheye, effectively) 2016-05-18 06:38:13 -05:00
Areloch 3262c004a5 Merge pull request #1605 from Azaezel/fileFilterFix2
corrects native file dialogue return values
2016-05-17 12:49:14 -05:00
Areloch c0a96c908f Adds handling for if the user cancels out of the file dialog, and adds support for proper multi-filters. 2016-05-17 12:46:39 -05:00
Areloch c1f02c05e1 Adds some console methods to the non-class namespace Rotation for some convenient utility functions for dealing with rotations. 2016-05-16 16:03:24 -05:00
Areloch 8568ed19be Merge branch 'RotationFPR_Cleaned' of https://github.com/Areloch/Torque3D into development 2016-05-16 15:49:54 -05:00
Areloch 7bf49f0670 Adds a GameObject asset type, to make tracking and management of GameObjects significantly easier. 2016-05-15 10:12:24 -05:00
Areloch b04ad52b5d Ensure that inclusion of any entity/component stuff is properly bracketed with the preprocessor check. 2016-05-15 10:11:46 -05:00
Areloch 749ac4efc2 Adds the onPostAdd callback for when objects are created via TAML. 2016-05-14 15:36:58 -05:00
Areloch 6ccf97e35d Adds ComponentAsset so the editor scripts can be aware of what components have been defined/are useable. 2016-05-14 14:17:33 -05:00
Areloch b4bc405dce Updates the include guard in ShapeAsset 2016-05-14 14:16:43 -05:00
Areloch 827e70d674 Integration of Entities into the inspector/editor so they can call back into the tool scripts for custom handling. 2016-05-14 14:12:53 -05:00
Areloch 38c18870d3 Adjustments to allow Entities/Components to act as cameras and control objects. 2016-05-14 14:03:19 -05:00
Areloch b3b50abd9b Integrates components into the update and render loop. 2016-05-14 12:40:13 -05:00
Areloch fa78a2f354 Adds Component, the various main component classes and their interfaces. 2016-05-14 00:00:02 -05:00
Areloch 2e339bafba Adds the Entity object. 2016-05-13 23:58:57 -05:00
Areloch b64123a452 Adds findContact to regular physics bodies so that they can find contacting objects and surfaces in a way similar to players. 2016-05-13 23:57:48 -05:00
Areloch 1299b527f1 Adds the ability to the ShapeAsset to get the resource of the shape. 2016-05-13 23:14:55 -05:00
James Urquhart 49a735e051 Fix axis check in Box3F::extend method 2016-05-13 12:09:40 +01:00
Areloch 58fb8d36ac Merge branch 'RotationFPR_Cleaned' of https://github.com/Areloch/Torque3D into development 2016-05-12 23:50:00 -05:00
Areloch 1b47bdd972 Git apparently forgot to commit ALL the changes. 2016-05-12 23:49:06 -05:00
Areloch 9bc87709ab Merge branch 'RotationFPR_Cleaned' of https://github.com/Areloch/Torque3D into development 2016-05-12 23:35:21 -05:00
Areloch 95ae0b9863 Removes the old component code and moves the IProcessInput interface file into platform/input/ directory. 2016-05-12 23:31:15 -05:00
Areloch 7c7c799b57 Merge branch 'development' of https://github.com/GarageGames/Torque3D into development 2016-05-12 22:54:43 -05:00
Areloch 383d27f2ec The class is designed as a general-purpose rotation/orientation class to make it easy to work with rotations and swap between math types as easily as possible. 2016-05-12 00:45:16 -05:00
Areloch a2e0b1a163 Merge pull request #1604 from Azaezel/lightAnimCleanup
alternate to https://github.com/GarageGames/Torque3D/pull/1602
2016-05-10 11:47:25 -05:00
Areloch 8d195f9236 Makes the tab/spaces consistent for the entire console method function rather than mix-n-matching the formatting. 2016-05-10 10:58:03 -05:00
Areloch 27bb7a712a Corrects tabs. 2016-05-09 13:47:29 -05:00
Areloch 3a99541541 Select camera when in material editor crashfix.
When attempting to select a camera Object(so going into the editor, going into the freefloating camera and then back to the player camera and selecting the freefloating one) while the material editor was open, it would crash because it attempts to access the shapebase object's shapeInstance - but cameras don't have a shape.

This fixes it so it makes sure there's a shapeinstance before trying to get the material data.
2016-05-09 13:43:06 -05:00
Azaezel 5958e86e9a corrects native file dialogue return values 2016-05-09 06:43:47 -05:00
Azaezel ad613f2e82 alternate to https://github.com/GarageGames/Torque3D/pull/1602 2016-05-08 21:52:00 -05:00
Jeff Hutchinson 909109713d redefined the copyToBMP 2016-05-06 23:45:48 -04:00
Jeff Hutchinson db6d91925d Added profile blocks for GL. 2016-05-06 23:44:41 -04:00
Jeff Hutchinson a50600afaa tabs->spaces for TRON :) 2016-05-06 22:57:35 -04:00
Jeff Hutchinson f9b2aa397f cache OpenGL extensions that are not part of the 3.3 core profile, and that run more than initialization setup. 2016-05-06 21:50:11 -04:00