feat(sound): add more vars to SI2::RegisterUserCVars

This commit is contained in:
fallenoak committed 2025-11-30 14:00:16 -06:00
1 parent bb259850fa
commit dccca0b63d
1 file changed
+28 -1
+28 -1
View File
@@ -936,7 +936,14 @@ void SI2::RegisterUserCVars() {
SOUND
);
// TODO
CVar::Register(
"Sound_EnableDSPEffects",
"",
0x0,
"1", /* TODO OsGetProcessorCount() >= 2 ? "1" : "0" */
nullptr,
SOUND
);
CVar::Register(
"Sound_EnablePetSounds",
@@ -957,6 +964,26 @@ void SI2::RegisterUserCVars() {
);
// TODO
CVar::Register(
"Sound_MaxCacheSizeInBytes",
"Max cache size in bytes",
0x0,
"16777216",
nullptr,
SOUND
);
CVar::Register(
"Sound_MaxCacheableSizeInBytes",
"Max sound size that will be cached, larger files will be streamed instead",
0x0,
"1048576",
nullptr,
SOUND
);
// TODO
}
void SI2::RegisterScriptFunctions() {