Commit graph

5201 commits

Author SHA1 Message Date
marauder2k7
fa7a8df3aa linux required changes 2026-02-27 14:41:37 +00:00
marauder2k7
d8b511bbf9 mac isa neon update
added float3
restructured the classes to look more like the final version of the x86 classes
2026-02-27 14:07:26 +00:00
marauder2k7
657a606c57 Update math_backend.cpp 2026-02-27 11:32:58 +00:00
marauder2k7
f0a3251cd3 all float3 and float4 functions and isas
completed all options of float3 and float4 functions in isas and math_c
neon still to be done but that will be on mac.
2026-02-27 11:28:51 +00:00
marauder2k7
18d0aa0418 further sse simd additions
avx2 float3 added
added normalize_magnitude
added divide fast to float3 may copy to float4

move static spheremesh to drawSphere (initialize on first use) so platform has a chance to load the math backend
2026-02-26 21:11:31 +00:00
marauder2k7
2559145c06 Update math_backend.cpp 2026-02-26 16:45:13 +00:00
marauder2k7
13ec0dfa82 Merge branch 'TEST-PR-Streaming-and-Lazy-loading-ghosts' of https://github.com/marauder2k9-torque/Torque3D into TEST-PR-Streaming-and-Lazy-loading-ghosts 2026-02-26 16:41:00 +00:00
marauder2k7
43d1a91873 neon float4
note: 64bit only
2026-02-26 16:40:49 +00:00
marauder2k7
25ccdde085 moar changes
mac implementation had _mm_div (x86 intrinsic)
2026-02-26 16:40:01 +00:00
marauder2k7
ea5442a6c6 Update CMakeLists.txt
fix mac build
2026-02-26 15:35:38 +00:00
marauder2k7
37aa67fa8a math backend setup
setup libraries for different simd isa's
add float4 functions for c sse2 and avx2 (placeholder file for neon to be implemented on mac)
2026-02-26 14:57:16 +00:00
marauder2k7
2b375bfea4 cpu info check
find avx2 and avx512
2026-02-24 15:03:22 +00:00
marauder2k7
8a72ce5674 cleanup
removed classes that are no longer used
2026-02-24 09:48:13 +00:00
marauder2k7
14b5c7221d Update simObject.h
scope error
2026-02-24 00:39:02 +00:00
marauder2k7
cc6a1c0932 Update simObject.h
test case for restoring destroySelf to simobjectptr (ghosting may require it)
2026-02-23 19:06:38 +00:00
marauder2k7
ca4517c076 working weak ref
WeakRefPtr now actually acts like a weak reference
backend of weakRefPtr is now a weak_ptr so once the main shared_ptr is freed, they all get freed.
2026-02-23 18:39:05 +00:00
marauder2k7
d688f1cfde Update simObject.h 2026-02-23 18:39:04 +00:00
marauder2k7
43e673d8ea ref pointers
TODO: Cleanup

WeakRefBase lifetime is now controlled by a shared_ptr and a control block
objects now act like shared and weakptrs so they free themselves without any outside involvement, last of an objects reference goes out of scope object deletes.
2026-02-23 18:39:03 +00:00
marauder2k7
f1f09efbfa backup
WeakRefBase is now threadsafe and uses an actual weak_ptr to drive its logic, strongrefbase is next.
2026-02-23 18:39:02 +00:00
marauder2k7
1fed963d82 updates
Fixed streaming logic to only happen when we are not editing a mission, also some issues with objects that cannot be streamed eg camera, and player.

Reverted limits
2026-02-23 18:39:01 +00:00
marauder2k7
eecc2bdaee Test PR of lazy load of ghosts and scene streaming
For now scene streaming only affects how subscenes are loaded. If you try it on everything in a scene expect issues as the namespaces are not linked up at that point.

This is a TEST! Do not merge! If you do you will open up a gate to an alternate reality where all that you believe will cease to exist in an endless void of darkness.
2026-02-23 18:39:00 +00:00
AzaezelX
01b10cfb89 make reflectors optional
don't waste memory per object-instance on non reflective objects
2026-02-19 14:46:19 -06:00
marauder2k7
562756a306 Update guiBitmapCtrl.cpp 2026-02-17 00:23:53 +00:00
marauder2k7
6f0c31468f various fixes
added fix for font cache (stb required size to be read switch back to libpng knocks the stream off)

Added extra control over the rendering of guibtimaps
If guibitmaps are a child of buttons the profile colors now affect how to the button is rendered.
2026-02-17 00:13:10 +00: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
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
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
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
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
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
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
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
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
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
Brian Roberts
0f32c10a2c
Merge pull request #1647 from marauder2k9-torque/development
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
Update guiPopUpCtrl.cpp
2025-12-31 10:00:47 -06:00
marauder2k7
7f351ef429 Restore LIBPNG for png files
Restores the use of libpng for png files as stb does not support writing out 16bit png files.
2025-12-31 11:00:07 +00:00
marauder2k7
26ae2f8420 Update guiPopUpCtrl.cpp
Fix for "|" in text for popupctrl

If 1 was found it was just assuming all other bars existed for a colour input.

there could be a cleaner way to do this but the direct approach allows for clear safeties.
2025-12-31 05:55:11 +00:00
AzaezelX
5ffa3b81f1 dial back nullPtr usage
while it still remains a good idea to port as many NULL compares and assignments over to nullPtr as feasable, we do still need to sort out how to better support scripted empty, false, and zero assigns for things like objectIDs.

this means we'll need to both fully convert the backend of the parser to support that kind of thing, but also alter most if not all exisiting NULLs. up to and including things like SAFE_DELETE. while that's certainly feasable, given there's aproximatel 400 nullptr assigns/checks prior to this commit, and roughly 1800 of the prior, if it terminates in a script call and not an aip one direct, we'll be dialing that back until such time as fork fully fopcused on converting and resolving any lingering mismatches is completed.
2025-12-29 17:45:09 -06:00
AzaezelX
c65343b3c2 truncation correction
followup to https://github.com/TorqueGameEngines/Torque3D/pull/1639
clean up output calc formatting
2025-12-29 14:26:53 -06:00
vitawrap
f394db4b36
ConvexFeature: Fix collision list object references
Turns out ConvexFeature::collide assumes the second round of testVertex calls will only add one entry to the collision list at a time and was erroneously only changing the last object and material reference.
2025-12-28 17:46:46 +01:00
AzaezelX
67a74a0553 Revert "trip onadd in additional places"
This reverts commit 4f639a16b5.
2025-12-27 15:28:27 -06:00
Brian Roberts
7cad861536
Merge pull request #1640 from Azaezel/alpha41/ExtraOnAdds
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
trip onadd in additional places
2025-12-27 10:28:49 -06:00