Commit graph

3944 commits

Author SHA1 Message Date
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
Jeff Hutchinson
ca0a5d41a7 Merge remote-tracking branch 'devhead/Preview4_0' into cpuinfo 2021-09-26 19:38:03 -04:00
Jeff Hutchinson
eb92a8927e M1 Support for cpu detection 2021-09-26 19:36:12 -04:00
AzaezelX
dba0899887 soundasset augments: get<name>Profile methods, test for emptystring, initialize asset arrays
lightning provides a conversion sample (attempt. it's still yelling)
2021-09-26 17:30:13 -05:00
AzaezelX
2181ce08c3 lightning ref fixes 2021-09-26 03:12:14 -05:00
AzaezelX
b83babe175 Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into SoundAssetImplements 2021-09-26 03:07:23 -05:00
Jeff Hutchinson
960ea2aa5a Add support for Neon. 2021-09-25 22:53:34 -04:00
Jeff Hutchinson
7cb306b65a macos platform fixes for intel macs 2021-09-25 22:39:40 -04:00
Jeff Hutchinson
9c243bc5e2
Merge pull request #596 from OTHGMars/menuControl
GuiGameListMenuCtrl Update
2021-09-25 20:42:10 -04:00
Brian Roberts
97ddb97410
Merge pull request #594 from JeffProgrammer/executef-fixes
Fix specific usage of Con::executef where it was not being assigned t…
2021-09-25 18:13:27 -05:00
OTHGMars
666065ce6c GuiGameListMenuCtrl Update
Methods to simplify managing localized option lists.
Adds a text key to each option in an option row.
Adds methods for getting the current selections index or key value.
Adds methods for setting the current selection by index or key value.
This change is backward compatible. If the new methods are not called, the control behavior is unaffected.
2021-09-25 02:48:30 -04:00
Jeff Hutchinson
e35b5f5119
Merge pull request #591 from Ragora/bugfix-object-deletion-crash
* BugFix: Fix a crash that sometimes occurs when groups of of objects are deleted
2021-09-24 23:28:15 -04:00
Jeff Hutchinson
8aa1f2e881
Merge pull request #589 from Ragora/bugfix-linux-win-console
* BugFix: Corrections to allow the Linux win console to work
2021-09-24 23:27:37 -04:00
Jeff Hutchinson
755bbacaa0 Fix specific usage of Con::executef where it was not being assigned to a ConsoleValue before getting it's data out of it. 2021-09-24 19:32:57 -04:00
Robert MacGregor
12f4af51f5 * [Editor] BugFix: Fix a crash that sometimes occurs when groups of objects are deleted in the world editor. 2021-09-24 17:58:17 -04:00
Robert MacGregor
55063601e6 * [Projectile] BugFix: Correct the onAdd callback not being raised for projectiles. 2021-09-23 22:58:25 -04:00
Jeff Hutchinson
e784b0140c Let's fix the texcoord alignment for RT Lighting. 2021-09-22 21:41:38 -04:00
Robert MacGregor
4cfb3c4f04 * [Linux] BugFix: Corrections to allow the Linux win console (Ie. the terminal you ran the game from) to act as a console input. 2021-09-22 20:28:39 -04:00
AzaezelX
c523951e65 Merge branch 'Preview4_0' into alpha40/SGCleanups2 2021-09-22 18:47:31 -05:00
AzaezelX
5682bafb29 kills off that second buffer in terrain rendering when in forward mode 2021-09-22 18:28:19 -05:00
AzaezelX
c86cc48945 use srgb sapce for backbuffer 2021-09-22 18:27:42 -05:00
AzaezelX
9775d69988 pad shader uniform length pipe by 1 to avoid a bug with some integrated chips clipping 2021-09-21 17:10:07 -05:00
Jeff Hutchinson
2d50f52cf1 Allow local variables to be used in eval. 2021-09-20 21:00:33 -04:00
AzaezelX
8ce207561e revert a bit causing crashes on certain 'nix boxes. 2021-09-20 16:56:53 -05:00
AzaezelX
c150afebaa particle cleanups
misc dupe code cleanup bits.
safeties for the varous flavors of void ParticleEmitter::setup
ideally we circle back to break some of that logic on out to shared steps
2021-09-20 13:50:47 -05:00
marauder2k7
57aceb60fb QOC
Code cleaning of unnecessary else'
Remove unnecessary dynamic_casts
2021-09-20 17:57:16 +01:00
marauder2k7
e9d0f68b55 Preload all soundAsset
-Fixed: Preloads need to preload all soundAssets not just the ones it was preloading before.
2021-09-20 17:05:11 +01:00
marauder2k7
30b57c0f95 More turns
-Flying Vehicle
-Proximinity Mine
2021-09-20 14:17:10 +01:00
marauder2k7
704eb27600 More Implements
-Most Vehicles and FX classes
-Vehicle classes may need more preloads for assets.
2021-09-20 13:07:50 +01:00
marauder2k7
1ea693fea6 SoundAsset Array
Few fixes to soundasset array to stop it complaining
2021-09-20 10:49:34 +01:00
marauder2k7
3ad6d47ca9 Update SoundAsset.h
-SoundAsset array setters getters and binds in place
2021-09-20 09:55:36 +01:00
marauder2k7
c92cfe3e81 SoundAssetImplements
-Explosion
-Lightning
-Splash

-Other sound asset implementations will require soundasset array if possible.
2021-09-20 09:37:31 +01:00
Areloch
9a809dfb6b Merge branch 'Preview4_0' of https://github.com/TorqueGameEngines/Torque3D into Preview4_0 2021-09-19 02:28:19 -05:00
Brian Roberts
2fe767f2cd
Merge pull request #578 from Azaezel/alpha40/dedicatedGFXnullouts
dedicated gfx device suppression
2021-09-19 01:57:22 -05:00