Commit graph

2086 commits

Author SHA1 Message Date
Glenn Smith 7769da9434 Use strncat instead of strcat to prevent some buffer overflows 2018-03-06 00:48:44 -05:00
Glenn Smith 53f35e7fb1 Removed unused macString.mm that has old versions of string functions with no bounds checking 2018-03-05 23:48:09 -05:00
Areloch 6497ea5c76 Merge branch 'development' into issue_2115 2018-02-14 01:43:34 -06:00
Areloch 0d74150083 Merge pull request #2158 from Azaezel/thatsAwrap
adds an mWrap and mWrapF method
2018-02-14 01:41:47 -06:00
Areloch 897174f5ea Merge pull request #2159 from Azaezel/veryValid
exposes getters for typevalidators.
2018-02-14 01:40:42 -06:00
Areloch 0caf4691d9 Merge pull request #2157 from Areloch/NetworkedFields
Adds a new function for defining network-aware console fields on NetObjects
2018-02-14 00:59:25 -06:00
Areloch 2861ed41a5 Merge pull request #2206 from Azaezel/profileProblem
companion to #2203:
2018-02-14 00:59:08 -06:00
Areloch 5d8d14b2f3 Merge pull request #2203 from Bloodknight/DifferentProfileFixes
Fixes console spamming of material profiles
2018-02-14 00:58:57 -06:00
Areloch e617d60797 Merge pull request #2205 from Areloch/ContextKeybinds
Implements hold and context keybinds
2018-02-14 00:57:48 -06:00
Areloch 7e00785b6e Merge branch 'development' into NetworkedFields 2018-02-14 00:11:32 -06:00
Areloch cd5b0a0612 Merge pull request #2198 from Areloch/MenuBarMoreFixup
Fixes up some menubar issues.
2018-02-13 14:55:49 -06:00
Areloch 3bd7f821e5 Merge pull request #2196 from Bloodknight/Cleanup_CLASSDOC
Remove nested CLASSDOC Macro
2018-02-13 14:55:09 -06:00
Areloch c3ac30e682 Merge pull request #2190 from Areloch/AssetCodeCleanupRoundOne
Some code cleanup on assets, entities and components, round 1
2018-02-13 14:54:50 -06:00
Azaezel 8bc4858fa3 companion to #2203: corrects a couple backend profile assignment mismatches found with @rextimmys debug spew 2018-02-13 02:51:28 -06:00
Areloch 81a7fabe3c Implements hold and context keybind functionality, enabling the ability to have actionmap binds for holding down a button(complete with hold time return if needed) and context binds for being able to have different events for tapping and holding on the same key. 2018-02-12 21:36:19 -06:00
Marc Chapman ef437835d7 Profile change for specular files 2018-02-12 16:20:18 +00:00
Areloch 7af5c4392f Update meshRenderSystem.cpp 2018-02-11 02:09:53 -06:00
Areloch 4d10f02890 Tabs&Spaces 2018-02-08 16:04:50 -06:00
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
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