Commit graph

4054 commits

Author SHA1 Message Date
Areloch cb766f2878
Merge pull request #1033 from marauder2k9-torque/GuiInspectorFields
Add multi dimensional entries to inspector
2023-07-07 22:59:27 -05:00
marauder2k7 f127b084ce Add 2d value types
- TypePoint2F and TypePoint2I now display as multi dimensional
2023-07-04 07:15:03 +01:00
AzaezelX 061c25686d add setEulerRotation to pair with getEulerRotation for sceneobjects 2023-07-03 15:14:17 -05:00
marauder2k7 22f8e46288 Copy and Paste
Copy and paste buttons added for multi dimensional fields
No longer name conflict errors coming up.
2023-07-03 20:59:16 +01:00
marauder2k7 4abd6d6bc2 Merge remote-tracking branch 'upstream/development' into GuiInspectorFields 2023-07-03 19:19:14 +01:00
AzaezelX fd758b1736 fix forest element inspector 2023-06-17 11:31:32 -05:00
marauder2k7 5527207805 AngAxis toEuler
Add Euler set and to functions to AngAxis.
Removes the need to use a matrix
2023-06-13 15:11:28 +01:00
marauder2k7 a4e2bfe34e Commit before cleanup
-TypeRotationMatrix working as designed
no more funny business on focus.
2023-06-11 22:37:08 +01:00
marauder2k7 cbe2bd4c7b Conversions
Commit from Azaezel to fix the naming of inspector fields.
TypeMatrixField still messes around on first responder, we know these functions convert angAxis to eul properly and from eul to angAxis but when the data comes to TypeMatrix it changes.... weird issue is weird.
2023-06-11 21:59:03 +01:00
marauder2k7 92920dbcd9 Change to GuiTextEditSliderCtrl
Change dimension elements to a guiTextEditSliderCtrl
add a button to copy all elements of the multi dimension class to the platform clipboard
2023-06-10 21:30:58 +01:00
marauder2k7 0a7550eeba Update guiInspectorTypes.cpp 2023-06-10 18:15:03 +01:00
marauder2k7 e6dbe0a860 Add multi dimensional entries to inspector
-Added 3 new classes
GuiInspectorType2DValue - 2 dimensional value
GuiInspectorType3DValue - 3 dimensional value
GuiInspectorType4DValue - 4 dimensional value

