X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=xonotic-common.cfg;h=ff5787269e4be9a7093a312bf18ce849e550a1be;hp=f44d9c96f969fa5853216a289a2d8c7e0bdeffb9;hb=496fe710fe3c96074020c8012d8479de2975a62a;hpb=df33af4f3b2347ecf28f744da7a2814c004b57cb diff --git a/xonotic-common.cfg b/xonotic-common.cfg index f44d9c96f..ff5787269 100644 --- a/xonotic-common.cfg +++ b/xonotic-common.cfg @@ -48,7 +48,7 @@ fs_empty_files_in_pack_mark_deletions 1 // makes patches able to delete files set g_campaign 0 set g_campaign_forceteam 0 "Forces the player to a given team in campaign mode, 1 = red, 2 = blue, 3 = yellow, 4 = pink" seta g_campaign_name "xonoticbeta" -seta g_campaign_skill -1 // -2 easy -1 medium 0 hard +seta g_campaign_skill 0 // -2 easy, 0 medium, 2 hard alias singleplayer_start "g_campaign_index 0; set scmenu_campaign_goto 0" alias singleplayer_continue "set scmenu_campaign_goto -1" @@ -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