mm
mm copied to clipboard
Audio Sfx (code_801A5BD0 and selected sfx functions in code_8019AF00.c) OK and Documented
Before opening this PR, ensure the following:
-
./format.sh
was run to apply standard formatting. -
make
successfully builds a matching ROM. - No new compiler warnings were introduced during the build process.
- Can be verified locally by running
tools/warnings_count/check_new_warnings.sh
- Can be verified locally by running
- New variables & functions should follow standard naming conventions.
- Comments and variables have correct spelling.
The next audio file, this one primarily focusing on the high level processing of sfx's specifically.
For reference, I decided to change the following names, although feedback is still welcome:
gSfxDefaultPosScreenCenter
-> gSfxPosScreenCenter
gSfxDefaultVolOrFreq
-> gSfxVolOrFreqDefaultVal
gSfxDefaultReverbAddNone
-> gSfxReverbAddNone
I'll be drafting this until PlayState is renamed https://github.com/zeldaret/mm/pull/835
This PR can now be undrafted or is it waiting for something else?
Sorry, should have mentioned this PR is on hold for https://github.com/zeldaret/mm/pull/927
This PR is now ready for review again. Documentation has had an overhaul due to new and improved knowledge. Also, a few functions from code_8019AF00.c
are also part of the audio sfx system and are now included in this PR, as those functions closely tie in with code_801A5BD0.c