aboutsummaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
AgeCommit message (Collapse)Author
2017-01-21Add show_statusline_on_connect setting (#5084)Loïc Blot
Add show_statusline_on_connect setting
2017-01-14Fix build with freetype support disabledsfan5
2017-01-13Organize defaultsettings.cppShadowNinja
2017-01-13Enable mod security by defaultShadowNinja
2016-12-28Redo light.cpp.Auke Kok
Remake the light_decode_table. The table starts out without pre-filled in values since those are always discarded by the code apparently. We calculate a pseudo curve with gamma power function, and then apply a new adjustment table. The adjustment table is setup to make the default gamma of 2.2 look decent: not too dark at light level 3 or so, but too dark at 1 and below to be playable. The curve is much smoother than before and looks reasonable at the whole range, offering a pleasant decay of light levels away from lights. The `display_gamma` setting now actually does something logical: the game is darker at values below 2.2, and brighter at values above 2.2. At 3.0, the game is very bright, but still has a good light scale. At 1.1 or so, the bottom 5 light levels are virtually black, but you can still see enough detail at light levels 7-8, so the range and spread is adequate. I must add that my monitor is somewhat dark to begin with, since I have a `hc` screen that doesn't dynamic range colors or try to pull up `black` pixels for me (it is tuned for accurate color and light levels), so this should look even better on more dynamic display tunings.
2016-12-24Process ABMs in a spherical volume instead of cubicLars Hofhansl
Increase active_block_range default to a 3 mapblock radius.
2016-12-21Disable mod security by default (closes #4944)sfan5
2016-12-16Mapgen: Make mgv7 the default in UIAuke Kok
The actual menu default comes from defaultsettings.cpp.
2016-12-07Fog: Make fraction of visible distance at which fog starts configurableLars Hofhansl
Optimise the fetching of global settings 'camera_smoothing', 'cinematic' and 'cinematic_camera_smoothing'. Cache 'cam_smoothing'.
2016-10-30Optionally disable optimization that causes underwater and cave rendering ↵lhofhansl
glitches. (#4686)
2016-10-20Changes to static object storage limit and error messageparamat
Move static object storage force-delete message from errorstream to warningstream. Increase 'max objects per block' setting to 64. Add missing spaces in warning code.
2016-10-16Enable mod security by defaultShadowNinja
2016-10-05Chat: new settings to prevent spamLoic Blot
Added the following chat coreside features * Chat messages length limit * Message rate limiting * Message rate kicking Note: * handleChat now takes RemotePlayer pointer instead of u16 to remove useless lookups
2016-09-21Increase default font size by 1James Stevenson
2016-08-22Client: disable pre v25 init sending by defaultest31
Disable the ability to connect to old servers by default to improve password security. If people still want to connect to old (0.4.12 and earlier) servers, they can flip the send_pre_v25_init setting. Add the ability to detect if we've tried to connect to a server which only supports the pre v25 init protocol, and show an apropriate error message. Most times the error will already be catched at the serverlist level, the detection mechanism only acts as last resort, because the "Connection timed out" error message that would be shown otherwise would be very confusing. Automatic "fixing" of this condition is not desired, as it would allow for downgrade attacks. As already 161 of the 167 servers on the serverlist support the new srp based auth protocol (> 96%), the breakage should be minimal. Follow up of commit af30183124d40a969040d7de4b3a487feec466e4 "Add option to not send pre v25 init packet" Also change the pessimistic assumption of masterlist server versions to optimistic, in order to avoid buggy behaviour (favourites not in the serverlist would be denied to connect to, etc).
2016-08-10Add zoom, tweakable with zoom_fov, default key: Z (like optifine)Esteban I. Ruiz Moreno
2016-07-05Remove cinematic toggle on F8rubenwardy
Also update cinematic mode's description to include mouse
2016-07-04Disable joysticks per default for nowest31
It seems that various different devices register as Joysticks on linux, and their presence has caused lots of confusion amongst minetest users. Therefore, disable the joystick feature. Closes #4261 Closes #4221
2016-06-03Initial Gamepad supportest31
Adds initial ingame gamepad support to minetest. Full Formspec support is not implemented yet and can be added by a later change.
2016-05-31Add colored text (not only colored chat).Ekdohibs
Add documentation, move files to a proper place and avoid memory leaks. Make it work with most kind of texts, and allow backgrounds too.
2016-05-10Mapgen V6: Synchronize spflags with defaultsettingskwolekr
This fixes an issue where trees are omitted from Mapgen V6 maps on configurations that explicitly defined the mgv6_spflags setting.
2016-05-08Defaultsettings/Android: Increase 'max block generate distance' to 3paramat
2016-05-07Optimize default settings for Android buildMaksim Gamarnik
2016-04-14Add option to disable entity selectionboxes. (#3992)TriBlade9
Setting only loaded once, default value is to enable them.
2016-03-19Allow NodeTimer, ABM and block mgmt interval changes.Auke Kok
ABM's are hardcoded to run every 1.0s, NodeTimers are hard coded to run at every 1.0s. Block mgmt is running every 2.0sec. However, these timers can be better tuned for both higher and lower values by server owners. Some server owners want to, and have the resources to send more packets per second to clients, and so they may wish to send smaller updates sooner. Right now all ABM's are coalesced into 1.0 second intervals, resulting in large send queues to all clients. By reducing the amount of possible timers, one can get a far better response rate and lower the perception of lag. On the other side of the camp, some servers may want to increase these values, which again isn't easily doable. The global settings abm_interval and nodetimer_interval are set to current values by default. I've tested with 0.2/0.5 type values and noticed a greatly improved response and better scattering of nodetimers, as well as enjoying not faceplanting into doors with pressure plates anymore.
2016-03-15Add option to not send pre v25 init packetest31
The legacy init packet (pre v25) sends information about the client's password that a server could use to log in to other servers if the username and password are the same. All the other benefits of SRP of protocol v25 are missed if the legacy init packet is still sent during connection creation. This patch adds an option to not send the v25 init packet. Not sending the v25 packet means breaking compat with pre v25 servers, but as the option is not enabled by default, no servers are affected unless the user explicitly flips the switch. More than 90% of the servers on the serverlist support post v25 protocols. The patch also fixes a bug with greying out of non compliant servers being done wrongly, the min and max params were mixed.
2016-03-12Add options for screenshot format and qualityDiego Martinez
2016-02-26Mapblock mesh: Allow to use VBORealBadAngel
2016-02-26Remove new_style_waterRealBadAngel
2016-02-22Add Lua interface to HTTPFetchRequestJeija
This allows mods to perform both asynchronous and synchronous HTTP requests. Mods are only granted access to HTTP APIs if either mod security is disabled or if they are whitelisted in any of the the secure.http_mods and secure.trusted_mods settings. Adds httpfetch_caller_alloc_secure to generate random, non-predictable caller IDs so that lua mods cannot spy on each others HTTP queries.
2016-02-21Camera: remove auto tune FPS, single view range settingRealBadAngel
2016-02-21Remove preload_item_visuals codeRealBadAngel
Closes #3748
2016-02-09Filmic HDR tone mappingRealBadAngel
2016-02-09FindSpawnPos: Let mapgens decide what spawn altitude is suitableparamat
To avoid spawn search failing in new specialised mapgens Increase spawn search range to 4000 nodes Add getSpawnLevelAtPoint() functions to EmergeManager, class Mapgen and all mapgens Remove getGroundLevelAtPoint() functions from all mapgens except mgv6 (possibly to be re-added later in the correct form to return actual ground level) Make mgvalleys flag names consistent with other mapgens Remove now unused 'vertical spawn range' setting
2016-02-08Cleanup selection mesh code, add shaders for halo and selection boxesRealBadAngel
2016-02-07Use meshes to display inventory itemsRealBadAngel
2015-11-21Mapgen: Add global 'decorations' flagparamat
Flag is set by default in MapgenParams The global 'trees' flag remains but is now undocumented and unset by default in MapgenParams Add mgv6_spflag 'trees' set by default in defaultsettings.cpp to affect new worlds only This is automatically backwards compatible for existing worlds
2015-10-29WoW-style AutorunDuane Robertson
This allows the player to toggle continuous forward with a key (F by default), so we don't have to hold down the forward key endlessly.
2015-10-29findSpawnPos: Add setting for max height above water levelparamat
Increase default from 6 to 16 to help with mgv7 and mgfractal Large-scale or alternative mapgens can result in a lowland spawn point not being found, causing a spawn at (0, 0, 0) possibly buried underground The max height is now settable to allow correct player spawn in any mapgen or when using custom noise parameters
2015-10-14Refactor loggingShadowNinja
- Add warning log level - Change debug_log_level setting to enumeration string - Map Irrlicht log events to MT log events - Encapsulate log_* functions and global variables into a class, Logger - Unify dstream with standard logging mechanism - Unify core.debug() with standard core.log() script API
2015-08-29Dungeongen: Remove floating framesparamat
Preserves the rare unbroken protruding dungeons Fix random range for first room roomplace Fix checked volume for first room 'fits' bool and check for 'untouchable' flag instead of 'inside' Remove 'enable floating dungeons' setting
2015-08-15Defaultsettings: Increase client_mapblock_limit to 5000paramat
2015-08-13Add count based unload limit for mapblocksest31
2015-08-07Fix camera updates being toggled by N key in release mode (#2762)Kahrl
2015-08-02Add map limit config optionrubenwardy
2015-07-23Optional reconnect functionalityest31
Enable the server to request the client to reconnect. This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) setting.
2015-07-17Server kicks: make messages configurable, cache wstringest31
2015-07-08Add new leaves style - simple (glasslike drawtype)RealBadAngel
2015-07-01Disable mesh cache by defaultest31
2015-06-28Minimap updateRealBadAngel