mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-05-10 19:01:46 +00:00
|
Some checks are pending
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Allows modders to play audio streams on channels other than level background music. 4 constants have been added for this purpose: - `MOD_AUDIO_CHANNEL_MASTER` - sound is only affected by master volume - `MOD_AUDIO_CHANNEL_MUSIC` - sound is affected by music volume, same as previous behaviour - `MOD_AUDIO_CHANNEL_SFX` - sound is affected by sfx volume, same as sample behaviour - `MOD_AUDIO_CHANNEL_ENV` - sound is affected by env volume This was done instead of using the existing `SEQ_PLAYER_*` constants to avoid confusion and because there isn't a `NONE`/`MASTER` option. Additionally, sets the default to `MOD_AUDIO_CHANNEL_MUSIC` as to not break compatibility. ```lua audio_stream_set_volume_channel(stream, MOD_AUDIO_CHANNEL_SFX) -- wow its just like a sample audio_stream_get_volume_channel(stream) -- returns MOD_AUDIO_CHANNEL_SFX (its actually 2) ``` |
||
|---|---|---|
| .. | ||
| lua_constants | ||
| lua_definitions | ||
| autogen.sh | ||
| common.py | ||
| convert_constants.py | ||
| convert_functions.py | ||
| convert_structs.py | ||
| extract_constants.py | ||
| extract_display_lists.py | ||
| extract_functions.py | ||
| extract_object_fields.py | ||
| extract_structs.py | ||
| gen_hooks.py | ||
| gen_math.py | ||
| gen_sound.py | ||
| vec_types.py | ||