Commit graph

8230 commits

Author SHA1 Message Date
AzaezelX
a0a22178c3 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into TreeWork 2026-02-10 20:45:42 -06:00
AzaezelX
c4e973c6e9 while modern compilers *should* already treat template methods as inherently inline, never hurst to spell it out 2026-02-03 21:21:24 -06:00
AzaezelX
39124f6408 sorted methods into aspects for ease of lookup, , const correctness handling, more utility methods, mostly focused on extracting vectors, plugging in callback enabled functions, and the ability to add safety checks like circular dependency detection (also tree stitching) 2026-02-03 18:41:19 -06:00
Brian Roberts
c4931e6bed
Merge pull request #1666 from Azaezel/alpha41/clickClackClunkiness
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
folllowup to https://github.com/TorqueGameEngines/Torque3D/pull/1661
2026-02-02 22:21:32 -06:00
AzaezelX
1df49dc6f7 general cleanups, hardening.
added new methods
inline void nullChild(U32 i)
   static void safeDetachFromParent(TreeNode<T, nullClears>* node)
   inline void forEachLeafAs(Func callback)
2026-02-02 22:11:23 -06:00
AzaezelX
8874c250da folllowup to https://github.com/TorqueGameEngines/Torque3D/pull/1661
if onImage (the up/down arrow, not to be confused with the class icon) go ahead and open/close the tree view wether we're selected or not
2026-01-30 10:34:19 -06:00
AzaezelX
8ec65267ea cleanups, utility methods
extended template to use a compiletime nullClears (defaults to true) to clear nodes if they would be set to NULL entries
cleanups and refactors
yet more utility methods
2026-01-30 00:52:33 -06:00
AzaezelX
09f0fa2861 cleanups and a few more utility methods 2026-01-27 17:47:19 -06:00
AzaezelX
0175c109ac safety 2026-01-27 00:32:12 -06:00
Brian Roberts
476ed66932
Merge pull request #1665 from Azaezel/alpha41/beNormal
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
ConvexShape corrections
2026-01-26 19:09:53 -06:00
AzaezelX
afb3ed0f27 more straightforward (and corrected) texcoord assignment 2026-01-26 12:45:57 -06:00
AzaezelX
b56867be55 clean up straight downward facing convexshape normals 2026-01-26 12:12:23 -06:00
AzaezelX
6d708af9ba destructor work, set/get child by ID work 2026-01-26 01:44:05 -06:00
AzaezelX
c72d8a1f9b baseline node augs
tree->treenode for clarity, foreshorted a few method names, added a few inline utility methods
2026-01-25 13:18:01 -06:00
AzaezelX
b692aa14c2 vectorobject for vector script exposure similar to the treeobject class.
todo: see about using the former in the latter
2026-01-24 16:00:50 -06:00
Areloch
5db8c75083
Merge pull request #1655 from Azaezel/alpha41/exposedBone
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
provide a global scriped variable for TSShape::smMaxSkinBones
2026-01-21 19:35:14 -06:00
Brian Roberts
84b2405efb
Merge pull request #1656 from Azaezel/alpha41/aiAugs
expanded movement state data for aicontrollers
2026-01-21 18:59:16 -06:00
Brian Roberts
d2b63f73a8
Merge pull request #1661 from Azaezel/alpha41/clickclack
fix clicking a treeview element tripping expand/collapse
2026-01-21 18:59:03 -06:00
Brian Roberts
96dda12c53
Merge pull request #1664 from Azaezel/alpha41/camCam
Some checks are pending
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Waiting to run
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Waiting to run
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Waiting to run
address https://github.com/TorqueGameEngines/Torque3D/issues/1663
2026-01-21 12:25:19 -06:00
AzaezelX
aacb41ce0b adress https://github.com/TorqueGameEngines/Torque3D/issues/1663
by ensureing if the players is a camrea, then %conection.camera knows it's the same thing
2026-01-21 12:16:12 -06:00
AzaezelX
89fb2990df fix clicking a treeview element tripping expand/collapse
set the wasselected check earlier in the test chain, and test against it  so just selecting it doesn't automatically also trip expand/collapse
2026-01-20 11:56:44 -06:00
Brian Roberts
475142b847
Merge pull request #1660 from marauder2k9-torque/DefaultArgStringFix
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
Fix for String arguments for functions
2026-01-20 04:00:01 -06:00
marauder2k7
3a4e2f8a7e Update astNodes.cpp
strings that are arguments for a function need to be put into the global string table. PrecompileIdent does this for the function name etc so it pulls from that during compiled eval
2026-01-20 08:26:51 +00:00
Brian Roberts
6e96c0510d
Merge pull request #1659 from Azaezel/alpha41/decalInstPreview
Some checks are pending
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Waiting to run
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Waiting to run
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Waiting to run
fix decal instance preview
2026-01-19 21:37:15 -06:00
Brian Roberts
9cd04a2a67
Merge pull request #1657 from Azaezel/alpha41/singletonSpam
dont try and recreate singletons
2026-01-19 21:37:10 -06:00
Brian Roberts
5361e59a2d
Merge pull request #1658 from Azaezel/alpha41/itsAboutControl
GameBaseData::onNewDataBlock reload state
2026-01-19 21:37:04 -06:00
AzaezelX
0b19bd9aca fix apcrash when loading a new mission after painting decals but before properly selecting a new one to paint 2026-01-19 21:28:48 -06:00
AzaezelX
d8f585c552 fix decal instance preview
update previews for instance selection just like we do db selection
2026-01-19 12:28:10 -06:00
AzaezelX
15f619c1aa GameBaseData::onNewDataBlock reload state
if live editing a datablock for an object you're piloting, reapply the control post onadd
2026-01-19 12:00:10 -06:00
AzaezelX
0f827ac89e dont try and recreate singletons 2026-01-19 11:15:42 -06:00
AzaezelX
8411ae3c4b kill pointless line 2026-01-18 17:51:33 -06:00
AzaezelX
311c3f224d expanded movement state data for aitonrollers
status tracking and scipt tests for stopped, inair (above a minum) and inwater
2026-01-18 17:43:25 -06:00
AzaezelX
ae9ae1db44 provide a global scriped variable for TSShape::smMaxSkinBones
allows per project to either expand or educe the cap depending on needs
2026-01-17 13:17:02 -06:00
Brian Roberts
a80502d50d
Merge pull request #1654 from Azaezel/typofix
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
typofix
2026-01-17 12:45:08 -06:00
AzaezelX
7d020b9379 typofix 2026-01-17 12:44:41 -06:00
Brian Roberts
c811140d3b
Merge pull request #1653 from Azaezel/navtoolMinorFixes
Some checks are pending
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Waiting to run
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Waiting to run
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Waiting to run
navmesh minor tooling fixes
2026-01-16 08:02:43 -06:00
AzaezelX
b8f7d186d3 default controlables and items to mPathfindingIgnore = true; 2026-01-14 09:21:57 -06:00
AzaezelX
4481bdc726 don't use MarkerObjectTypes for navmesh generation
do use a minium radius for clicking on a link to select it in the tooling
2026-01-13 20:02:37 -06:00
Brian Roberts
f2a5b06803
Merge pull request #1643 from Azaezel/dmUI
Some checks failed
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
offload weapon/ammo counter update commands to the generic damagemodel
2026-01-11 11:18:29 -06:00
AzaezelX
4c73e381c3 tree template
variation on vector
2026-01-08 11:53:12 -06:00
Areloch
62ab78cb55
Merge pull request #1652 from Areloch/ABAssetPreviewBitmapsFix
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
Fix for AB Preview Button Bitmaps display
2026-01-07 18:59:29 -06:00
JeffR
322d3bb093 Allows setBitmap calls on IconButtons to set the bitmap data even if the control isn't awake to avoid issues of a set call being 'skipped' 2026-01-07 17:57:53 -06:00
JeffR
d95f5f798e Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into ABAssetPreviewBitmapsFix 2026-01-07 17:12:37 -06:00
Brian Roberts
55f7b227f0
Merge pull request #1651 from marauder2k9-torque/development
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
Update bitmapUtils.h
2026-01-05 21:06:44 -06:00
JeffR
56db8cadd0 Adjusts the setup of the AB preview buttons so we initialize the fields in the new block rather than risking the button being asleep while trying to set bitmaps. 2026-01-03 02:45:14 -06:00
marauder2k7
1b528b818e Update bitmapUtils.h
the conversion functions were making assumptions that were wrong based on mant being 0 and the out being 0 completely on small numbers also if the sign was flipped it rounded to 0. Also simplified
2026-01-02 11:37:36 +00:00
Brian Roberts
199ca6b3af
Merge pull request #1650 from marauder2k9-torque/development
Some checks failed
Linux Build / ${{matrix.config.name}} (map[build_type:Release cc:gcc cxx:g++ generator:Ninja name:Ubuntu Latest GCC]) (push) Has been cancelled
MacOSX Build / ${{matrix.config.name}} (map[build_type:Release cc:clang cxx:clang++ generator:Ninja name:MacOSX Latest Clang]) (push) Has been cancelled
Windows Build / ${{matrix.config.name}} (map[build_type:Release cc:cl cxx:cl environment_script:C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat generator:Visual Studio 17 2022 name:Windows Latest MSVC]) (push) Has been cancelled
Update bitmapUtils.cpp
2026-01-01 10:45:51 -06:00
marauder2k7
848219e226 Update bitmapUtils.cpp
add conversions for packed texture formats
2026-01-01 15:07:33 +00:00
Brian Roberts
1c92b5b138
Merge pull request #1649 from marauder2k9-torque/Restore_LibPNG
Restore lib png
2026-01-01 08:37:59 -06:00
marauder2k7
948fdfd353 Update pngpriv.h
fp.h is deprecated in macosx so just include math
2026-01-01 12:13:12 +00:00