aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Joystick: Remap joystick-specific KeyTypes to generic onesMarkus Koch2020-11-09
| | | | | | | | | | | | | | According to the following table: * MOUSE_L -> DIG * MOUSE_R -> PLACE * SCROLL_UP -> HOTBAR_NEXT * SCROLL_DOWN -> HOTBAR_PREV This commit entirely removes the special KeyTypes used for joysticks. Support for the MOUSE KeyTypes had already been removed in the main game code without adapting the joystick code, breaking joystick input. This commit restores joystick functionality.
* Fix object interaction distance not being checked (#10547)rubenwardy2020-11-09
|
* ContentCAO: Fix segfault when minimap is disabledSmallJoker2020-11-08
|
* Revert #10495 and simplify.Lars2020-11-07
|
* Fix integer-string conversion for shaderssfan52020-11-05
| | | | closes #10605
* Add model[] formspec element (#10320)SmallJoker2020-11-04
| | | | | | Formspec element to display models, written by @kilbith, rebased and tweaked. Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: sfan5 <sfan5@live.de>
* Revert "Fix short 180 degree rotation when using set_bone_position (#10405)" ↵Lars Müller2020-11-04
| | | | | (#10534) This reverts commit 0f98b54aa4b2361575002d92b29fe222703ba557.
* Fix ObjectRef errors due to lua_isnil() (#10564)Zughy2020-11-04
| | | Treat 'none' values as 'nil'
* Slight simplification and optimization of RemoteClient.Lars2020-11-03
|
* Increase defaults for viewing_range, active_object_range and related ↵Lars2020-11-03
| | | | settings #10597
* Block attempts to connect to the client (#10589)red-0012020-11-02
| | | A Minetest peer initiates a connection by sending a packet with an invalid peer_id, for whatever reason the code for doing this ran on both the client and the server meaning you could connect to a client if you knew what the address:port tuple it was listening on.
* Fix incorrect deprecation hintsSmallJoker2020-11-01
| | | | "good" and "bad" were swapped in the process, resulting in wrong deprecation messages
* Fix segfault in deprecation logging due to tail call, log by default (#10174)rubenwardy2020-10-31
|
* Player physics: Ensure larger dtime simulation steps (#10563)Lars Müller2020-10-29
|
* Show RTT in ms with 2 digits of precision (#10573)Oblomov2020-10-29
| | | If your ping is in seconds, you probably have other problems.
* Avoid resending near blocks unnecessarily.Lars2020-10-27
|
* Fix CSMs on arm64 (#10553)luk3yx2020-10-25
|
* Shaders for Android (GLES 2) (#10506)Vitaliy2020-10-25
| | | | | Shader support for OpenGL ES 2 devices (Android) Co-authored-by: sfan5 <sfan5@live.de>
* Clean up l_object.cpp (#10512)Zughy2020-10-22
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Fix Media... 0% on loading screen (#9478)Maksim2020-10-21
|
* Fix show_on_minimap default value for local playersfan52020-10-20
| | | | fixes #10526
* Implement unloading of static_save=false objects according to existing docs ↵sfan52020-10-19
| | | | (#10485)
* Decouple entity minimap markers from nametags replacing with show_on_minimap ↵sfan52020-10-19
| | | | property (#10443)
* Minor clientmap improvements.Lars2020-10-19
| | | | | | - Avoid calculating isBlockInSight for blocks without meshes. - Add metric for how many blocks the client has currently loaded. - Make some variables constant.
* Periodically release all mesh HW buffers to avoid an Irrlicht bottleneck.Lars2020-10-17
|
* Remove all bump mapping and parallax occlusion related code.Lars2020-10-17
|
* Rely on max_simultaneous_block_sends_per_client to limit blocks sent to the ↵Lars2020-10-13
| | | | client.
* Fix float argument check in minetest.set_timeofday() (#10483)Zughy2020-10-13
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Add ObjectRef:get_children() (#10480)Zughy2020-10-13
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Avoid drawing invisible blocks on the client.Lars2020-10-13
|
* Pass ContentFeatures as reference to read_content_features (#10464)JosiahWI2020-10-13
|
* Add missing type check to InvRef:set_lists() (#10476)Zughy2020-10-11
|
* Add a short_description to be used by mods (#8980)DS2020-10-09
|
* Fix box[]es not being clipped (#10473)DS2020-10-08
| | | Fixes a regression of #8676.
* -Wmem-access only called when GCC > 7 (#10453)Zughy2020-10-06
|
* Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog2020-10-06
| | | | | Add more detailed light detection functions, a function to get the artificial light (torches) and a function to get the sunlight as seen by the player (you can specify timeofday). Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Prevent games from setting secure settings (#10460)rubenwardy2020-10-06
|
* Remove unused functions reported by cppcheck (#10463)SmallJoker2020-10-05
| | | | | | | Run unused functions reported by cppcheck This change removes a few (but not all) unused functions. Some unused helper functions were not removed due to their complexity and potential of future use.
* Minimap as HUD element with API controlPierre-Yves Rollo2020-10-04
| | | | | | | Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map
* Add First Person Attachments (#10360)Jordan Snelling2020-10-04
| | | | | | Fixes some other third person camera specific attachments. Implements a single new flag for entities to be forced visible in first person mode. Old mods do not need to be updated to use the new flag and are fully backwards compatible.
* Fix short 180 degree rotation when using set_bone_position (#10405)Lars Müller2020-10-04
|
* Deprecate get_player_velocity and add_player_velocity (#10173)rubenwardy2020-10-04
|
* Fix scroll bar overlapping text (again) (#9058)random-geek2020-10-03
|
* Reduce the FPS when the window is unfocused (#8837)HybridDog2020-10-03
|
* (se)SerializeString: Include max length in the nameSmallJoker2020-10-01
| | | | | | | This commit clarifies the maximal length of the serialized strings. It will avoid accidental use of serializeString() when a larger string can be expected. Removes unused Wide String serialization functions
* Clean up serializationSmallJoker2020-10-01
| | | | | | | | This reverts 1a5b4b3 and further functions in serialize.cpp that are unused The intend for a sane NetworkPacket/stream replacement was good, but a wrapper class around i/ostream might be more versatile than introducing a new vector-based serialization class.
* Settings: Remove unused functionsSmallJoker2020-10-01
| | | | Make Settings-internal functions private
* Improve MSVC cmake and update vcpkg instruction (#10407)k.h.lai2020-09-29
| | | | Remove unnecessary compiler flag for clang-cl Update vcpkg instruction in README.md
* Patch fast/teleport vulnerability when attached to an entity (#10340)Elias Fleckenstein2020-09-26
|
* Log server announce on updates and deletes too (#10177)Tyler Schwend2020-09-26
|