Commit graph

3993 commits

Author SHA1 Message Date
Areloch
40fff8ef50 Stabilizes the add/remove behavior of menubars by also tracking the modeless background control the menubars use for proper cleanup as well.
Also fixes an issue where the findMenu call wasn't properly translating the incoming string to StringTableEntry.
2018-02-08 16:00:11 -06:00
Marc Chapman
9d01f7a973 Remove nested CLASSDOC Macro 2018-02-05 23:02:02 +00:00
Bloodknight
20eefee3cd Merge branch 'development' into issue_2115 2018-02-05 15:59:33 +00:00
Areloch
abe4370c8a Some code cleanup, tweak and optimizations for assets, entities and components. 2018-02-04 16:21:07 -06:00
Areloch
14ae287c0c Bugfixes and improvements for the animation component and related asset behavior.
Adds in ability to establish a shape animation asset as being cyclic or blended.
Adds functionality for blended animations to integrated into shapeAssets.
2018-02-04 14:31:28 -06:00
Areloch
2b144d8f9b Merge pull request #2187 from JeffProgrammer/torquescript_64_dsos
Fix Torque3D 64bit DSOs.
2018-02-04 13:18:10 -06:00
rextimmy
fd23f0d0e9 gcc/clang build fix 2018-02-04 09:32:39 +10:00
Jeff Hutchinson
abc01fd377 Fix Torque3D 64bit DSOs.
Fix from Torque2D for 64bit string table entries.
2018-02-03 00:32:22 -05:00
Areloch
963739102c Merge pull request #2182 from Areloch/AssetBrowser_Initial
Asset browser initial
2018-02-01 21:14:50 -06:00
Areloch
b9adeb0f28 Corrects the clearFields function of the variableInspector and enables the callback field support. 2018-02-01 01:51:51 -06:00
Areloch
0deb20d364 Merge pull request #2183 from Areloch/ShapeEdDisplayFixes
Fix a few rendering issues in the Shape Editor
2018-01-31 14:11:02 -06:00
Areloch
0a752b489a Merge pull request #2170 from chaigler/BL_remove_fix
Fixes for compiling without Basic Lighting
2018-01-31 14:10:50 -06:00
Areloch
490c05ffd4 Adds the ability to force the path returned by the file dialog to be relative. 2018-01-29 22:16:42 -06:00
Areloch
0492dd8b96 Tabs n' spaces 2018-01-29 15:24:46 -06:00
Areloch
4ae350da90 Hides the display of the 'camera axis' gizmo in the shape editor, as well as fixing it so that when you select a animation-only shapefile, it will correctly compute the shape bounds and thus render the bones correctly. 2018-01-29 15:20:34 -06:00
Areloch
57284507f2 Adds the Systems for the Entity-Component-Systems setup. 2018-01-28 16:58:00 -06:00
Areloch
35c0860418 Added Sound Component 2018-01-28 15:17:14 -06:00
Areloch
398b00f0dd Minor fixes for guiPopupMenuCtrl to get the submenu arrow to render, as well as a sanity check. 2018-01-28 15:15:10 -06:00
Areloch
cfe977584d Added function to guiMenuBar to find a menu by name. 2018-01-28 15:14:16 -06:00
Areloch
727592d63a Small fixes to the inspector, and added the ability for the variableInspector to process command and filename field types. 2018-01-28 15:12:02 -06:00
Areloch
5bf3d56a05 Addition to guiTreeViewCtrl - ability to find what item in the tree is under a given position. 2018-01-28 15:07:50 -06:00
Areloch
f731a91c78 Expansion of the guiDragAndDropCtrl - support for dragging to any control visible on the canvas. 2018-01-28 15:03:44 -06:00
Areloch
68efd8e22a Updates to component classes -
Shift from ghosted components to entity-managed for networking
Initial implementation of Systems through the Mesh Component
2018-01-28 14:57:02 -06:00
Areloch
ae5a43de70 Asset Browser initial implementation - Asset updates.
Script execution on certain existing assets, new asset types and some tweaks to the managers.
2018-01-28 14:48:02 -06:00
Areloch
3b0b3c1f56 Merge pull request #2094 from Areloch/ClearScopeAlwaysConsoleFunc
Adds a engine method to clear the scopeAlways flag on netObjects
2018-01-27 18:42:05 -06:00
Areloch
c23c99dbea Merge pull request #2118 from Areloch/MenuAndPopups
Refactors the Popup menus and GuiMenuBars
2018-01-27 18:41:00 -06:00
chaigler
4a72d54782 Fix assert on exit when Basic Lighting is removed
Occurs because ShadowMapManager is destroyed before
AdvancedLightManager.
2018-01-24 16:30:34 -05:00
chaigler
37b0ec68f7 Fixes linker errors when Basic Lighting is removed 2018-01-24 16:27:29 -05:00
Marc Chapman
b8f722e2f9 Phase 2: #ifdef for Zodiacs and particles 2018-01-23 22:03:18 +00:00
Marc Chapman
0c65f9ee8e Phase 1: Add a #define test 2018-01-23 20:24:35 +00:00
rextimmy
f2dc291cf5 PhysX 3.4 implementation 2018-01-19 22:34:26 +10:00
Areloch
9ad2e18766 Initial setup for shader connectors 2018-01-16 14:24:21 -06:00
Azaezel
3bc15057ed exposes getters for typevalidators.
example usage

