Commit graph

4723 commits

Author SHA1 Message Date
marauder2k7
16d219769f set preview image
set the image asset preview image for namedTargets
2025-03-26 10:12:14 +00:00
marauder2k7
bab7878ca6 give named target a fallback
we need to give named target a fallback image so references are kept when a named target is not ready.
2025-03-26 09:12:06 +00:00
marauder2k7
9f2ab5a64e Update particleEmitter.cpp
null check around asset
2025-03-26 07:57:14 +00:00
marauder2k7
9ff4c84bc8 Merge remote-tracking branch 'upstream/development' into imageAsset_refactor_rev3 2025-03-25 21:02:57 +00:00
Brian Roberts
5436429e05
Merge pull request #1425 from Azaezel/alpha41/forwardFix
fix forward cubemip
2025-03-25 14:28:01 -05:00
Brian Roberts
6ffe7500cd
Merge pull request #1423 from Olathuss/gametsctrl-mouserefactor
Gametsctrl mouserefactor
2025-03-25 14:25:49 -05:00
AzaezelX
5e79c01208 fix forward cubemip
in case of temporary loss of the probe array, fall back to a (slightly) less arbitrary probemanager mip level as oposed to assuming 1 mip exists
2025-03-25 14:25:29 -05:00
marauder2k7
6c2b4f8979 null handling 2025-03-25 19:14:05 +00:00
marauder2k7
987ff90467 named target functionality 2025-03-25 18:22:26 +00:00
Olathuss
3dabbc83ff Fixed callbacks to replace char* with Point classes
Replacing char* in callbacks with Point2I and Point3F classes for better readability and overhead
2025-03-25 11:07:14 -06:00
Olathuss
df5ffd9e10 Remove extraneous function
Remove extraneous function makeScriptCall which is no longer used.
2025-03-25 10:47:35 -06:00
marauder2k7
6640cae0d7 Update cubemapData.cpp
missed checks, and loop should be inner
2025-03-25 14:34:28 +00:00
marauder2k7
15503cbf7c Update cubemapData.cpp 2025-03-24 22:18:18 +00:00
marauder2k7
b2fe48ab8d more merge conflicts
fixed more merge conflicts (afxZodiac and MaterialDefinition)
Updated cubemapdata to use refactor asset
added new part to image_asset macro to create a private asset if the file exists.

