Commit graph

3977 commits

Author SHA1 Message Date
Areloch
506621352c Tweaks the MaterialAsset loading logic to continue to see if the matDefinition already points to an existing object(to avoid needlessly re-executing files over and over), but also validate other cases, and ensures that if we DO have an existing definition, we still process and load it in the asset itself properly. 2021-10-09 00:07:01 -05:00
Robert MacGregor
cf9d15a9d4 * BugFix: Correct a Windows compilation error in the endian swap code due to a missing include. 2021-10-08 17:23:16 -04:00
Brian Roberts
3b8d1f4031
Merge pull request #605 from Azaezel/alpha40/followup604
don't try and sort ribbon particles
2021-10-08 10:57:29 -05:00
Robert MacGregor
2d55fcf1bc * BugFix: Invert the corrections made in ImageAsset and ScriptAsset to be correct. 2021-10-07 13:16:55 -04:00
Robert MacGregor
15b946fb35 * Adjustment: Utilize native compiler intrinsics for endian swapping when available. 2021-10-07 09:59:03 -04:00
Robert MacGregor
74cc60508b * BugFix: More cleanup of MSVC compiler warnings. 2021-10-07 01:10:00 -04:00
Robert MacGregor
22d6b4a1f1 * BugFix: Correct an accidentally removed line from clearing compiler warnings. 2021-10-07 00:32:42 -04:00
Robert MacGregor
5d26dba7da * BugFix: Clear some MSVC compiler warnings. 2021-10-07 00:27:39 -04:00
Jeff Hutchinson
24bf807713 various shadergen fixes. 2021-10-06 21:53:26 -04:00
Robert MacGregor
070a3a30b6 * [Linux] BugFix: Free the mouse cursor when triggering SIGTRAP on Linux to ensure that the cursor is available for debugging. 2021-10-06 00:35:38 -04:00
AzaezelX
42e90ad3fb RTLightingFeat work.
1) we do *not* in fact want to early out in the presence of MFT_ImposterVert. it mangles the position-send.
2) dx sucessfuly handles the    if ( !fd.features[MFT_NormalMap] ) case, so use the same for gl
2021-10-05 14:46:37 -05:00
AzaezelX
eb8434c5a4 don't try and sort ribbon particles 2021-10-05 00:23:26 -05:00
Robert MacGregor
1b6b803a20 * BugFix: Clear a lot of warnings and correct a few actual programming errors along the way. 2021-10-04 20:04:21 -04:00
AzaezelX
79ad78361d item->importStatus cleanup for asset importer 2021-10-04 18:24:33 -05:00
AzaezelX
661a192e87 orderfix for RTLightingFeatHLSL vert vs pixel shader. the order needs to match, same as network comunicating 2021-10-03 21:53:16 -05:00
AzaezelX
a1117b1c41 add getInWorldNormal method glsl side 2021-10-03 21:51:40 -05:00
AzaezelX
52040fb072 Merge branch 'Preview4_0' into kermithelpme 2021-10-03 17:23:52 -05:00
Brian Roberts
dc9899907b
Merge pull request #601 from Ragora/bugfix-audio-devices
* BugFix: Fix AL device listing
2021-10-03 17:08:15 -05:00
Brian Roberts
4de330eaed
Merge pull request #598 from OTHGMars/canvasCallbacks
GuiCanvas keyboard mode callbacks.
2021-10-03 17:07:01 -05:00
AzaezelX
42d137f4a9 DECLARE_ASSET_ARRAY_SETGET is incompatible with INITPERSISTFIELD_SOUNDASSET_ENUMED 2021-10-03 15:20:08 -05:00
AzaezelX
ab1b14587e generic asset loader macros. currently unused 2021-10-03 15:19:04 -05:00
AzaezelX
98a079a797 code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
AzaezelX
10f2453cee setget was causing active interference with INITPERSISTFIELD_SOUNDASSET_ENUMED 2021-10-02 23:24:46 -05:00
Robert MacGregor
6a94946e5b * BugFix: Fallback to ALC_ENUMERATION_EXT if ALC_ENUMERATE_ALL_EXT is not available. 2021-10-02 22:29:34 -04:00
Robert MacGregor
43630c31c2 * BugFix: Tweaks to the ALC device listing logic to be more consistent with the AL API. 2021-10-02 22:24:11 -04:00
AzaezelX
19eb3c42f0 more enum work, now with somewhat clearer boundary names, and some debug spam for initpersistfields, and pack and unpack macros to help us try and trace why those are scrambling 2021-10-02 21:05:04 -05:00
AzaezelX
0760621212 fix item->importStatus tagging in importer 2021-10-02 21:01:14 -05:00
Robert MacGregor
5e88ab2570 * BugFix: Fix AL device listing so that functions like sfxGetAvailableDevices return the actual devices on the system. 2021-10-02 16:31:43 -04:00
AzaezelX
5c7069555a filter out array entries without enum strings 2021-09-30 16:00:37 -05:00
AzaezelX
d3693bef8d shifted playerdata down to the Long Lists block. fix player enum ref source side 2021-09-30 14:40:03 -05:00
AzaezelX
64a87ceba8 trim assetEnumNameConcat to 2 values, set INITPERSISTFIELD_SOUNDASSET_ENUMED to exclude maxValue 2021-09-30 13:46:03 -05:00
AzaezelX
0c6ca6c701 conflict resolution 2021-09-29 12:38:47 -05:00
marauder2k7
656096e016 Another way of doing shapeBase, this requires fewer changes but will have an empty asset in each stateData until it is filled with an asset.
Both these will need to be tested to see which one is better.
2021-09-29 12:48:37 +01:00
marauder2k7
1c14dc5ec4 The beast is ready for a look over.
Can't have a soundAsset inside a struct. If we could this might work better.
PrevState needs to be kept track of for clearing looping sounds before the next state is loaded in. This might cause issues when switching weapons.
2021-09-29 12:36:02 +01:00
marauder2k7
d700ea4878 Committing player separately.
shapeBase is its own beast and will require a very critical look over once its up.
2021-09-29 11:41:57 +01:00
marauder2k7
3d7f092c52 Merge branch 'SoundAssetImplements' of https://github.com/Azaezel/Torque3D-1 into SoundAssetImplements
# Conflicts:
#	Engine/source/T3D/fx/lightning.cpp
2021-09-29 06:31:56 +01:00
AzaezelX
2630b4ada6 corrected and simplified the is<foo>Valid method macro injections 2021-09-28 18:50:35 -05:00
Areloch
c5d5a91356 Add handling to RotationF's addRotation function to ensure formatted return 2021-09-28 18:17:49 -05:00
AzaezelX
776741770d boolean is<thing>valid chjecks for assets. tests wether it's non-empty and reporting zero flaws 2021-09-28 18:16:14 -05:00
marauder2k7
6bec47d3fa -SoundAsset added init for enum types.
-Vehicles updated to use enum initpersistfield.
2021-09-28 23:36:04 +01:00
AzaezelX
96891e5673 early out if any asset feed route results in explicitly being told to use an emptystring 2021-09-28 17:33:36 -05:00
marauder2k7
76addc52eb Checks for emptyString in preload
Sound asset out for emptyString
2021-09-28 21:10:48 +01:00
marauder2k7
4429de59b0 okay so addArray isn't even required. 2021-09-28 14:08:27 +01:00
marauder2k7
8a1d3f2021 Working thunder. These changes may need to be applied to other sound arrays or image arrays. 2021-09-28 13:56:35 +01:00
OTHGMars
37c924512c Corrects console documentation. 2021-09-28 05:52:45 -04:00
OTHGMars
e035aa9114 GuiCanvas Callbacks
Adds handler modes for keyboard translations and native accelerators. This is needed so APIs that provide software keyboards can be notified when controls that require text input become active. This was previously hardcoded in OpenVROverlay, but is also needed by Steam Input and Big Picture so moving to GuiCanvas will make it accessible there as well.
Handler mode for both settings default to "Platform" so there is no change to the default behavior. If the setting is changed to "Callback", callbacks will be triggered to allow script to determine if the request should fall through to the platform window. The script callback is also the appropriate place to display a software keyboard and attach it to the input control.
2021-09-28 05:38:17 -04:00
AzaezelX
ad0c141189 use _set<assetname> for all network recipts of shapes, sounds, images and materials to ensure we at least try and fill that out whichever way is ghosted to us 2021-09-27 21:12:27 -05:00
AzaezelX
44b81ace69 don't check a profile if we don't have a sound asset 2021-09-27 20:04:58 -05:00
Jeff Hutchinson
24e5db942b flush out windows cpu detection. 2021-09-26 23:43:06 -04:00
AzaezelX
ef652ad8b9 clean out of the manual getSFXProfile() methods 2021-09-26 20:07:49 -05:00