Added GuiInspectorTypePoint3F for 3 dimensional positions.
Added GuiInspectorTypeMatrixRotation for object rotation. Translates rotation to degrees atm. Input from this is not accounted for just yet.
2023-06-10 16:50:59 +01:00
Brian Roberts 06e4ce01a9
Merge pull request #1024 from Azaezel/alpha41/TypeHints
add TypeHints for scenetree viewing
2023-06-02 10:46:33 -05:00
Brian Roberts b481dc5db9
Merge pull request #1021 from ohmtal/development
FreeBSD ready reloaded
2023-06-02 10:46:16 -05:00
Brian Roberts 687fd97ce0
Merge pull request #1025 from Azaezel/alpha41/unsignedunmangle
fix strrepeat <0
2023-06-02 10:46:04 -05:00
AzaezelX f79c6280b3 fix strrepeat <0 2023-05-25 18:38:45 -05:00
AzaezelX 361ea5286e set typehint for spawners to the spawndatablock 2023-05-24 19:58:34 -05:00
AzaezelX b1f118898e add TypeHints for inspector viewing
typehints operate as an additional label for a given class in the inspector, allowing one to specify what class-entry to use as a tag
examples: Prefab displays prefab filename
TSStatic displays the used shape asset name
SFXEmitter displays the played sound asset
GameBase derivatives display the datablock used
2023-05-23 12:35:07 -05:00
Brian Roberts cc3c2c53ae
Merge pull request #1023 from Azaezel/alpha41/mInvLerp
inverse lerp function
2023-05-22 12:08:17 -05:00
AzaezelX c5afb407db inverse lerp function 2023-05-21 12:10:33 -05:00
AzaezelX a03586a5fe account for null dumpmatix captions 2023-05-18 10:19:30 -05:00
XXTH ed1402cbd3 better cpu count guess 2023-05-12 13:47:55 +02:00
XXTH 4a0c4a69f0 added comments 2023-05-12 13:32:01 +02:00
XXTH cb47c2849c disabled PosixCPU info for freebsd
added sdlCPUInfo
2023-05-12 13:17:35 +02:00
XXTH a81c6ebd06 clean up 2023-05-12 11:42:06 +02:00
XXTH 31481931e8 added fix for onExit => https://torque3d.org/forums/topic/7261-fix-for-onexit-not-called-on-linuxbsd-posix/ 2023-05-11 20:46:36 +02:00
XXTH 6cbc09954a fixed POSIXCPUInfo trim 2023-05-10 20:14:24 +02:00
XXTH e0ab3830af bsd ready 2023-05-10 14:58:47 +02:00
Brian Roberts 0d981b62cf
Merge pull request #1015 from Azaezel/alpha41/consoleCleanups
fix warn reports for buffer over-runs
2023-05-09 14:44:01 -05:00
Brian Roberts 2dd0bde5e1
Merge pull request #1019 from Azaezel/alpha41/massCenter
fix massCenter exposure
2023-05-09 11:51:17 -05:00
AzaezelX 5693adb348 fix massCenter exposure 2023-05-09 11:50:43 -05:00
Brian Roberts a6f03897ed
Merge pull request #1016 from Azaezel/alpha41/mangledMath
clean up math varsize complaints
2023-05-08 21:28:49 -05:00
Areloch 667a0db760 Fixed getAssetBy... functions so the lookup loop is more stable and doesn't fail if null results return
Added sanity check to reflectionProbe preview shape so if the material didn't load right, it doesn't crash
Added logic to better control if module groups as a whole should fail if a module dependency in that group fails, defaulted to off
Added sanity check if a shape's material failed to load so it doesn't crash when checking accumulation rules
Added search bar to SimView control for easier use
2023-05-08 21:18:23 -05:00
Brian Roberts 3538da30d0
Merge pull request #1014 from Azaezel/alpha41/EnumErrata
add safeties for enum math across define boundaries
2023-05-03 13:38:23 -05:00
AzaezelX 3f2113bf7d revert some removals of vert to pixel shader getters to avoid register mismatches.
(cherry picked from commit 1e1e39f4f72ac6d4ce19704f69ba34bbff29d89c)
2023-05-01 17:10:38 -05:00
AzaezelX 835d6f009a thread var initialization fixes 2023-05-01 14:17:17 -05:00
AzaezelX e386a360ca more arithmetic overflow warns
(cherry picked from commit 3974775b9c6bc49fba7295dcdd35e8f2cc06a0c9)
2023-05-01 10:43:11 -05:00
AzaezelX b86716c670 further console cleanups. mostly of the form of correcting uninitialized values. some arithmatic sizes
(cherry picked from commit 833149e962d165aa4c10e6c760bb1a1116d1baf8)
2023-05-01 10:41:33 -05:00
AzaezelX 0d4221fa59 uninitialized and unused value cleanups
(cherry picked from commit 1f08602cf0ad84409cd8b3520510f9c6ce7d5f9c)
2023-05-01 10:40:02 -05:00
AzaezelX fed381c945 more console cleanups
(cherry picked from commit a66ff6407cdcdf233996f49c74d7a42537314562)
2023-04-28 17:16:48 -05:00
AzaezelX 0ce2da3a23 clean up math varsize complaints 2023-04-27 16:10:04 -05:00
AzaezelX 339393aa85 adress https://github.com/TorqueGameEngines/Torque3D/pull/1015#discussion_r1179352178
docs for CodeBlock::calcBreakList() sizing
2023-04-27 11:12:24 -05:00
AzaezelX 9e036f142b fix warn reports for buffer oveeruns
also misc uninitialized vars
2023-04-26 22:29:32 -05:00
AzaezelX aa02e48c8d add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
bank 93cea86312
Fix buffer overflow in GuiTreeViewCtrl class.
When calculating test length (in method `GuiTreeViewCtrl::Item::getDisplayTextLength()`)
the code doesn't take into account the `ItemState::Marked`, which
adds additional char in `GuiTreeViewCtrl::Item::getDisplayText()` method.

This commit fixes warning printed into console when calling `dSprintf()`
as the buffer is now enough to fit all data.
2023-04-24 13:41:19 +03:00
AtomicWalrus c64c2212ad Fix for MacOS OGL 4.1 support
Workaround: MacOS does not have access to glClipControl.

Because the lower range of the 32F buffer is not available using this workaround, the improvements to depth behavior from depth reversal will be limited on MacOS. Behavior is equivalent to reversed depth on a 24UINT buffer; Better than stock, but not dramatically.
2023-04-15 15:21:49 -06:00
AtomicWalrus 75625dc679 Reverse depth & 32F buffer format
-Adds reversed depth projection model, dramatically increasing depth buffer effective resolution.
-Adds 32F depth 8U stencil format GFXFormatD32FS8X24 (following DX naming conventions). Note this is a 64-bit format, and likely not suitable for mobile platforms. Revert to GFXFormatD24S8 in renderManager.tscript for mobile & "ancient" platforms.
-Corrects alignment of texture type details array.
2023-04-14 20:13:28 -06:00
Brian Roberts 26adb11e49
Merge pull request #1008 from Azaezel/alpha41/timeTrouble
fileModifiedTime cleanups
2023-04-11 18:29:28 -05:00
AzaezelX 4c86d4d699 fileModifiedTime cleanups
leverage more windows-specific commands for  _CopyStatAttributes to among other things account for timezones when comparing vs the getTimeStamp() command
2023-04-08 21:05:24 -05:00
Brian Roberts 43b38bb8fb
Merge pull request #1007 from Azaezel/alpha41/miscFixes08-04-2023
misc warn fixes
2023-04-08 14:19:35 -05:00