Commit graph

3499 commits

Author SHA1 Message Date
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
5fb79c3c0f Merge branch 'sliperySamplerState' of https://github.com/Azaezel/Torque3D into development 2016-05-12 13:36:30 -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
irei1as
01e3cb53de Set textures as bitmapctrl in script
A new method to GuiBitmapCtrl in order to set "named textures" as the image displayed in script.
Those "named textures" are created in two places from script (not c++) that I know: as part of GuiOffscreenCanvas (targetName field) and, more useful, as the target of a PostEffect using target = "#name" (the '#' is not used for this method).
2016-05-11 17:47:05 +02:00
Areloch
55694ad0b6 Merge branch 'development' of https://github.com/GarageGames/Torque3D into development 2016-05-10 13:07:19 -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
987b175d3d Merge pull request #1603 from Azaezel/notSoEmpty
updated empty template …
2016-05-10 11:06:30 -05:00
Areloch
c5ec4414f3 Merge branch 'notSoEmpty' of https://github.com/Azaezel/Torque3D into development 2016-05-10 11:04:55 -05:00
Areloch
6f672fe21d Merge pull request #1607 from Areloch/Camera_MatEd_Crashfix
Select camera when in material editor crashfix.
2016-05-10 11:01:23 -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
Azaezel
c104313f43 updated empty template with stray script files from devhead that had yet to be converted 2016-05-08 21:21:52 -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
30f0a9c5f9 replaces GL_PIXEL_UNPACK_BUFFER_ARB with GL_PIXEL_UNPACK_BUFFER 2016-05-06 22:05:32 -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
Jeff Hutchinson
a216b4515b remove old legacy extensions that aren't being used. 2016-05-06 21:24:52 -04:00
Azaezel
5a27313e14 removes FrameAllocatorMarker usage from GL side _fastTextureLoad
Repeatedly caused issues with 4096^2 atlases
2016-05-06 19:35:40 -05:00
Areloch
bc9033da2e Rolls back OGL Projection correction.
Epoxy looks to handle the projection depth range so it behaves more like D3D, so this change was doubling up and causing problems.
2016-05-06 16:45:18 -05:00
Areloch
6caafc9844 Merge pull request #1594 from Areloch/NFD_NON_SDL_Fix
Fixes the cmake blacklist filter it not using SDL
2016-05-05 23:10:09 -05:00
Areloch
a63a636d03 Fixes the blacklist filter in the event we aren't using SDL to avoid including an unwanted file dialog codefile. 2016-05-05 22:59:17 -05:00
Areloch
e8bc70e514 Merge pull request #1567 from JeffProgrammer/epoxy
Added Epoxy in favor of GLEW
2016-05-05 19:40:59 -05:00
Jeff Hutchinson
e69f9b924b Merge pull request #6 from rextimmy/epoxy_sdl_fix
GL fix for Epoxy and creating a 3.2 core context with win32 api.
2016-05-05 10:37:13 -04:00
rextimmy
8056a4bfa9 GL fix for Epoxy and creating a 3.2 core context with win32 api. 2016-05-05 22:25:34 +10:00
Areloch
fb3401a5d7 Merge pull request #1589 from Azaezel/GFXDynamicTextureProfile
GFXDynamicTextureProfile
2016-05-05 01:35:26 -05:00
Areloch
419fe3a343 Merge pull request #1591 from Areloch/PhysicsShapeDamageFix
Re-enable destruction of PhysicsShapes.
2016-05-05 01:22:51 -05:00
Jeff Hutchinson
cc4d35d563 Merge pull request #5 from rextimmy/epoxy_sdl_fix
Fix for Epoxy to work with SDL and VS 2015
2016-05-04 09:47:52 -04:00
rextimmy
f1c8286c2f Fix for Epoxy to work with SDL and VS 2015 2016-05-04 10:05:34 +10:00
Areloch
b3bc199975 Adds a TypeSimObjectPtr type for easy reference to other objects as a field. 2016-04-30 23:38:35 -05:00
Areloch
de0fe06bc8 Makes netObjects inherit off simGroup as opposed to simObject so that just about any object can function as a parent with children. 2016-04-30 23:34:54 -05:00
Areloch
86dd8a8cf7 Adds a onPostAdd callback to simObject so we can do handling AFTER the object and it's children have been added successfully. 2016-04-30 23:32:10 -05:00
Areloch
5231012980 Merge pull request #1593 from Areloch/NFD_PR
Native File Dialogs
2016-04-30 17:18:33 -05:00
Areloch
ec6f9c05a6 Integrates the nativeFileDialog library to enable native file dialogs on the major platforms. It is activated with SDL. 2016-04-30 15:48:33 -05:00
Areloch
c645475e56 Adds in some missing script functions that let projectiles damage and destroy physics shapes. 2016-04-26 11:30:24 -05:00