Commit graph

4812 commits

Author SHA1 Message Date
Brian Roberts 4827c100f7
Merge pull request #1385 from Azaezel/alpha41/onTheClock
guiClockHud augs
2025-02-15 20:26:44 -06:00
AzaezelX 8993ffe3e6 guiClockHud augs
adds a pause, reversed, and significantTime inspector exposed variable to guiClockHuds
significantTime is in sceconds and triggers an onSignificantTimeReached callback
2025-02-15 16:48:15 -06:00
marauder2k7 142467ccc6 update lib
can use original cmakelists.txt from torque, but update naming to tinyxml2
2025-02-14 19:57:38 +00:00
Brian Roberts 69e763f698
Merge pull request #1381 from Azaezel/alpha41/detailGenerator
adds a built in detail map generator
2025-02-08 14:34:37 -06:00
AzaezelX 4d66ae37de handle mounted lights ghosting in and out
send a periodic corrective packet for mounted lights to ensure they stay mounted when moving in and out of ghosting
2025-02-08 10:58:50 -06:00
AzaezelX 516df48354 adds a built in detail map generator
splitTerrainMaps("data/some/file"); or  makeTerrainMapsFrom("module:anAsset"); to take a detailed albedo map and split it into a _bas(is) file thats an averaghe of the inut and a _det(ail) file to raise and lower different channels from that average.
special note: while used primarily for terrain authoring, these files could also be plugged into a normal material
2025-02-06 14:46:05 -06:00
Brian Roberts e77c4b3a18
Merge pull request #1364 from Azaezel/alpha41/offloadLibcurl
offload libcurl to resources
2025-02-06 14:01:33 -06:00
Brian Roberts b47ffb2f28
Merge pull request #1379 from Areloch/VariousSubSceneFixes
Various Subscene Fixes
2025-02-06 12:16:49 -06:00
JeffR 0d338f2d51 * Update levelAsset creation so it can be flagged to be creating a subScene preemptively, improving workflow when creating a SubScene level asset 'in place' via the inspector.
* Fixed issue of creating new SubScene using the full level template instead of a blank level file
* Fixed subScene inspector field handling so clicking the create new will mark the 'in place' created level asset as a subscene appropriately
* Changed up persistenceManager logic when parsing objects out - especially with specialty fields - to use Strings instead of const char* to simplify memory juggling and improve stability
* Rolled back specialty array field outputs for decal roads and convex shapes to have the field names in the output again
* Added sanity check for MeshRoad's when writing out via specialty array field to ensure there are profile nodes before trying to write any
* Added sanity check to avoid pointlessly writing out meshroad and river position field into subScene file as it could cause a transform double-up and cause them to move when loading from a subscene
2025-02-05 22:51:43 -06:00
AzaezelX 11bf7df46d need to filter subscenes out of screenspace box drag
the ap hangs otherwise
2025-02-02 21:08:57 -06:00
JeffR e47fe2b1f3 Adjusts the OpenAL device listing query to ensure more reliable results. 2025-01-30 15:18:51 -06:00
Brian Roberts cd2213de36
Merge pull request #1371 from Azaezel/afxZodiacFindings
Afx zodiac findings
2025-01-27 18:57:28 -06:00
Brian Roberts 4bd43265a9
Merge pull request #1370 from Azaezel/alpha41/tsStaticTrouble
add lod selection for visiblemesh collisions
2025-01-27 18:57:13 -06:00
AzaezelX f5b7f70f50 add a specific lod option for findColDetails 2025-01-27 17:19:22 -06:00
AzaezelX d2a1153a49 turn zbuffer checks on, account for reverse depth changes 2025-01-27 16:29:07 -06:00
AzaezelX e2a0fbefa3 add lod selection for visiblemesh collisions
add box filtering for visiblemesh buildPolyList
2025-01-27 15:37:05 -06:00
Brian Roberts 5feef0ec5c
Merge pull request #1368 from Azaezel/alpha41/sourceGroupGrok
fill in asset based sound group if not specified by instanced emitter
2025-01-27 11:31:41 -06:00
Brian Roberts fdbac265b7
Merge pull request #1363 from marauder2k9-torque/ColorPicker-refactor
Color picker refactor rev2
2025-01-27 11:31:17 -06:00
marauder2k7 44a6ceab2d code review
Revert Hsb to using integers
Clamp drag values
2025-01-27 08:04:55 +00:00
JeffR bf9f0ee6cd Adjusts the test behavior for when the player class tries to ray-check against PathShapes to nudge the player to a safer position. Originally it ONLY checked pathshapes, so a static over a pathshape could cause erroneous behavior. 2025-01-27 00:15:14 -06:00
AzaezelX 557b3639eb fill in asset based sound group if not specified by instanced emitter 2025-01-26 20:52:50 -06:00
Olathuss 44df6dada7 Close Menu Implemented
closeMenu function on guiMenuBar implemented. Closes menu when selecting a popup menu action.
2025-01-25 22:59:17 -07:00
marauder2k7 a91ddfffa1 fixes for linux
According to doc and man pages we should not be using %Lg for a double as %Lg relates to a long double, F64 in torque is just a double so. This also produces better results when going from colorF to the colorPicker dialogue
2025-01-24 08:44:57 +00:00
AzaezelX c41f4d6680 since
https://github.com/Torque3DResources/curlModule/blob/main/source/libs/libs.cmake
appends TORQUE_INCLUDE_DIRECTORIES
we can look in that dir for httpobject sintead of relying on relative-to-core locations
2025-01-23 20:59:21 -06:00
AzaezelX 4f6c921eb9 offload libcurl to resources
step 1: remove from lib dir now thats prepped in https://github.com/Torque3DResources/curlModule
2025-01-23 20:52:33 -06:00
marauder2k7 055ca0ae00 use screenshot for eye dropper
instead of using backbuffer image, use the screenshot so it captures everything
2025-01-23 20:23:47 +00:00
marauder2k7 93352f5754 linear to hsb and back again requires srgb calcs 2025-01-23 19:37:15 +00:00
marauder2k7 704e304eef display correct values
Few fixes to display float values if the inspector field asks for floats
Split Hsb out from colorI now linearColorF can return HSB from its own color without having to go through the colorI conversion, hopefully gets rid of rounding errors etc since we are only doing the calc once.
2025-01-23 19:06:35 +00:00
AzaezelX 209abf3aa4 ensure zodiac texture is preloaded 2025-01-23 11:21:07 -06:00
marauder2k7 48ca98ca84 color palette saving
for now saves palette colours as their hex value. This will miss out on the alpha value.
2025-01-23 14:46:05 +00:00
marauder2k7 46192c3709 Eye dropper functionality
Adds eye dropper functionality
adds eye dropper button image supplied by jeff
adds a few missing asset files (due to in asset browser scan and add all loose files)
2025-01-23 10:18:18 +00:00
marauder2k7 029a495de1 change hsb to doubles internally 2025-01-22 20:12:49 +00:00
marauder2k7 5ca1c37fe9 more fixes for hsb conversion and gui updated 2025-01-22 19:14:40 +00:00
marauder2k7 29a9bd7917 ground work before gui 2025-01-22 17:21:46 +00:00
AzaezelX a5583a1d0e typofix 2025-01-21 11:02:16 -06:00
Brian Roberts b105fce2f2
Merge pull request #1357 from Azaezel/alpha41/subScenSplineShenanigans
spline objects were mis-saving in submis files
2025-01-20 12:54:23 -06:00
AzaezelX 0e22488434 cleanups and safeties.
had a bunch of dupliated code injectors that are bypassed by the nature of AbstractClassRep::FIELD_SpecialtyArrayField
since those getSpecialFieldOut entries return a const char * from the stringtable, we *don't* want to try and kill those off, since that can lead to trying to delete deleted things from what was designed as a permanent record
2025-01-19 13:31:23 -06:00
AzaezelX d6334f6cca spline objects were mis-saving in submis files
classes using AbstractClassRep::FIELD_SpecialtyArrayField use an explicit-writing mechanism, rather than tying things to a variable 'slot', so don't try and concaenate the two
2025-01-16 15:35:39 -06:00
Brian Roberts 221614383b
Merge pull request #1356 from Azaezel/development
handle pathshapes comming in from above players more gracefully
2025-01-15 20:36:35 -06:00
AzaezelX 7b393b668b handle pathshapes comming in from above players more gracefully
if you're within a pathshape as it moves, put you on top
2025-01-15 20:35:02 -06:00
Brian Roberts 4a8f8302a5
Merge pull request #1353 from Azaezel/alpha41/probeAttention
shift attenuation to probes in general.
2025-01-09 08:10:56 -06:00
Brian Roberts a1144dad65
Merge pull request #1354 from Azaezel/alpha41/SkinTheCat
for consistency, add a setSkinName method to tsstatic
2025-01-09 08:10:40 -06:00
AzaezelX 9aa45b24ba for consistency, add a setSkinName method to tsstatic
wrapper for obj.skin assignment just like shapebase
2025-01-09 08:09:59 -06:00
AzaezelX a4266a1336 fix distance falloff misassignmen. fix uninitialized attenuation in root probes 2025-01-07 23:48:34 -06:00
Areloch e503bccb2e
Merge pull request #1348 from Azaezel/alpha41/libSupport
suport augs for modules that include full libraries
2025-01-07 17:15:28 -06:00
AzaezelX 5a2ec2731f shift attenuation to probes in general. 2025-01-07 16:58:50 -06:00
marauder2k7 9af22dc302 BUG: Probe baking look at matrix was wrong
Multiple fixes in files sent by Az but matrix look at function was creating a view matrix that messed up the capture.
Look at function for matrix now returns the correct matrix and bakes looking better
2025-01-07 15:44:19 +00:00
Brian Roberts cbc7b034bc
Merge pull request #1350 from Azaezel/alpha41/callonChildrenCorruption
fix callonchildren varargs
2025-01-06 16:10:50 -06:00
AzaezelX 385974ab55 fix callonchildren varargs
std::move eats the sent variable, so store off a temp when applying it multiple times
2025-01-06 15:55:53 -06:00
marauder2k7 59c52fc94c Fix for bug reported by Rod
Reverted to the original calc clip space aabb to fix flickering bug reported by Rod in discord. Unfortunately this reintroduces the original issue of faint shadows showing at all times on the first split. But shadows render correctly where they are expected. A full review of pssm is required for later updates to be made.
2025-01-06 14:24:39 +00:00