Torque3D/Engine/source/T3D/gameBase
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
..
extended Tidy up indentation in openvr changes 2016-09-11 22:51:00 +01:00
hifi Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
std Removes current implement of shadow caching 2019-12-13 01:14:03 -06:00
gameBase.cpp Use bitwise instead of logical OR 2023-03-05 12:14:17 +01:00
gameBase.h add TypeHints for inspector viewing 2023-05-23 12:35:07 -05:00
gameConnection.cpp Adds safety check to SoundAsset's playSound so if we don't have a source, it doesn't crash 2022-06-03 02:04:39 -05:00
gameConnection.h Cleaned up implementation of #712 2022-01-03 20:57:10 -06:00
gameConnectionEvents.cpp Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
gameConnectionEvents.h Adds safety check to SoundAsset's playSound so if we don't have a source, it doesn't crash 2022-06-03 02:04:39 -05:00
gameProcess.cpp Eliminate DefineConsoleFunction 2018-04-17 20:54:08 +02:00
gameProcess.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
moveList.cpp uninitialized variables-t3d 2020-05-11 15:30:21 -05:00
moveList.h ExtendedMove class and support 2013-01-23 01:52:46 -05:00
moveManager.cpp Fix for Issue #1415Move::Move() is not properly initializing bool trigger[MaxTriggerKeys]; 2015-09-20 20:44:11 +02:00
moveManager.h Tweaks any enums that use uint_max values so that they have hard types to avoid any compiler kerfluffles with C++11 value narrowing, specifically pertaining to clang. 2016-10-17 01:00:12 -05:00
processList.cpp Removes current implement of shadow caching 2019-12-13 01:14:03 -06:00
processList.h process-order -- code to help positioning of objects in the process lists. 2017-07-27 00:21:47 +01:00
tickCache.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
tickCache.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00