aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix a stringop-truncation GCC warningLoïc Blot2018-12-04
| | | | | | | ``` minetest/src/filesys.cpp:312:10: warning: ‘char* strncpy(char*, const char*, size_t)’ specified bound 10000 equals destination size [-Wstringop-truncation] strncpy(argv_data[2], path.c_str(), 10000); ```
* Fix uninitialized variable peer_idLoïc Blot2018-12-04
| | | | | | | | | Reported by GCC ``` minetest/src/server.cpp:996:42: warning: ‘peer_id’ may be used uninitialized in this function [-Wmaybe-uninitialized] errorstream << "ProcessData: peer=" << peer_id << e.what() << std::endl; ```
* Fix Android build errors (caused by 5f1cd55)Juozas2018-12-03
| | | After commit 5f1cd55 touchscreengui.* files were pointing to old file locations
* Raise hotbar limit to 32 slots, add associated keybinding options (#7916)Vanessa Dannenberg2018-12-02
| | | | add associated keybinding options update docs and settingtypes
* Remove unused settings (#7929)Paul Ouellette2018-12-02
|
* Draw stars behind the moon (#7928)Paramat2018-12-02
| | | This time correctly, by resetting the 'material' to '1' after moon draw.
* Slightly alter star appearence time and full brightness time (#7921)Paramat2018-12-02
| | | | | | | | | At sunset: Stars first appear slightly later, at the time the sun disappears over the horizon, this fixes seeing dark stars in front of the sun horizon glow texture. Stars reach full brightness slightly earlier at time 20000, not so excessively long after sunset. The above behaviour is also applied at sunrise, but of course, time-inverted.
* Added pitch fly mode (#7817)Gaël C2018-12-01
| | | | | In pitch fly mode, you fly to the exact direction you are pointing at, using the forward key. Other move directions are also pitched accordingly. It allows smoother and more complex movements. Can be enabled/disabled by L key by default (set keymap_pitchfly in minetest.conf)
* Fix sky bugs when using sun or moon textures (#7918)Paramat2018-12-01
| | | | Reverts the render order change of commit ce2d33eb97238e2e050d065a8f0838749a0b31d0
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
| | | | | Update Android.mk Remove 'src/client' from include_directories
* Clean up stack after script_get_backtrace (#7854)Michael Muller2018-11-28
| | | | | | | | script_get_backtrace() was leaving its return value on the stack, corrupting subsequent lua operations for functions that did not immediately return. This problem can specifically be observed in the case of multiple "groupcaps" entries, each of which provides the legacy "maxwear" property. These cause a backtrace and thus pollute the stack for the following lua_next() call.
* Add Lua methods 'set_rotation()' and 'get_rotation()' (#7395)CoderForTheBetter2018-11-28
| | | | * Adds Lua methods 'set_rotation()' and 'get_rotation'. Also changed some method names to be more clear. Instead of an f32 being sent over network for yaw, now a v3f is sent for rotation on xyz axes. Perserved Lua method set_yaw/setyaw so that old mods still work, other wise to set yaw they would need to switch to set_rotation(0, yaw, 0).
* Make non-formspec modal menus respect gui scale (#7850)stujones112018-11-26
|
* Fix macro warning due to incorrect define conjunctionrubenwardy2018-11-25
|
* CSM: Don't create the client script environment if CSM is disabled (#7874)Paramat2018-11-24
| | | | Use the CSM death formspec when CSM is enabled and use the engine death formspec when CSM is disabled. Move the CSM death formspec code to a dedicated file.
* MacOS: Fix default sneak key. Improve mouse response (#7885)texmex2018-11-24
|
* Client-side autojump. Remove Android-only stepheight autojump (#7228)Ben Deutsch2018-11-22
| | | | | | | | Works by detecting a collision while moving forward and then simulating a jump. If the simulated jump is more successful, an artificial jump key press is injected in the client. Includes setting and key change GUI element for enabling and disabling this feature.
* Android: Fix recursive delete (#7882)stujones112018-11-21
|
* Android settings: Develop adaptive HUD scaling (#7784)Paramat2018-11-18
| | | | | | | Use font size 14 for phones. Use x_inches < 3.7 instead of < 3.5 for small phones. Add a new category x_inches < 6 for larger phones. Use HUD scaling 0.85 for larger phones. Use desktop defaults for tablets.
* Fix Android build (#7873)Vitaliy2018-11-18
|
* Android: Improve UI scaling on smaller high-density displays (#7834)stujones112018-11-18
| | | | * Android: Improve UI scaling on smaller high-density displays
* Framed glasslike: Don't use cuboids to draw glass faces (#7828)Paramat2018-11-15
| | | | | | | | | | | Previously, each glass face used drawAutoLightedCuboid() to draw a flat cuboid. This also disallowed backface culling, making the backface culling inconsistent with 'glasslike'. Use code from 'glasslike' to draw glass faces using drawQuad(). Remove long-unknown top/bottom textures feature: Makes the code simpler and cleaner. Never documented, long-unknown and not of much use.
* Night sky: Fix brightness threshold for applying night colours (#7859)Paramat2018-11-12
| | | | | | | | | Previously, 'time_brightness' never fell below the threshold so night sky colours were not applied. Increase the threshold value. But now also set it to a value less sensitive to possible future small changes in 'time_brightness', by setting it halfway between the 'time_brightness' values for darkest night and first stage of dawn.
* Enable subtle fall bobbing (#7856)HybridDog2018-11-12
| | | Set the default value of fall_bobbing_amount to 0.03
* Fix get_server_status() segfault due to uninitialized m_envrubenwardy2018-11-12
| | | | Fixes #7857
* Minor changes for IrrLicht 1.9 supportnumber Zero2018-11-11
|
* Disable HW stereo for IrrLicht 1.9 (not supported anymore)number Zero2018-11-11
|
* Drop .NET-specific workaround: _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIXnumber Zero2018-11-11
|
* Content store: Add setting to filter non-free packages (#7766)rubenwardy2018-11-08
| | | | Defaulting to hiding in order to help with Debian/etc distribution. This could be changed at a later date.
* New sneak: Smoothen the climb up event (#7727)SmallJoker2018-11-08
|
* Formspecs: Fix text clipped by scrollbars (#7816)random-geek2018-11-06
|
* Framed glasslike: Fix z-fighting, improve codestyle (#7826)Paramat2018-10-31
| | | | | | | Increase inset distance of glass faces that is meant to avoid z-fighting. Note: Enabling basic shaders made the z-fighting more likely to happen.
* Framed glasslike: Fix and document top/base textures feature (#7824)Paramat2018-10-30
|
* Remove un-needed header inclusionstujones112018-10-29
|
* Move touchscreen input handling to base GUIModalMenu classstujones112018-10-29
|
* Windows: Cpack wix installer (#6153)adrido2018-10-26
| | | | | | Create CPack WIX msi Installer for RUN_IN_PLACE=0 builds Correct paths on Windows for RUN_IN_PLACE=0 Install only required font files Games have their own components, and "minimal" is optional
* Ease selection of entities behind nodes (#7739)SmallJoker2018-10-26
|
* clear_craft: Return false if recipe not found, don't throw error (#7804)Paramat2018-10-24
|
* Android buttons: Inset 'rare controls', inset and resize 'gear icon' (#7792)Paramat2018-10-19
| | | | | Previously these were both inconsistently close to the screen edge. 'gear icon' has been enlarged to match the width of 'zoom' and 'aux' buttons.
* Add disable_repair group to prevent tool repair (#7381)Wuzzy2018-10-16
|
* Add core.remove_detached_inventory (#7684)SmallJoker2018-10-10
| | | | Breaks backwards compatibility for good Bump protocol version
* F5 debug info: Use full words for NSEW directions for readability (#7461)Paramat2018-10-06
|
* Player hand list: require init by modsSmallJoker2018-10-04
| | | | | Mods will now have to initialize the list/slot in order to define the default player hand. They may use the inventory callbacks to prevent abuse of this list.
* Dig particles: Various improvements (#7714)Paramat2018-10-04
| | | | | | | | Improve codestyle. Add clarifying comments. Use 'movement_gravity' setting and physics override instead of hardcoded value. Halve number of particles in final 'node dug' burst. Avoid extremely small, near-invisible particles. Increase velocity to increase number emerging from within a cubic node.
* Fix Mapgen Valleys getSpawnLevelAtPoint() (#7756)Treer2018-10-03
|
* Night clouds: Boost brightness for a moonlit appearence (#7748)Paramat2018-10-01
| | | | | | | | | | | Previously, night clouds were almost indistinguishable from night sky, especially since a recent commit that made night sky brighter. They were lacking the beautiful luminosity caused by being lit by the permanently-full moon. When 'directional_colored_fog = false' allow the dawn/dusk cloud brightness boost to apply through the night too. Set an identical minimum cloud brightness for when 'directional_colored_fog = true'.
* Remove settings properly (#7676)SmallJoker2018-09-30
|
* Software inventorycube (#7651)Vitaliy2018-09-29
| | | Fixes missing/upside-down images on Android.
* Fix temporary path crash in TestAuthDatabase (#7753)SmallJoker2018-09-28
| | | The constructor of TestAuthDatabase was called immediately, at a time when the settings weren't initialized properly yet.
* Fix stretched stars bug, change render orderAspen2018-09-27
|