]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add cvars for autosave, which will be used by the upcoming storage system
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 28 Oct 2011 12:22:00 +0000 (15:22 +0300)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Fri, 28 Oct 2011 12:22:00 +0000 (15:22 +0300)
defaultXonotic.cfg
qcsrc/server/autocvars.qh

index b1d22d1918e9acc45fd0007d2c01e4829adc5b14..f491535d5398d8a233927a5df056f0aaa3913d70 100644 (file)
@@ -543,6 +543,7 @@ seta g_balance_cloaked_alpha 0.25
 
 set g_sandbox 0 "allow players to spawn and edit objects around the map"
 set g_sandbox_info 1 "print object information to the server. 1 prints info about spawned / removed objects, 2 also prints info about edited objects"
+set g_sandbox_storage_autosave 10 "storage is automatically saved every specified number of seconds"
 set g_sandbox_editor_maxobjects 1000 "maximum number of objects that may exist at a time"
 set g_sandbox_editor_free 0 "when enabled, players can edit any object on the map, not just the objects they've spawned"
 set g_sandbox_editor_distance_spawn 200 "distance at which objects spawn in front of the player"
index c27dd3a220099afa528a0e3b749e65617359b1db..89bf597518eaa2538a879bf634d9715d5b078792 100644 (file)
@@ -1200,6 +1200,7 @@ float autocvar_g_trueaim_minrange;
 float autocvar_g_debug_defaultsounds;
 float autocvar_g_loituma;
 float autocvar_g_sandbox_info;
+float autocvar_g_sandbox_storage_autosave;
 float autocvar_g_sandbox_editor_maxobjects;
 float autocvar_g_sandbox_editor_free;
 float autocvar_g_sandbox_editor_distance_spawn;