X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=xonotic-common.cfg;h=ff5787269e4be9a7093a312bf18ce849e550a1be;hb=0086e2f5b478e20e86f1777de3e80f728c3e1dcf;hp=4fd0ee0c1488965a1eae4bd06164ab018a710b4e;hpb=93afc08b09294e6dea4d0c98ce5226fdee9d1c92;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/xonotic-common.cfg b/xonotic-common.cfg index 4fd0ee0c1..ff5787269 100644 --- a/xonotic-common.cfg +++ b/xonotic-common.cfg @@ -128,7 +128,9 @@ locksession 1 set snd_soundradius 1200 set snd_softclip 1 set snd_maxchannelvolume 0 -set snd_streaming_length 2 +// Only streaming-decode music, not any sound effects. RAM is cheap nowadays. +// Sadly, our longest sound effect is 36 seconds. +set snd_streaming_length 40 seta menu_snd_sliderscale 2 "0: decibels; 1: linear percent; 2: 0..10 scale; 3: slider size percent" seta menu_snd_attenuation_method 1 "Use exponential instead of linear falloff for sound attenuation" alias snd_attenuation_method_0 "set menu_snd_attenuation_method 0; set snd_soundradius 1200; set snd_attenuation_exponent 1; set snd_attenuation_decibel 0" // Quake default @@ -144,6 +146,12 @@ seta snd_channel9volume 1 "QuakeC controlled ambient sound volume" snd_identicalsoundrandomization_time -0.1 snd_identicalsoundrandomization_tics 1 +set debug_deglobalization_logging 0 "bitfield: 1 logs usage of the old functions which use globals implicitly, 2 logs usage of the new wrappers; support for this can be disabled at compile time for better performance" +set debug_deglobalization_clear 0 "make the new wrappers set globals to NaN after use, this helps find bugs but can result in crashes; support for this can be disabled at compile time for better performance" + +// disabling until it's complete +set prvm_garbagecollection_enable 0 + // load console command aliases and settings exec commands.cfg