X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=xonotic-common.cfg;h=88958889af0a9b52f1624b59eb14359db12f69f7;hp=078fbed74c0bc58f76fb6ac4200b4b5de61406e7;hb=c856d5a94e208e0fef3dd96bd73e2c90f267c863;hpb=6e4c0c69ce16c05cdc8ce97c5287c848acfc3b1f diff --git a/xonotic-common.cfg b/xonotic-common.cfg index 078fbed74..88958889a 100644 --- a/xonotic-common.cfg +++ b/xonotic-common.cfg @@ -1,3 +1,10 @@ +// most common prefixes (currently not used consistently - especially g_ and sv_): +// cl_ client +// g_ gameplay +// r_ renderer +// sv_ server administration, should not affect gameplay +// _ temporary, private or internal cvar - should not be changed manually, sometimes used in scripts + // Xonotic version (formatted for machines) // used to determine if a client version is compatible // this doesn't have to be bumped with every release @@ -41,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" @@ -137,6 +144,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 @@ -145,3 +158,6 @@ exec commands.cfg // Change g_start_delay based upon if the server is local or not. if_client set g_start_delay 0 "delay before the game starts, so everyone can join; recommended to set this to like 15 on a public server" if_dedicated set g_start_delay 15 "delay before the game starts, so everyone can join; recommended to set this to like 15 on a public server" + +// this should be execed only once even on ruleset-votable servers, otherwise the tips would always start from 0 +if_dedicated exec help.cfg