aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-07-13Fix bug setting channel window size.Lars Hofhansl
2018-07-13Ensure that legacy mode is correctly disabled.Lars Hofhansl
2018-07-12Reduce block load glitchesLars Hofhansl
See #7542 This reduces glitches in deep water and underground caves.
2018-07-10Android: Add 'aux' button (#7477)Muhammad Rifqi Priyo Susanto
Add 'aux' button. Use joystick to trigger 'aux' button when forward and out of main circle, by enabling 'virtual_joystick_triggers_aux' setting.
2018-07-10Formspecs: Remove accidental empty 'quit' fieldSmallJoker
2018-07-08Lua templating reading (part 4): s16, v2s16, v2f (#7512)Loïc Blot
2018-07-08Revert 6587 - Optimize entity-entity collision (#7539)lhofhansl
2018-07-06Fix memory leak in guiConfirmRegistrationHybridDog
2018-07-03Zoom: Correctly verify client passed zoom at the server (#7526)lhofhansl
Fixes generation of distant world when not zooming in creative mode (in creative mode zoom FOV is 15 degrees).
2018-07-01Drop ClientEvent CEE_PLAYER_BREATH: triggering function is not called.Loic Blot
Also drop 3 useless IntervalLimiter
2018-07-01Log deprecated Lua function calls (#7491)SmallJoker
2018-07-01Make the server status message customizable (#7357)SmallJoker
Remove now redundant setting show_statusline_on_connect Improve documentation of `minetest.get_server_status`
2018-06-30Android: Resize jump and sneak buttons' touch target (#7498)Muhammad Rifqi Priyo Susanto
2018-06-30Modernize lua read (part 2 & 3): C++ templating assurance (#7410)Loïc Blot
* Modernize lua read (part 2 & 3): C++ templating assurance Implement the boolean reader Implement the string reader Also remove unused & unimplemented script_error_handler Add a reader with default value
2018-06-30Fix memory leaks in mod storage (#7500)red-001
2018-06-30Fix world deletion (#7494)Vitaliy
* Fix world deletion
2018-06-30Fix a memleak before assertion in l_get_mod_storageLoic Blot
2018-06-27Fix mod channels crash (#7481)red-001
2018-06-27Fix small memory leaks in client. (#7492)red-001
2018-06-26Cavegen: Fix errors when getting biome outside mapchunk (#7480)Paramat
Some cave segments are outside the mapchunk. Previously, biome was being calculated by a function that uses the noise maps. Points outside the mapchunk resulted in incorrect noise map indexes that were sometimes outside the noise map size, causing a crash. Use either noise maps or point noise calculations depending on point location.
2018-06-26Update settings translationsSmallJoker
2018-06-26Rename CSM flavours to restrictionsSmallJoker
& Satisfy LINT
2018-06-26Fix buffer overrun in SRP (#7484)red-001
The old code got a pointer to the array instead of the first element, this resulted in a buffer overflow when the function was used more than once.
2018-06-26Fix MurmurHash implementation to really be unaligned (#7482)sfan5
2018-06-24Decoration API: Add lightweight ability to have complete coverage (#7456)Paramat
When the noise value or fill_ratio >= 10.0 complete coverage is enabled. This disables random placement to avoid redundant multiple placements at one position. Instead, 1 decoration per surface node is placed by looping across each division. '10' was chosen as this is the fill_ratio that previously created very near complete coverage. The complete coverage feature therefore integrates smoothly when noise is used for variable decoration density. 'fill_ratio = 10' should be used by modders who want a decoration placed on every surface node. Compared to before such a decoration placement will be 10 times faster.
2018-06-24Fix rtt >= 0.0f assertion and free_move crashSmallJoker
2018-06-23Android: Use correct temporary path (#7463)stujones11
2018-06-23RTT fixes (#7428)you
* Few code updates * Do not show average RTT before timing out * Fix unwanted integer division in RTTStatistics * Fix float format, prettier jitter calculation * Use +=, 0.1f -> 100.0f for stronger average updates
2018-06-22Fix crash caused by Lua error during startup (#7473)red-001
2018-06-22Fix ipv6_server=true not accepting IPv4 connections on Windows (#7471)sfan5
2018-06-21Biome API: Fix absent water decorations and dust, in deep water (#7470)Paramat
Previously, the biomemap was 'BIOME_NONE' for a mapchunk column if a stone surface was not found in it, causing water surface decorations and water surface dust to fail. Store the biome ID of the biome calculated at a water surface and add it to the biomemap if the biomemap is 'BIOME_NONE' for the mapchunk column. The biome calculated at a stone surface still has priority for the biomemap entry, as it should. Edit an incorrect comment.
2018-06-19Biome dust: Revert fix that added dust to mod structures (#7464)Paramat
Revert commit 99143f494711034068685b6ee845ce19fa09d7d9 and commit f4ca830abe1aa22875c99b31bf2ee56e26f83f05. These commits caused biome dust to be applied even when there was no core mapgen terrain in a mapchunk column. So the dust, which overgenerates, then appeared on structures added by mods in 'on_generated', such as floatlands, asteroids or above-surface realms.
2018-06-18Update to new ContentDB APIrubenwardy
2018-06-17Provide Xorg/net wm process ID (#7445)thoughtjigs
Adding support for _NET_WM_PID as defined in Extended Window Manager Hints Move verbose messaging to setupXorgTopLevelWindow method as Xorg messages should only occur when running in Xorg env. Irrlicht returns the XDisplay as a void* and XWindow as an unsigned long so reinterpret those as the appropriate type. Also fixed a spaces for tab formating issue
2018-06-15Remove Server::m_ignore_map_edit_events (noop)Loic Blot
2018-06-13Server: move shutdown parts to a specific shutdown state object (#7437)Loïc Blot
* Server: move shutdown parts to a specific shutdown state object
2018-06-11Fix the /shutdown command (#7431)SmallJoker
2018-06-10Fix narrow/utf8 difference in incoming/outcoming messagesnumber Zero
2018-06-08Mapgen flags: Add 'biomes' global mapgen flag (#7355)Paramat
Previously the only way to disable biomes was to 'clear' the registered biomes in a mod, but this method causes large amounts of unnecessary processing: 1. Calculation of 4 2D noises. 2. Looping through all nodes of a mapchunk replacing nodes with identical nodes. The new flag disables those operations.
2018-06-06Stop autoforward on BACKWARD key-press (#7417)tukkek
2018-06-06CSM/SSM: Add on_mods_loaded callback (#7411)Loïc Blot
* CSM/SSM: Add on_mods_loaded callback
2018-06-05Set ENABLE_GETTEXT to TRUE by default (#7415)Wuzzy
2018-06-04Modernize lua read (part 1): C++ templating insurance (#7394)Loïc Blot
* Modernize lua read (part 1): C++ templating assurance Implement the float reader
2018-06-04Biome dust placement: Improve comments, re-order some linesParamat
2018-06-02Biomemap: Simplify code of recent commit (#7398)Paramat
2018-06-02Biomemap: Avoid empty biomemap entry to fix failing biome dust (#7393)Paramat
'generateBiomes()' constructs the biomemap as it generates biomes. The biome calculated at first stone surface encountered is added to the biomemap. Previously, if no stone surface was encountered in a mapchunk column the biomemap was left empty for that (x, z) position, causing biome dust and water surface decoration placement to fail. If at the base of a mapchunk column the biomemap is empty, add the currently active biome to the biomemap, or if biome is NULL calculate it for this position and add it to the biomemap.
2018-05-31Fix isNan on setYaw Lua call (#7380)Loïc Blot
* Fix isNan on setYaw Lua call
2018-05-31Mgv7: Avoid rivergen removing mod-placed nodes when overgenerating (#7388)Paramat
Only allow river generation to replace c_stone. This also acts as an optimisation by being placed before canyon shape calculation.
2018-05-29LINT fixLoic Blot
2018-05-29Rename some keys for clarity (#7384)Wuzzy