mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 14:37:41 +00:00
Initial pass at getting subtitle support in. Doesn't compile for unknown reasons
This commit is contained in:
@ -3391,6 +3391,11 @@ PF_CONSOLE_CMD( Audio, MuteAll, "bool on", "Mute or unmute all sounds")
|
||||
plgAudioSys::SetMuted( (bool)params[ 0 ] );
|
||||
}
|
||||
|
||||
PF_CONSOLE_CMD(Audio, EnableSubtitles, "bool on", "Enable or disable displaying subtitles for audio files containing speech")
|
||||
{
|
||||
plgAudioSys::SetEnableSubtitles((bool)params[0]);
|
||||
}
|
||||
|
||||
PF_CONSOLE_CMD( Audio, SetDistanceModel, "int type", "Sets the distance model for all 3d sounds")
|
||||
{
|
||||
if(plgAudioSys::Sys())
|
||||
|
Reference in New Issue
Block a user