Torque3D/Engine/source/T3D
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
..
assets Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
decal asset load flow work 2023-10-08 13:19:43 -05:00
examples 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
fps 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
fx Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
gameBase Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
lighting Fixed getAssetBy... functions so the lookup loop is more stable and doesn't fail if null results return 2023-05-08 21:18:23 -05:00
physics asset load flow work 2023-10-08 13:19:43 -05:00
sceneComponent Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
sfx Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
turret add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
vehicles rigidshape and derivatives cleanups 2023-09-27 14:37:41 -05:00
accumulationVolume.cpp Optimize container bin lookups 2023-09-26 12:03:51 -05:00
accumulationVolume.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
aiClient.cpp Moves from using dStrCmp to the new String::compare static functions. Keeps things cleaner, consistent, and works with intellisense. 2020-10-03 14:37:55 +02:00
aiClient.h Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro. 2014-11-03 22:42:51 -05:00
aiConnection.cpp Eliminate ConsoleFunction and ConsoleMethod, replace with DefineEngineStringlyVariadic 2018-04-20 22:09:58 +02:00
aiConnection.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
aiPlayer.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
aiPlayer.h anim-clip -- sequence selection by afx effects 2017-07-27 00:31:43 +01:00
camera.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
camera.h Implementation of guiRenderTargetVizCtrl 2020-10-03 00:58:38 +02:00
cameraSpline.cpp pathshape cleanups and callbacks 2022-07-27 16:35:09 -05:00
cameraSpline.h pathshape cleanups and callbacks 2022-07-27 16:35:09 -05:00
containerQuery.cpp enhanced-physical-zone -- PhysicalZone object enhanced to allow orientation add radial forces. 2017-07-27 01:10:20 +01:00
containerQuery.h clang: constructor initialization order 2016-10-14 18:16:55 -05:00
convexShape.cpp uninitialized and unused value cleanups 2023-05-01 10:40:02 -05:00
convexShape.h set convexshape to use a standard vertex type 2022-05-29 13:18:01 -05:00
debris.cpp Properly call endGroup instead of addGroup 2023-10-08 17:36:51 -05:00
debris.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
gameFunctions.cpp Reverse depth & 32F buffer format 2023-04-14 20:13:28 -06:00
gameFunctions.h Includes a fix to get lights to render more correctly in the reflection pass. Also includes a helper function to force a render from a passed in transform and frustum. 2017-07-07 02:55:56 -05:00
gameTSCtrl.cpp Removing stuff pertaining to demo modes and trials, as they're redundant now. 2015-07-01 23:36:56 -05:00
gameTSCtrl.h Removing stuff pertaining to demo modes and trials, as they're redundant now. 2015-07-01 23:36:56 -05:00
groundPlane.cpp asset load flow work 2023-10-08 13:19:43 -05:00
groundPlane.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
guiMaterialPreview.cpp uninitialized variables-t3d 2020-05-11 15:30:21 -05:00
guiMaterialPreview.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
guiNoMouseCtrl.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
guiObjectView.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
guiObjectView.h Converts all game, gui editor, and system classes to utilize assets 2021-07-19 01:07:08 -05:00
item.cpp add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
item.h code review: 2020-10-02 13:53:46 -05:00
levelInfo.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
levelInfo.h adds wetness 2022-11-21 21:12:23 -06:00
lightAnimData.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
lightAnimData.h Hides some light fields for local lights that are intended for PSSM's, thus useless. 2020-08-02 23:47:20 -05:00
lightBase.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
lightBase.h localRenderViz -- Implements per-light renderViz setting. 2017-07-27 01:15:57 +01:00
lightDescription.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
lightDescription.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
lightFlareData.cpp add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
lightFlareData.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
missionArea.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
missionArea.h Updated logic in MissionArea::getServerObject. 2012-11-14 09:25:38 +11:00
missionMarker.cpp spawnsphere %this tracking 2023-03-01 17:49:10 -06:00
missionMarker.h set typehint for spawners to the spawndatablock 2023-05-24 19:58:34 -05:00
notesObject.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
notesObject.h Adds a notes object that only displays in the editor, useful for when working on maps. 2020-08-17 16:41:59 -05:00
objectTypes.h ammend caputre mask so that skylight et al gets terrain, but skips editor-only renders 2023-01-03 06:53:59 -06:00
occlusionVolume.cpp PolyhedronVectorData core membervar cleanups 2018-03-14 15:18:00 -05:00
occlusionVolume.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
pathCamera.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
pathCamera.h Fix stack balancing problems by refactoring execution calls 2015-02-08 00:08:18 +00:00
pathShape.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
pathShape.h truly a community project, this has been kicking around since 2003 in various forms. adds a path following shape that can be ridden. 2020-01-11 23:58:30 -06:00
physicalZone.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
physicalZone.h enhanced-physical-zone -- PhysicalZone object enhanced to allow orientation add radial forces. 2017-07-27 01:10:20 +01:00
player.cpp add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
player.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
pointLight.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
pointLight.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
portal.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
portal.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
prefab.cpp Console Refactor 2023-09-13 10:33:20 +02:00
prefab.h add TypeHints for inspector viewing 2023-05-23 12:35:07 -05:00
projectile.cpp sound safeties and future notes 2023-02-26 17:26:43 -06:00
projectile.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
proximityMine.cpp sound safeties and future notes 2023-02-26 17:26:43 -06:00
proximityMine.h code duplication prune. should aid in stability 2021-10-03 02:56:26 -05:00
resource.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
rigid.cpp backend fix: rigid on rigid collisions 2016-01-21 19:04:58 -06:00
rigid.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
rigidShape.cpp rigidshape and derivatives cleanups 2023-09-27 14:37:41 -05:00
rigidShape.h misc fixes 2022-12-27 21:10:15 -06:00
Scene.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
Scene.h Merge branch 'PostFXReorgAndUpdate' of https://github.com/Areloch/Torque3D into Preview4_0 2020-09-11 03:21:56 -05:00
scopeAlwaysShape.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
shapeBase.cpp Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
shapeBase.h get node utility methods by request 2023-03-12 15:19:44 -05:00
shapeCollision.cpp Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
shapeImage.cpp Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
spotLight.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
spotLight.h Engine directory for ticket #1 2012-09-19 11:15:01 -04:00
staticShape.cpp add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
staticShape.h truly a community project, this has been kicking around since 2003 in various forms. adds a path following shape that can be ridden. 2020-01-11 23:58:30 -06:00
trigger.cpp Console Refactor 2023-09-13 10:33:20 +02:00
trigger.h aitriggers a navtool. not ready for general consumption just yet 2020-09-04 19:34:17 -05:00
tsStatic.cpp asset load flow work 2023-10-08 13:19:43 -05:00
tsStatic.h add TypeHints for inspector viewing 2023-05-23 12:35:07 -05:00
zone.cpp Basic zone code refactor using lists instead of linked lists 2023-09-26 12:03:51 -05:00
zone.h fix TORQUE_TOOLS = off compilation 2022-06-13 12:38:08 -05:00