aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix world deletion (#7494)Vitaliy2018-06-30
| | | | * Fix world deletion
* Fix a memleak before assertion in l_get_mod_storageLoic Blot2018-06-30
|
* Fix mod channels crash (#7481)red-0012018-06-27
|
* Fix small memory leaks in client. (#7492)red-0012018-06-27
|
* Cavegen: Fix errors when getting biome outside mapchunk (#7480)Paramat2018-06-26
| | | | | | | | | | 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.
* Update settings translationsSmallJoker2018-06-26
|
* Rename CSM flavours to restrictionsSmallJoker2018-06-26
| | | | & Satisfy LINT
* Fix buffer overrun in SRP (#7484)red-0012018-06-26
| | | 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.
* Fix MurmurHash implementation to really be unaligned (#7482)sfan52018-06-26
|
* Decoration API: Add lightweight ability to have complete coverage (#7456)Paramat2018-06-24
| | | | | | | | | | | | | | 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.
* Fix rtt >= 0.0f assertion and free_move crashSmallJoker2018-06-24
|
* Android: Use correct temporary path (#7463)stujones112018-06-23
|
* RTT fixes (#7428)you2018-06-23
| | | | | | | | | | | | * 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
* Fix crash caused by Lua error during startup (#7473)red-0012018-06-22
|
* Fix ipv6_server=true not accepting IPv4 connections on Windows (#7471)sfan52018-06-22
|
* Biome API: Fix absent water decorations and dust, in deep water (#7470)Paramat2018-06-21
| | | | | | | | | | | | 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.
* Biome dust: Revert fix that added dust to mod structures (#7464)Paramat2018-06-19
| | | | | | | | | 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.
* Update to new ContentDB APIrubenwardy2018-06-18
|
* Provide Xorg/net wm process ID (#7445)thoughtjigs2018-06-17
| | | | | | 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
* Remove Server::m_ignore_map_edit_events (noop)Loic Blot2018-06-15
|
* Server: move shutdown parts to a specific shutdown state object (#7437)Loïc Blot2018-06-13
| | | | * Server: move shutdown parts to a specific shutdown state object
* Fix the /shutdown command (#7431)SmallJoker2018-06-11
|
* Fix narrow/utf8 difference in incoming/outcoming messagesnumber Zero2018-06-10
|
* Mapgen flags: Add 'biomes' global mapgen flag (#7355)Paramat2018-06-08
| | | | | | | | | 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.
* Stop autoforward on BACKWARD key-press (#7417)tukkek2018-06-06
|
* CSM/SSM: Add on_mods_loaded callback (#7411)Loïc Blot2018-06-06
| | | | | * CSM/SSM: Add on_mods_loaded callback
* Set ENABLE_GETTEXT to TRUE by default (#7415)Wuzzy2018-06-05
|
* Modernize lua read (part 1): C++ templating insurance (#7394)Loïc Blot2018-06-04
| | | | | | | * Modernize lua read (part 1): C++ templating assurance Implement the float reader
* Biome dust placement: Improve comments, re-order some linesParamat2018-06-04
|
* Biomemap: Simplify code of recent commit (#7398)Paramat2018-06-02
|
* Biomemap: Avoid empty biomemap entry to fix failing biome dust (#7393)Paramat2018-06-02
| | | | | | | | | | | | '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.
* Fix isNan on setYaw Lua call (#7380)Loïc Blot2018-05-31
| | | | * Fix isNan on setYaw Lua call
* Mgv7: Avoid rivergen removing mod-placed nodes when overgenerating (#7388)Paramat2018-05-31
| | | | | Only allow river generation to replace c_stone. This also acts as an optimisation by being placed before canyon shape calculation.
* LINT fixLoic Blot2018-05-29
|
* Rename some keys for clarity (#7384)Wuzzy2018-05-29
|
* Add crossview support (#7361)otdav332018-05-29
|
* Fix GameUI flag value regression introduced by ↵Loic Blot2018-05-29
| | | | | | a78659ed0529226ad937f5e241ad72ba93702959 Added more strong unittests on that part to prevent future regression
* Print error when HOME is not set (#7376)Midgard2018-05-28
| | | | | In some configurations, such as when using the runit supervisor and its tool chpst, the HOME variable might be unset. This resulted in an unclear error message that was hard to pin down.
* Fix more GCC 8.1 warnings ↵Loïc Blot2018-05-28
| | | | | | | | | |   1   master  Fix 3 warnings reported by GCC 8.1 of the following type ```src/client/gameui.cpp:191:43: warning: « void* memset(void*, int, size_t) » effacement d'un objet du type non trivial « struct GameUI::Flags »; use assignment or value-initialization instead [-Wclass-memaccess] memset(&m_flags, 0, sizeof(GameUI::Flags)); ```
* Fix a -Wcatch-value warning reported by GCC 8.1Loïc Blot2018-05-28
| | | | | | | ``` src/translation.cpp:43:16: warning: interception du type polymorphique « class std::out_of_range » par valeur [-Wcatch-value=] } catch (std::out_of_range) { ```·
* Remove a useless struct keyword for ObjectPropertiesLoic Blot2018-05-28
|
* Formspec verification: Fix show_formspec inside callbacks (#7374)SmallJoker2018-05-26
|
* Vein ore: Fix bug caused by changing perlinmap Y size (#7371)Paramat2018-05-24
| | | | | | | | | | Because vein ore uses 3D noise (all the other ores use 2D noise) the perlinmap Y size can be different in different mapchunks when close to the ore Y limits. Previously this caused bugs in the vein structure because changes in perlinmap Y size did not recreate the noise objects. Delete and recreate the noise objects with the new Y size if Y size has changed.
* Schematic decorations: Fix placement bug when centred and rotated (#7365)Paramat2018-05-24
| | | | | | Previously, the centering caused by the 'place center x/z' flags did not take rotation into account. So schematics with unequal X and Z dimensions were incorrectly placed. The bug was hidden for schematics equal in X and Z dimensions.
* Dungeons: Fix duplication of y limit parameters (#7359)Paramat2018-05-20
|
* Fix missing ignore textures (#7326)you2018-05-20
|
* Add screenshots to online content browserrubenwardy2018-05-20
|
* Player marker on both minimaps (#7350)nanoproject2018-05-18
|
* Add updating to online content browserrubenwardy2018-05-16
|
* Use server's zoom fov for distant world loading.Lars Hofhansl2018-05-15
|