FRangeValidator gravCoefFValidator(-10.f, 10.f);
   addFieldV( "gravityCoefficient", TYPEID< F32 >(), Offset(gravityCoefficient, ParticleData), &gravCoefFValidator,
      "Strength of gravity on the particles." ); <- clamps gravity within a -10 to 10 range when evaluating scriptt-set changes

mClamp(gravityCoefficient,gravCoefFValidator.getMin(),gravCoefFValidator.getMax()) for any calculations done on the source side would do the same at the point that is called, with a singularl lookup spot for the range.
2018-01-16 14:14:57 -06:00
Azaezel
d57287cf75 adds an mWrap and mWrapF method for cycling values to within a given range.
examples of usage would be say, keeping a rotation within 360 degrees, or hitting a tile boundary and resetting the offset
2018-01-16 13:40:09 -06:00
Areloch
402ce9b251 Adds a new function for defining static console fields on NetObjects - addNetworkedField()
This lets you attach a 32 bit netMask to the field, so that when it is changed, it automatically flags the associated bitmasks on the netobject as dirty.

This is to shortcut having to flag certain masks being marked as dirty through protected fields and just simplify/streamline the code.
2018-01-16 00:47:53 -06:00
Areloch
1ef75b411c Merge pull request #2133 from lukaspj/console-function-errors
Fix minor errors in console function definitions
2018-01-10 13:52:33 -06:00
Areloch
577e8d8608 Merge pull request #2131 from lukaspj/improve-console-dump
Improve console dump with additional information
2018-01-10 13:52:23 -06:00
Areloch
c19ffe8e69 Merge pull request #2134 from lukaspj/console-cleanup
Cleanup of the elements exposed to the console
2018-01-10 13:52:02 -06:00
Areloch
fad103e4b1 Merge pull request #2126 from Areloch/FixComponentEditorDisplay
Fixes the inspector/component editor to display components
2018-01-10 13:12:35 -06:00
Areloch
1068ea1eac Merge pull request #2156 from Areloch/RemoveOldBitmapLoaders
Remove MNG and GIF loaders
2018-01-10 09:50:56 -06:00
Areloch
45879b67ff Loader files didn't properly get deleted with the libmng and lungif library removal. 2018-01-10 09:49:28 -06:00
Areloch
f43bb6b565 Merge pull request #2059 from Bloodknight/SaharaUndo
#define AUTOPAINT_UNDO
2018-01-10 09:47:24 -06:00
Azaezel
01f0d5cfca tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places. 2017-12-27 22:57:47 -06:00
Richard Marrevee
592e443c77 Update gfxD3D11Device.cpp 2017-12-22 17:11:31 +01:00
Lukas Joergensen
86a0ba44d3 Cleanup of the elements exposed to the console 2017-12-10 19:02:20 +01:00
Lukas Joergensen
2bd43efcb9 Fix minor errors in console function definitions 2017-12-08 21:08:35 +01:00
Lukas Joergensen
ae6b035f10 Improve console dump with additional information, such as array sizes and variadic function 2017-12-08 20:50:44 +01:00
Areloch
f657f774ce Updates Native File Dialogs lib to enable browsing and selecting of folders, instead of just files. 2017-12-06 14:09:27 -06:00
Areloch
b5277e0f08 Fixes the inspector/component editor to display the components attached to an entity correctly in the inspector. 2017-12-03 01:21:30 -06:00
Azaezel
f9bf4fca4b new method: TSShapeInstance::resetMaterialList(). Sets all object-instance mapto values back to initial state. reskin now does so to avoid having to track origional values independently. (so say, if you've already got skin1 plugged in to one, and nothing in to another, no need to set skin1=skin2 on the first and skin2 or base=skin2 on the second to swap both on over to skin2).
also by request, went ahead and killed case sensitivity for mapto string replacement when reskinning.
2017-11-12 23:58:34 -06:00