diff --git a/minetest.conf.example b/minetest.conf.example index 310f896b07..6956b0bcf5 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -588,13 +588,12 @@ # 3D support. # Currently supported: -# - none: no 3d output. -# - anaglyph: cyan/magenta color 3d. -# - interlaced: odd/even line based polarization screen support. -# - topbottom: split screen top/bottom. -# - sidebyside: split screen side by side. -# - crossview: Cross-eyed 3d -# type: enum values: none, anaglyph, interlaced, topbottom, sidebyside, crossview +# - none: no 3D output +# - anaglyph: cyan/magenta color 3D +# - topbottom: split screen top/bottom +# - sidebyside: split screen side-by-side +# - crossview: cross-eyed 3D +# type: enum values: none, anaglyph, topbottom, sidebyside, crossview # 3d_mode = none # Strength of 3D mode parallax. @@ -3027,6 +3026,16 @@ # type: bool # profiler.load = false +# Disable if you only want to instrument with Tracy. +# type: bool +# profiler.measure = true + +# Capture Tracy zones with the profiler's instrumentation. +# You need to build with Tracy to use this, see doc/developing/profiling.md +# for details. +# type: bool +# profiler.tracy = false + # The default format in which profiles are being saved, # when calling `/profiler save [format]` without format. # type: enum values: txt, csv, lua, json, json_pretty diff --git a/src/settings_translation_file.cpp b/src/settings_translation_file.cpp index d090a7b41a..0196ead831 100644 --- a/src/settings_translation_file.cpp +++ b/src/settings_translation_file.cpp @@ -167,7 +167,7 @@ fake_function() { gettext("Undersampling is similar to using a lower screen resolution, but it applies\nto the game world only, keeping the GUI intact.\nIt should give a significant performance boost at the cost of less detailed image.\nHigher values result in a less detailed image.\nNote: Undersampling is currently not supported if the \"3d_mode\" setting is set\nto a non-default value."); gettext("3D"); gettext("3D mode"); - gettext("3D support.\nCurrently supported:\n- none: no 3d output.\n- anaglyph: cyan/magenta color 3d.\n- interlaced: odd/even line based polarization screen support.\n- topbottom: split screen top/bottom.\n- sidebyside: split screen side by side.\n- crossview: Cross-eyed 3d"); + gettext("3D support.\nCurrently supported:\n- none: no 3D output\n- anaglyph: cyan/magenta color 3D\n- topbottom: split screen top/bottom\n- sidebyside: split screen side-by-side\n- crossview: cross-eyed 3D"); gettext("3D mode parallax strength"); gettext("Strength of 3D mode parallax."); gettext("Bobbing"); @@ -716,6 +716,10 @@ fake_function() { gettext("Mod Profiler"); gettext("Load the game profiler"); gettext("Load the game profiler to collect game profiling data.\nProvides a /profiler command to access the compiled profile.\nUseful for mod developers and server operators."); + gettext("Measure time samples"); + gettext("Disable if you only want to instrument with Tracy."); + gettext("Capture Tracy zones"); + gettext("Capture Tracy zones with the profiler's instrumentation.\nYou need to build with Tracy to use this, see doc/developing/profiling.md\nfor details."); gettext("Default report format"); gettext("The default format in which profiles are being saved,\nwhen calling `/profiler save [format]` without format."); gettext("Report path");