Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Illuna-Minetest
illuna-minetest
Commits
7caa28a6
Commit
7caa28a6
authored
12 years ago
by
kwolekr
Browse files
Options
Downloads
Patches
Plain Diff
Change default settings for log level, texture atlas, document new settings
parent
0183bdad
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
minetest.conf.example
+29
-3
29 additions, 3 deletions
minetest.conf.example
src/defaultsettings.cpp
+7
-6
7 additions, 6 deletions
src/defaultsettings.cpp
with
36 additions
and
9 deletions
minetest.conf.example
+
29
−
3
View file @
7caa28a6
...
...
@@ -105,7 +105,7 @@
#smooth_lighting = true
# Enable combining mainly used textures to a bigger one for improved speed
# disable if it causes graphics glitches.
#enable_texture_atlas =
tru
e
#enable_texture_atlas =
fals
e
# Path to texture directory. All textures are first searched from here.
#texture_path =
# Video back-end.
...
...
@@ -267,8 +267,25 @@
# (obviously, remote_media should end with a slash)
# Files that are not present would be fetched the usual way
#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
#
#movement_acceleration_default = 3
#movement_acceleration_air = 2
#movement_acceleration_fast = 10
...
...
@@ -283,13 +300,23 @@
#movement_liquid_sink = 10
#movement_gravity = 9.81
#
# Mapgen stuff
#
# Name of map generator to be used. Currently only v6 is supported.
#mg_name = v6
# Water level of map.
#water_level = 1
# Size of chunks to be generated.
#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_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_higher = 20, 16, (500, 500, 500), 85039, 5, 0.6
#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_heat = 25, 50, (500, 500, 500), 35293, 1, 0
#mgv7_np_humidity = 50, 31.25, (750, 750, 750), 12094, 2, 0.6
This diff is collapsed.
Click to expand it.
src/defaultsettings.cpp
+
7
−
6
View file @
7caa28a6
...
...
@@ -94,7 +94,7 @@ void set_default_settings(Settings *settings)
settings
->
setDefault
(
"new_style_water"
,
"false"
);
settings
->
setDefault
(
"new_style_leaves"
,
"true"
);
settings
->
setDefault
(
"smooth_lighting"
,
"true"
);
settings
->
setDefault
(
"enable_texture_atlas"
,
"
tru
e"
);
settings
->
setDefault
(
"enable_texture_atlas"
,
"
fals
e"
);
settings
->
setDefault
(
"texture_path"
,
""
);
settings
->
setDefault
(
"shader_path"
,
""
);
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_min_rate"
,
"10"
);
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_diskonly"
,
""
);
settings
->
setDefault
(
"emergequeue_limit_generate"
,
""
);
...
...
@@ -203,14 +203,15 @@ void set_default_settings(Settings *settings)
settings
->
setDefault
(
"movement_liquid_sink"
,
"10"
);
settings
->
setDefault
(
"movement_gravity"
,
"9.81"
);
//mapgen related things
settings
->
setDefault
(
"mg_name"
,
"v6"
);
settings
->
setDefault
(
"water_level"
,
"1"
);
//liquid stuff
settings
->
setDefault
(
"liquid_finite"
,
"false"
);
settings
->
setDefault
(
"liquid_update"
,
"1.0"
);
settings
->
setDefault
(
"liquid_relax"
,
"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
(
"mg_flags"
,
"trees, caves, v6_biome_blend"
);
settings
->
setDefault
(
"mgv6_freq_desert"
,
"0.45"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment