Sfx Editor - 3rd Pass (#1873)

* First pass on SFX Editor

* Fix crash at night in Colossus (and probably other undocumented issues)

The SFX editor was swapping out the bytes corresponding to the sequence
to be played regardless of the audio command being issued. This fix
ensures the swap will only happen on commands which actually treat those
bytes as a sequence identifier.

* enabling a few more songs/fanfares

* Removing a few broken bgms, fixing the preview button returning to the wrong bgm

* Fixes restoration from miniboss music to previous one

* add timed minigame into the sounds pool

* A few small tweaks

* More cleanup and add instruments

* adjust usage of getReverseReplacementSeq

* Changes from feedback and prefix external methods with SfxEditor

Co-authored-by: RaelCappra <rael.cappra@gmail.com>
This commit is contained in:
Garrett Cox 2022-11-02 11:27:05 -05:00 committed by GitHub
commit 897e70b6fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 415 additions and 0 deletions

View file

@ -173,6 +173,11 @@ set(Header_Files__soh__Enhancements__cosmetics
)
source_group("Header Files\\soh\\Enhancements\\cosmetics" FILES ${Header_Files__soh__Enhancements__cosmetics})
set(Header_Files__soh__Enhancements__sfx_editor
"soh/Enhancements/sfx-editor/SfxEditor.h"
)
source_group("Header Files\\soh\\Enhancements\\sfx-editor" FILES ${Header_Files__soh__Enhancements__sfx_editor})
set(Header_Files__soh__Enhancements__debugger
"soh/Enhancements/debugger/actorViewer.h"
"soh/Enhancements/debugger/colViewer.h"
@ -294,6 +299,11 @@ set(Source_Files__soh__Enhancements__cosmetics
)
source_group("Source Files\\soh\\Enhancements\\cosmetics" FILES ${Source_Files__soh__Enhancements__cosmetics})
set(Source_Files__soh__Enhancements__sfx_editor
"soh/Enhancements/sfx-editor/SfxEditor.cpp"
)
source_group("Source Files\\soh\\Enhancements\\sfx-editor" FILES ${Source_Files__soh__Enhancements__sfx_editor})
set(Source_Files__soh__Enhancements__debugger
"soh/Enhancements/debugger/actorViewer.cpp"
"soh/Enhancements/debugger/colViewer.cpp"
@ -1599,6 +1609,7 @@ set(ALL_FILES
${Header_Files__soh__Enhancements}
${Header_Files__soh__Enhancements__controls}
${Header_Files__soh__Enhancements__cosmetics}
${Header_Files__soh__Enhancements__sfx_editor}
${Header_Files__soh__Enhancements__debugger}
${Header_Files__soh__Enhancements__randomizer}
${Header_Files__soh__Enhancements__randomizer__3drando}
@ -1609,6 +1620,7 @@ set(ALL_FILES
${Source_Files__soh__Enhancements}
${Source_Files__soh__Enhancements__controls}
${Source_Files__soh__Enhancements__cosmetics}
${Source_Files__soh__Enhancements__sfx_editor}
${Source_Files__soh__Enhancements__debugger}
${Source_Files__soh__Enhancements__randomizer}
${Source_Files__soh__Enhancements__randomizer__3drando}