aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-10-26Add missing? includeEsteban I. Ruiz Moreno
2017-10-25Reduce server FOV with forward speedLars Hofhansl
This causes blocks in front of the player to be rendered sooner and blocks in the periphal view (that would soon be out of view) a bit later. Overall this leads to smoother rendering as the player is moving around.
2017-10-23Improvements/fixes for noise parameter input in advanced settingsMuhammad Rifqi Priyo Susanto
Formspec input for each individual noise parameter and flag. Allow noise flags to be set in advanced settings, previously only settable in minetest.conf. Standardise 'group format' for noise parameters set in minetest.conf, as only these support noise flags. However the older 'single line' format is still accepted to support existing minetest.conf files. Therefore auto-generate minetest.conf.example with noise parameters in 'group format'. Setting 'type' in settingtypes.txt is now either 'noise_params_2D' or 'noise_params_3D', the dimension number is displayed in the advanced settings edit page.
2017-10-19Set range of blocks to retrieve per roundtrip to 2.Lars Hofhansl
This is a small, partial revert of #6483, which had set this to 1.
2017-10-17directiontables.cpp: fix a warning reported by VS2017Loic Blot
2017-10-17Fix inventory drag drop flag (#6416)asl97
2017-10-17Add updated settings_translation_fileEsteban I. RM
2017-10-17don't pass g_settings around, and use it directlyEsteban I. RM
2017-10-17Regenerate minetest.conf.example and translation fileEsteban I. RM
2017-10-17Implement #6096Esteban I. RM
2017-10-16Fix strict_protocol_version_checking functionality after ee9a442SmallJoker
2017-10-16Don't try to craft a non-existent itemEsteban I. RM
2017-10-15Real global textures (#6105)Vitaliy
* Real global textures * Add world-aligned textures * Update minimal to support world-aligned tiles * Update minimal
2017-10-15Cache server config settings. (#6530)lhofhansl
* Cache server config settings.
2017-10-13Retrieve a small cone of blocks in the direction of the players velocity.Lars Hofhansl
This helps retrieving the right set of blocks when the player is falling, traveling on cart, or in general traveling in a direction different from the view direction.
2017-10-13Formspec: Fallback to 'label' in readonly textarea[]SmallJoker
Guarantees backwards compatibility for this formspec element change
2017-10-10Simple decorations: Make 'place_offset_y' usable with simple decorationsparamat
Necessary for placing the base cube of 'plantlike_rooted' drawtype in the seabed instead of on it. Useful for placing decorations sunk into, or buried in, the ground.
2017-10-10Smooth lighting: Fix light leaking through edge-connected cornersDTA7
For solid nodes, the lighting at a corner becomes face-dependent, which means that only the four nodes in face-direction contribute to the lighting (getSmoothLightSolid). For special nodes, which use the lighting values at the eight corners of a node, the lighting is not face-dependent, but certain nodes of the eight surrounding nodes of a corner (here indices 4, 5, 6 and 7) can be obstructed. Ambient occlusion now also occurs for solid nodes, if two, three or four of the four nodes in face-direction are solid.
2017-10-10Fix warnings introduced by 9b8fa99fe30728c1fcfa73cdf74211841bdae9fbLoic Blot
2017-10-10Thread: fix a crash on Windows due to data race condition on ↵Loïc Blot
Thread::m_start_finished_mutex (#6515)
2017-10-10NetworkPacket::putRawPacket: resize m_data to datasize + memcpyLoic Blot
In some cases NetworkPacket was created using default constructor and m_data is not properly sized. This fixed out of bounds memory copy Also use memcpy instead of std::vector affectation to enhance packet creation
2017-10-09Simple decorations: Add 'param2_max' parameter for random param2paramat
If 'param2_max' is not used, parameter 'param2' works as before for compatibility. If 'param2_max' is used, 'param2' and 'param2_max' become the lower and upper bounds of a per-decoration random param2.
2017-10-09Travis: Update clang from 4.0 to 5.0 (#6467)Loïc Blot
* Update clang from 4.0 to 5.0
2017-10-09Formspec: textarea with scrollbar improvementsadrido
Increase scrollrate depending on fontsize Scroll on mousewheel Allow scrolling and marking text on non writable textareas Update lua api about readonly mode Show scrollbar if text overflows
2017-10-09FormSpec : Add an auto vertical scrollbar to the textareaadelcoding1
2017-10-07Replace deprecated WINAPI GetVersionInfoEx (#6496)adrido
* Replace deprecated WINAPI GetVersionInfoEx
2017-10-07Add setting for near plane distance. (#6395)Rob Blanckaert
* Allow setting the near plane * - Add near_plane limit of 0.5 to prevent x-ray. - Add more details to near_plane setting.
2017-10-07Unkown nodes: Provide position on interact (#6505)SmallJoker
* Unkown nodes: Provide position on interact
2017-10-02[CSM] Add callback on open inventory (#5793)Vincent Glize
2017-10-02ParticleSpawner::step cleanup and rotation fix (#6486)SmallJoker
* Particles: Move spawner code to a separate fucntion
2017-10-02CAO footstep sounds: Reduce gain to balance volumeparamat
2017-10-01Stratum ore: Allow use with no noise for simple horizontal strataparamat
If either of the 2 noise parameters are omitted the ore will occur from y_min to y_max in a simple horizontal stratum. As this does not compute noise performance improves, and is ideal for placing many layers. Clean up some nearby ore documentation.
2017-09-30game.cpp: remove dead code for proto v25 compat (#6481)Loïc Blot
Protocol v25 is not supported anymore
2017-09-30Fix attached particle spawners far from spawn (#6479)raymoo
* Fix attached particle spawners far from spawn When far from spawn, attached particle spawners did not spawn particles.
2017-09-30Make Player::peer_id server-side only and add getters and setters (#6478)Loïc Blot
* Make Player::peer_id server-side only and add getters and setters Player::peer_id has no sense client side, move it to server, make it private and add setter and getter Also add some PEER_ID_INEXISTENT instead of harcoded 0
2017-09-28Localplayer: Fix disable_jump effect and getStandingNodePos()SmallJoker
Leave the old move code untouched.
2017-09-28Add static_save property to luaentites to not save them statically. (#5112)orwell96
* Add no_static_save property to luaentites to not save them statically. This allows for temporary objects that would get deleted anyway as soon as they are loaded again without the static saving overhead. * Use positive meaning for static_save object property * Invert meaning also for the LUA parameter Note: getboolfield() does not change &result when field does not exist, so it defaults to the default value in the header file, which is 'true'. * Extend push_object_properties()
2017-09-28Server: affect bind_addr on constructor instead of start() (#6474)Loïc Blot
bind_addr is already ready when using constructor as we read is.IPv6 from it, instead pass the whole address
2017-09-27Fix some forgotten u16 -> session_t in ad7daf7b52348e1b71aa803be10de5b2134cba11Loic Blot
2017-09-27Fix recent commit: std::max -> std::fmax for floats (#6469)Paramat
Fixes commit a455297d297c0819a7eff89e51e5f01a5ac731c3 <cmath> header was already present in commit.
2017-09-27Lint fixLoic Blot
2017-09-27Add session_t typedef + remove unused functions (#6470)Loïc Blot
* Add session_t typedef + remove unused functions u16 peer_id is used everywhere, to be more consistent and permit some evolutions on this type in the future (i'm working on a PoC), uniformize u16 peer_id to SessionId peer_id
2017-09-26Update version correctly again (#6462)SmallJoker
* Update version correctly again Partial revert of PR 6331 * It doesn't update automatically
2017-09-26Update JsonCPP to 1.8.3 (#6466)Loïc Blot
* Update JsonCPP to 1.8.3 * Fix deprecated functions Json::FastWriter, Json::StyledWriter and Json::Reader are marked deprecated since 1.1 and are deprecated in 0.8 but not shown at compilation time. Use new methods to serialize/deserialize
2017-09-26Add mute setting (toggled by the mute key and in the volume menu) (#6415)DTA7
* Add mute setting (toggled by the mute key and in the volume menu)
2017-09-26Implement mod communication channels (#6351)Loïc Blot
Implement network communication for channels * Implement ModChannel manager server side to route incoming messages from clients to other clients * Add signal handler switch on client & ModChannelMgr on client to handle channels * Add Lua API bindings + client packet sending + unittests * Implement server message sending * Add callback from received message handler to Lua API using registration method
2017-09-25Positional sound: Limit volume when closer than 1 nodeparamat
Change OpenAL distance model from AL_INVERSE_DISTANCE to AL_INVERSE_DISTANCE_CLAMPED to avoid excessive volume when very close to the sound location, for example MTG doors, and MTG fire sounds which are combined at an average position and often located in air nodes. Because AL_REFERENCE_DISTANCE has been reduced to 1 node (the distance under which gain is clamped), multiply volume by the same factor to keep sound gains the same as before, since the gain is calculated as: gain = (AL_REFERENCE_DISTANCE / distance)
2017-09-23Fix blocks written by vmanip not being marked as modifiedsfan5
This bug can be triggered by e.g. calling minetest.place_schematic() and stopping the server immediately afterwards.
2017-09-21Set placer to nil instead of a non-functional one in item_OnPlace (#6449)DTA7
* Set placer to nil instead of a non-functional one This requires nil checks in core.rotate_node and core.rotate_and_place.
2017-09-21on_death: Fix callback number of pushed arguments (Fixes #6451)SmallJoker