Torque3D/Engine/source/T3D/fx
marauder2k7 852ed8f225
Sfx playlist asset working (#1109)
* GroundWork

-Reverted SFXPlaylist since it is going to be made from an asset now instead.
-Added extra options to soundAssets description.
-SFXPlaylist may need an onAdd function

* Update sfxController.cpp

* SFXPlaylist data

-Added sfxPlaylist init persist fields for the slots to sound asset
-Added logic to fil sfxPlaylist if more than 1 slot is filled

* Update SoundAsset.cpp

to stop git ci complaining, assetImporter........

* Update SoundAsset.h

* sfxPlaylist

-Fix: incomplete type error
-Added onAdd and onRemove to playlist
-SoundAsset getProfile define now returns playlist if the asset is a playlist.

* Update SoundAsset.h

-updated asset array to return playlist or profile depending on what the asset is

* SFXPlaylist working

-SFXPlaylist works
AudioChannelDefault gets its volume set to 0 for some reason and was throwing off making sfxPlaylist inaudible.

Still an exception when closing if using a playlist trips on line 355 of sfxSound

* Update sfxSound.h

* setSoundFile index null fix

* Update SoundAsset.h

* Update SoundAsset.h

* netstream safety in case of a null asset assignment

* Update sfxController.cpp

added safeties around a null playlist trying to play.

* Update with Az's asset err code changes

---------

Co-authored-by: AzaezelX <quillus@hotmail.com>
2023-10-21 17:19:02 -05:00
..
cameraFXMgr.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
cameraFXMgr.h Fix: Added missing virtual destructors for classes with virtual functions. 2014-05-06 12:40:46 +04:00
explosion.cpp Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
explosion.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
fxFoliageReplicator.cpp add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
fxFoliageReplicator.h ground-cover -- Adds an ambient modulation bias to control how much the foliage images are modulated by the sun's ambient light setting. 2017-07-27 00:18:38 +01:00
fxShapeReplicator.cpp add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
fxShapeReplicator.h Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy 2017-06-23 11:36:20 -05:00
groundCover.cpp add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
groundCover.h Fixed formatting to match the standard for TerrainMaterialAsset inspector fields 2022-03-29 01:40:07 -05:00
lightning.cpp add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
lightning.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
particle.cpp add "docsURL" filter to assignFieldsFrom to prevent it from triggering opening web pages when inheriting values 2023-01-28 16:12:05 -06:00
particle.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
particleEmitter.cpp add "docsURL" filter to assignFieldsFrom to prevent it from triggering opening web pages when inheriting values 2023-01-28 16:12:05 -06:00
particleEmitter.h * [ParticleEmitter] BugFix: Make GCC happy by removing the inline specification on updateKeyData. 2021-08-14 18:22:30 -04:00
particleEmitterNode.cpp add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
particleEmitterNode.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
precipitation.cpp sound safeties and future notes 2023-02-26 17:26:43 -06:00
precipitation.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
ribbon.cpp add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
ribbon.h ribbon classvar cleanup 2018-03-13 21:24:37 -05:00
ribbonNode.cpp add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
ribbonNode.h uninitialized variables-t3d 2020-05-11 15:30:21 -05:00
splash.cpp Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
splash.h correct imageassetarrays having a singular texture profile as oposed to a type per. 2021-11-03 12:30:52 -05:00
windEmitter.cpp tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places. 2017-12-27 22:57:47 -06:00
windEmitter.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00