Commit graph

4832 commits

Author SHA1 Message Date
Brian Roberts 3c358d45d0
Merge pull request #1396 from Azaezel/alpha41/goFilterFish
game mode filterfix
2025-02-25 23:37:08 -06:00
AzaezelX 18750047fb game mode filterfix
GameMode::findGameModes now only returns the *active* ones.
SubScene::load() checks against either that, or if it's selected
2025-02-25 19:17:43 -06:00
AzaezelX 5fb73edc00 setFirstResonder Safeties
make sure we've properly added gui elements before trying to set the to be the responding one, or running callbacks against them
2025-02-25 18:23:45 -06:00
AzaezelX db42149fb5 Path class augs
adds the following behaviours: onPostAdd, send an updatePath event so that paths created post-pathOnMissionLoadDone command can register with clients (like say when they are loaded from a submis)
for editing tool purposes, allow Path::SetTransform to impact child objects so that pre-existing ones can be copy/pasted without the markers ending up in the same spot, or so that you can shift the entire path around and have those move in a relative manner
2025-02-24 17:10:23 -06:00
AzaezelX b36ec14194 add typeS16 2025-02-22 18:57:27 -06:00
Brian Roberts 676a3dd6dc
Merge pull request #1390 from Azaezel/alpha41/probeCountPass
update max probecount
2025-02-20 12:08:33 -06:00
Brian Roberts 7bb8587db5
Merge pull request #1388 from Azaezel/alpha41/erosionBrushes
additional terrain brushes
2025-02-20 12:08:22 -06:00
Brian Roberts f99b2874d1
Merge pull request #1384 from Azaezel/alpha41/subsceneCleanups
clean up subscene load evaluators so that it doesn't require a client if it's set to global
2025-02-20 12:08:12 -06:00
AzaezelX c830d20150 update max probecount
dx11 has a 2048/6 cap on how many cubemaps can fit in a given array. bump the probe count up to just under that to buy folks head room while we work on revising a more robust solution
2025-02-19 19:17:19 -06:00
bank 5e8af7020c
Fix memory leak in ZipSubRStream
Inside attachStream() method we may clone passed stream, but never delete it.
2025-02-19 15:06:02 +03:00
AzaezelX f9eeaf8869 simplify erosion calcs 2025-02-18 19:58:48 -06:00
AzaezelX e106871350 correct noise miltipliers. add biases for thermal (slope) and hydrolic (average) hieght changes 2025-02-18 16:08:30 -06:00
AzaezelX 0d2f3e294d use standard t3d maxes 2025-02-18 01:09:09 -06:00
AzaezelX 25ea164a1f add a pasteUp and pasteDown pallet 2025-02-17 23:42:19 -06:00
AzaezelX 561c201b88 copy paste support for terrains 2025-02-17 22:10:56 -06:00
AzaezelX 262ff405fa conform hydrolicErosion to the same spec as thermal 2025-02-17 20:58:40 -06:00
AzaezelX 315f05ea47 revert portions to a previously demonstrated to work state... 2025-02-17 19:55:23 -06:00
AzaezelX 329ffab86c work towards adding erosion noise 2025-02-17 16:43:10 -06:00
AzaezelX 2eb2cbc302 add erosion brushes
todo: sort why noise... isn't.
2025-02-17 05:48:15 -06:00
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
AzaezelX a529e3ecc0 clean up subscene load evaluators so that it doesn';t require a client if it's set to global
(allows spawnpoints to fill out prior to connections)
also try and apply filtering prior to actual loading
2025-02-13 14:32:23 -06: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