updated reflectionProbe errors to actual function name where the error occurs.
2025-03-24 21:50:04 +00:00
marauder2k7
0da0903599
Merge branch 'development' into imageAsset_refactor_rev3 2025-03-24 20:07:06 +00:00
marauder2k7
e16a66f363 Revert "sound asset refactor init"
This reverts commit 2bf2da74a0.
2025-03-24 19:58:52 +00:00
Olathuss
32bc068f7f Added PlatformTimer for mouse callbacks
Added PlatformTimer to GameTSCtrl to limit mouse move/drag callbacks.
2025-03-24 12:04:36 -06:00
AzaezelX
61e4107c39 handle feeding a cubemap via 2d textures
courtessey marauder
2025-03-24 11:32:09 -05:00
AzaezelX
61dbbf7102 clean up brdf
it was loading in the wrong colorspace, and there as a mix of texture/textureLOD refs leading to inconsistencies
2025-03-22 13:38:09 -05:00
marauder2k7
c476b292a6 Update gfxD3D11Cubemap.cpp
put arraySize check back in
2025-03-20 15:51:39 +00:00
marauder2k7
ef856e23fa fix and cleanup 2025-03-20 15:26:52 +00:00
AzaezelX
b4eb885aae fix forceDetail
it can safely be a negative number.
2025-03-19 18:08:37 -05:00
AzaezelX
fcd2d38deb further validator cleanups
bump default fidelity from 0,0001 to 0.01
fix F32Range. needs to go from - to +, not smallest to largest positive value
fix several misasigned validator ranges. most of which use some form of -1 default to do a Special Thing
2025-03-18 14:06:33 -05:00
Brian Roberts
1ebe48edbd
Merge pull request #1413 from Azaezel/alpha41/validValidators
consolidate addfieldV method contents to avoid duplication
2025-03-18 10:43:42 -05:00
AzaezelX
011a8906ff skip trying to be clever and just report the variable name being checked directly 2025-03-18 03:13:37 -05:00
AzaezelX
55ac453ab9 guiProfile.border has specific usage cases for -2, so use the full negative range
clarify a bit what fieldindex is being asigned
2025-03-18 01:23:33 -05:00
AzaezelX
ffe83b1d2d use the same renderpriority range across all cases 2025-03-18 01:18:37 -05:00
AzaezelX
44b0d896b8 consolidate addfieldV method contents to avoid duplication
report *what* field is an invalid console type
prune down floating point fuzzed validators to 0
default the visual fidelity to POINT_EPSILON (0.0001) rather than 1/FLT_MAX
use the bit(bitcount) macro for legibility
fix breakangle
2025-03-17 22:39:01 -05:00
Olathuss
d0f5c2e0db
Merge branch 'TorqueGameEngines:development' into gametsctrl-mouserefactor 2025-03-15 13:49:58 -06:00
Brian Roberts
bab30568eb
Merge pull request #1409 from Azaezel/alpha41/soImpulsive
skip out on impulses that have no chance of moving the object
2025-03-14 13:59:44 -05:00
AzaezelX
40b5b018c7 report what the value is that is out of range 2025-03-11 22:30:18 -05:00
AzaezelX
4b54fcbe42 conform and correct gridsize
waterblock and waterplane were using two entirely different var types. by usage, those should be natural numbers
2025-03-11 22:09:21 -05:00
Olathuss
96786020a2 Remove document reference
Removed incorrect document reference, as parent GuiTSCtrl does not implement mouse callback.
2025-03-11 09:40:22 -06:00
AzaezelX
325b3a97c0 skip out on impulses that have no chance of moving the object
also, sRestTol already is a 0.5 multiplier
2025-03-09 18:40:49 -05:00
AzaezelX
28603655a5 fix malformed addfeildV 2025-03-09 12:58:59 -05:00
AzaezelX
a30eac9a2b kill case of deprecated vars leaking in 2025-03-09 12:35:59 -05:00
AzaezelX
f633ef3a3d fill in the validated variables 2025-03-09 11:53:23 -05:00
AzaezelX
fa760fa746 add numerous new validators
as well as inspector support to treat a significant chunk of the codebase as range-clmped values which can take a guisliderbarctrl with a configurable at the validator level fidelity variable
additionally adds a new addfieldV and addprotetedfieldV for further callback validated slider-presented variables
*also* adds an on additional callbacks to the inspector itself, like onPreinspectobject, onPostinspectObject, and onPostInspectorfieldModified
in addition to *that*, adds a new hidefield command to tag a given specific field not to show in inspector
2025-03-09 11:51:54 -05:00
Olathuss
7cdfe63233
Merge branch 'TorqueGameEngines:development' into gametsctrl-mouserefactor 2025-03-08 12:02:08 -07:00
AzaezelX
45bb368762 from marauder: proper enumtable lookup 2025-03-07 00:12:09 -06:00
AzaezelX
d8fcbb7863 work towards reflecting the typemask in the checkboxes in a combinatory manner again 2025-03-06 23:37:37 -06:00
AzaezelX
677c061bc9 Merge branch 'development' of https://github.com/TorqueGameEngines/Torque3D into alpha41/maskMadness 2025-03-06 23:34:13 -06:00
Brian Roberts
3b39d74f57
Merge pull request #1406 from Azaezel/alpha41/crashfix
fix another potential crash with firstresponder code
2025-03-06 23:33:00 -06:00
AzaezelX
79782148ec fix another potential crash with firstresponder code 2025-03-06 23:32:38 -06:00
AzaezelX
0ac0ee88c2 BitfieldConsoleBaseType::setData definition
also, preserve saved out 0 and -1 numbers to resrver 'none' and 'all'
ditch 'no' materialdefinition::animtype
2025-03-06 20:55:40 -06:00
AzaezelX
64103a58aa enum value listing
show the string value of masked enums in variable entries
also sort the combo case of scrolling and rotating materials
2025-03-06 19:04:22 -06:00
Olathuss
f9b445119f gameTSCtrl mouse refactor
GameTSCtrl mouse refactoring to make consistent with scripting call backs.
2025-03-06 12:29:40 -07:00
Olathuss
59b938151d Enable onMouseMove script method for GameTSCtrl
Enables the onMouseMove method for scripting in the GameTSCtrl class.
2025-03-04 21:30:19 -07:00
Brian Roberts
09cf5a0425
Merge pull request #1402 from Azaezel/alpha41/mumbledMat
prexisting material asset safety check
2025-03-01 18:41:37 -06:00
Brian Roberts
2f2cfb94d1
Merge pull request #1401 from Azaezel/alpha41/guideButton
add guide button support
2025-03-01 18:41:28 -06:00