Torque3D/Engine/source
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
..
afx Merge pull request #1114 from Azaezel/alpha41/assetAnalysisAugs 2023-10-21 01:37:38 -05:00
app Add support for replacing the main.tscript file with a specified Console Function 2023-10-08 17:36:51 -05:00
assets asset load flow work 2023-10-08 13:19:43 -05:00
cinterface Expose SimObjectPtr C-API functions using EngineAPI 2023-10-08 17:36:51 -05:00
collision Optimize container bin lookups 2023-09-26 12:03:51 -05:00
console Adjusts the logic for when creating a simObject from a taml so that array elements(like material slots or sound asset slots) properly can handle prefixed field values, such as referencing loose asset files. 2023-10-20 17:51:49 -05:00
core Mem fix 2023-10-15 15:14:58 -05:00
environment asset load flow work 2023-10-08 13:19:43 -05:00
forest asset load flow work 2023-10-08 13:19:43 -05:00
gfx Console Refactor 2023-09-13 10:33:20 +02:00
gui asset load flow work 2023-10-08 13:19:43 -05:00
i18n Console Refactor 2023-09-13 10:33:20 +02:00
lighting uninitialized and unused value cleanups 2023-05-01 10:40:02 -05:00
main _get_current_locale needs #include <locale.h> 2023-07-22 09:49:43 -05:00
materials Merge pull request #1016 from Azaezel/alpha41/mangledMath 2023-05-08 21:28:49 -05:00
math define TORQUE_TESTS_ENABLED 2023-07-24 13:47:22 +01:00
module Remove CInterface script hooks, superseded by console refactor 2023-09-27 14:11:13 -05:00
navigation add safeties for enum math across define boundaries 2023-04-26 22:27:35 -05:00
persistence Merge pull request #1015 from Azaezel/alpha41/consoleCleanups 2023-05-09 14:44:01 -05:00
platform separate testing environment 2023-07-24 12:38:36 +01:00
platformMac $platform $= "macos" is used throughout the codebase 2022-09-20 19:58:02 -05:00
platformPOSIX Update POSIXFileio.cpp 2023-07-27 21:48:13 +01:00
platformSDL Update thread.cpp 2023-07-27 19:46:04 +01:00
platformWin32 Fix Dynamic Library builds on Windows 2023-09-27 13:53:30 -05:00
platformX11 * BugFix: Correct many include paths and build platformX11 on non-Apple Unix. 2021-11-14 14:45:42 -05:00
platformX86UNIX * Adjustment: Tweak the include paths for platformPOSIX.h. 2021-11-14 14:05:16 -05:00
postFx Console Refactor 2023-09-13 10:33:20 +02:00
renderInstance Reverse depth & 32F buffer format 2023-04-14 20:13:28 -06:00
scene refactor by request 2023-10-15 16:09:49 -05:00
sfx Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
shaderGen re-fix vert color swizzle 2023-08-22 21:23:54 -05:00
sim Console Refactor 2023-09-13 10:33:20 +02:00
sqlite Fix for build 2022-12-02 11:58:45 +06:00
T3D Sfx playlist asset working (#1109) 2023-10-21 17:19:02 -05:00
terrain terrain debug reporting cleanups 2023-08-17 13:37:42 -05:00
testing Improve ray intersection tests 2023-09-26 12:03:51 -05:00
ts asset load flow work 2023-10-08 13:19:43 -05:00
util Reverse depth & 32F buffer format 2023-04-14 20:13:28 -06:00
Verve Console Refactor 2023-09-13 10:33:20 +02:00
windowManager Console Refactor 2023-09-13 10:33:20 +02:00
.gitattributes Somebody broke SDL when they updated it. The new version depends on AudioToolbox, so added that as dependency in torque3d.cmake 2017-01-13 10:42:52 -05:00
CMakeLists.txt lower engine requirements back to c++17 standards, not c++20. 2023-10-15 16:09:49 -05:00
ggEndOfLineFix.txt