Commit graph

2327 commits

Author SHA1 Message Date
Areloch
f237caff5e 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
fafc3acd5e Remove nested CLASSDOC Macro 2018-02-05 23:02:02 +00:00
Bloodknight
c8e9b85ed3
Merge branch 'development' into issue_2115 2018-02-05 15:59:33 +00:00
Areloch
c337649019 Some code cleanup, tweak and optimizations for assets, entities and components. 2018-02-04 16:21:07 -06:00
Areloch
5ad9ae30bb 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
7ef781d94c
Merge pull request #2187 from JeffProgrammer/torquescript_64_dsos
Fix Torque3D 64bit DSOs.
2018-02-04 13:18:10 -06:00
rextimmy
032a801a99 gcc/clang build fix 2018-02-04 09:32:39 +10:00
Jeff Hutchinson
d8e302efee Fix Torque3D 64bit DSOs.
Fix from Torque2D for 64bit string table entries.
2018-02-03 00:32:22 -05:00
Areloch
80c7dfcb6c
Merge pull request #2182 from Areloch/AssetBrowser_Initial
Asset browser initial
2018-02-01 21:14:50 -06:00
Areloch
fae9b17be8 Corrects the clearFields function of the variableInspector and enables the callback field support. 2018-02-01 01:51:51 -06:00
Areloch
74187743bf
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
d784228f32
Merge pull request #2170 from chaigler/BL_remove_fix
Fixes for compiling without Basic Lighting
2018-01-31 14:10:50 -06:00
Areloch
48a093eec4 Adds the ability to force the path returned by the file dialog to be relative. 2018-01-29 22:16:42 -06:00
Areloch
640e50565b Tabs n' spaces 2018-01-29 15:24:46 -06:00
Areloch
3ed1cafcbe 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
8bd533e001 Adds the Systems for the Entity-Component-Systems setup. 2018-01-28 16:58:00 -06:00
Areloch
6eec7aae2f Added Sound Component 2018-01-28 15:17:14 -06:00
Areloch
b645068530 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
1c98d6ece8 Added function to guiMenuBar to find a menu by name. 2018-01-28 15:14:16 -06:00
Areloch
73b81a8246 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
6563f46242 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
66f522668b Expansion of the guiDragAndDropCtrl - support for dragging to any control visible on the canvas. 2018-01-28 15:03:44 -06:00
Areloch
8eb442490a 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
4341428d53 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
ab453d068c
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
2d05d9dd70
Merge pull request #2118 from Areloch/MenuAndPopups
Refactors the Popup menus and GuiMenuBars
2018-01-27 18:41:00 -06:00
chaigler
e67e87cfac 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
59c81f9179 Fixes linker errors when Basic Lighting is removed 2018-01-24 16:27:29 -05:00
Marc Chapman
af62b5c0a9 Phase 2: #ifdef for Zodiacs and particles 2018-01-23 22:03:18 +00:00
Marc Chapman
1c2effd7fa Phase 1: Add a #define test 2018-01-23 20:24:35 +00:00
rextimmy
3bbdd9b155 PhysX 3.4 implementation 2018-01-19 22:34:26 +10:00
Azaezel
1a89d95919 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
cf98ef8350 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
b0e8a1f032 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
463cd50d0a
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
c4ded31d9a
Merge pull request #2131 from lukaspj/improve-console-dump
Improve console dump with additional information
2018-01-10 13:52:23 -06:00
Areloch
0cd17a049e
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
7eb71b531e
Merge pull request #2126 from Areloch/FixComponentEditorDisplay
Fixes the inspector/component editor to display components
2018-01-10 13:12:35 -06:00
Areloch
7e623d7a26
Merge pull request #2156 from Areloch/RemoveOldBitmapLoaders
Remove MNG and GIF loaders
2018-01-10 09:50:56 -06:00
Areloch
86756bd929 Loader files didn't properly get deleted with the libmng and lungif library removal. 2018-01-10 09:49:28 -06:00
Areloch
936f468b5d
Merge pull request #2059 from Bloodknight/SaharaUndo
#define AUTOPAINT_UNDO
2018-01-10 09:47:24 -06:00
Azaezel
491a7dcfdd 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
Lukas Joergensen
3bc46a8376 Cleanup of the elements exposed to the console 2017-12-10 19:02:20 +01:00
Lukas Joergensen
e7414e95a8 Fix minor errors in console function definitions 2017-12-08 21:08:35 +01:00
Lukas Joergensen
08144a1a55 Improve console dump with additional information, such as array sizes and variadic function 2017-12-08 20:50:44 +01:00
Areloch
2c1675992e 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
c74a7b1bc2 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
0079899281 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
Jeff Hutchinson
449c4c4d1e fix arg corruption on functioncall compilation. 2017-11-12 14:21:49 -05:00
Jeff Hutchinson
b05691c6b5 roll back changes to simFieldDictionary as it doesn't want to play nice and causing corruption 2017-11-12 13:39:14 -05:00