Change default settings for log level, texture atlas, document new settings

This commit is contained in:
kwolekr 2013-02-27 19:59:05 -05:00
parent 0183bdad04
commit 7caa28a6aa
2 changed files with 36 additions and 9 deletions

@ -105,7 +105,7 @@
#smooth_lighting = true #smooth_lighting = true
# Enable combining mainly used textures to a bigger one for improved speed # Enable combining mainly used textures to a bigger one for improved speed
# disable if it causes graphics glitches. # disable if it causes graphics glitches.
#enable_texture_atlas = true #enable_texture_atlas = false
# Path to texture directory. All textures are first searched from here. # Path to texture directory. All textures are first searched from here.
#texture_path = #texture_path =
# Video back-end. # Video back-end.
@ -267,8 +267,25 @@
# (obviously, remote_media should end with a slash) # (obviously, remote_media should end with a slash)
# Files that are not present would be fetched the usual way # Files that are not present would be fetched the usual way
#remote_media = #remote_media =
# Level of logging to be written to debug.txt.
# 0 = none, 1 = errors and debug, 2 = action, 3 = info, 4 = verbose
#debug_log_level = 2
# Maximum number of blocks that can be queued for loading.
#emergequeue_limit_total = 256
# Maximum number of blocks to be queued that are to be loaded from file.
# Leave blank for an appropriate amount to be chosen automatically.
#emergequeue_limit_diskonly =
# Maximum number of blocks to be queued that are to be generated.
# Leave blank for an appropriate amount to be chosen automatically.
#emergequeue_limit_generate =
# Number of emerge threads to use. Make this field blank, or increase this number, to use multiple threads.
# On multiprocessor systems, this will improve mapgen speed greatly, at the cost of slightly buggy caves.
#num_emerge_threads = 1
#
# Physics stuff # Physics stuff
#
#movement_acceleration_default = 3 #movement_acceleration_default = 3
#movement_acceleration_air = 2 #movement_acceleration_air = 2
#movement_acceleration_fast = 10 #movement_acceleration_fast = 10
@ -283,13 +300,23 @@
#movement_liquid_sink = 10 #movement_liquid_sink = 10
#movement_gravity = 9.81 #movement_gravity = 9.81
#
# Mapgen stuff # Mapgen stuff
#
# Name of map generator to be used. Currently only v6 is supported.
#mg_name = v6 #mg_name = v6
# Water level of map.
#water_level = 1 #water_level = 1
# Size of chunks to be generated.
#chunksize = 5 #chunksize = 5
#mg_flags = 19 # Map generation attributes. Currently supported: trees, caves, flat, v6_biome_blend
#mg_flags = trees, caves, v6_biome_blend
# How large deserts and beaches are
#mgv6_freq_desert = 0.45 #mgv6_freq_desert = 0.45
#mgv6_freq_beach = 0.15 #mgv6_freq_beach = 0.15
# Perlin noise attributes for different map generation parameters
# Offset, scale, spread factor, seed offset, number of octaves, persistence
#mgv6_np_terrain_base = -4, 20, (250.0, 250, 250), 82341, 5, 0.6 #mgv6_np_terrain_base = -4, 20, (250.0, 250, 250), 82341, 5, 0.6
#mgv6_np_terrain_higher = 20, 16, (500, 500, 500), 85039, 5, 0.6 #mgv6_np_terrain_higher = 20, 16, (500, 500, 500), 85039, 5, 0.6
#mgv6_np_steepness = 0.85, 0.5, (125, 125, 125), -932, 5, 0.7 #mgv6_np_steepness = 0.85, 0.5, (125, 125, 125), -932, 5, 0.7
@ -303,4 +330,3 @@
#mgv7_np_bgroup = 0.5, 0.3125, (350, 350, 350), 5923, 2, 0.6 #mgv7_np_bgroup = 0.5, 0.3125, (350, 350, 350), 5923, 2, 0.6
#mgv7_np_heat = 25, 50, (500, 500, 500), 35293, 1, 0 #mgv7_np_heat = 25, 50, (500, 500, 500), 35293, 1, 0
#mgv7_np_humidity = 50, 31.25, (750, 750, 750), 12094, 2, 0.6 #mgv7_np_humidity = 50, 31.25, (750, 750, 750), 12094, 2, 0.6

@ -94,7 +94,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("new_style_water", "false"); settings->setDefault("new_style_water", "false");
settings->setDefault("new_style_leaves", "true"); settings->setDefault("new_style_leaves", "true");
settings->setDefault("smooth_lighting", "true"); settings->setDefault("smooth_lighting", "true");
settings->setDefault("enable_texture_atlas", "true"); settings->setDefault("enable_texture_atlas", "false");
settings->setDefault("texture_path", ""); settings->setDefault("texture_path", "");
settings->setDefault("shader_path", ""); settings->setDefault("shader_path", "");
settings->setDefault("video_driver", "opengl"); settings->setDefault("video_driver", "opengl");
@ -183,7 +183,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("congestion_control_max_rate", "400"); settings->setDefault("congestion_control_max_rate", "400");
settings->setDefault("congestion_control_min_rate", "10"); settings->setDefault("congestion_control_min_rate", "10");
settings->setDefault("remote_media", ""); settings->setDefault("remote_media", "");
settings->setDefault("debug_log_level", "0"); settings->setDefault("debug_log_level", "2");
settings->setDefault("emergequeue_limit_total", "256"); settings->setDefault("emergequeue_limit_total", "256");
settings->setDefault("emergequeue_limit_diskonly", ""); settings->setDefault("emergequeue_limit_diskonly", "");
settings->setDefault("emergequeue_limit_generate", ""); settings->setDefault("emergequeue_limit_generate", "");
@ -203,14 +203,15 @@ void set_default_settings(Settings *settings)
settings->setDefault("movement_liquid_sink", "10"); settings->setDefault("movement_liquid_sink", "10");
settings->setDefault("movement_gravity", "9.81"); settings->setDefault("movement_gravity", "9.81");
//mapgen related things //liquid stuff
settings->setDefault("mg_name", "v6");
settings->setDefault("water_level", "1");
settings->setDefault("liquid_finite", "false"); settings->setDefault("liquid_finite", "false");
settings->setDefault("liquid_update", "1.0"); settings->setDefault("liquid_update", "1.0");
settings->setDefault("liquid_relax", "1"); settings->setDefault("liquid_relax", "1");
settings->setDefault("liquid_fast_flood", "1"); settings->setDefault("liquid_fast_flood", "1");
//mapgen stuff
settings->setDefault("mg_name", "v6");
settings->setDefault("water_level", "1");
settings->setDefault("chunksize", "5"); settings->setDefault("chunksize", "5");
settings->setDefault("mg_flags", "trees, caves, v6_biome_blend"); settings->setDefault("mg_flags", "trees, caves, v6_biome_blend");
settings->setDefault("mgv6_freq_desert", "0.45"); settings->setDefault("mgv6_freq_desert", "0.45");