aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
|
* Fix various code issues found by cppcheck (#7741)Paramat2018-09-23
| | | | | Mapgen Singlenode: Remove 'flags' that duplicates a 'class Mapgen' member. Dungeongen: Initialise 'MMVManip *vm' to 'nullptr'. Inventorymanager: Remove assignment error 'found = '.
* Make OpenGL preference configurable, default to LEGACY (#7666)SmallJoker2018-09-22
| | | | | This partially reverts 1ec5028 Add option OPENGL_GL_PREFERENCE
* Light curve: Simplify and improve code, fix darkened daytime sky (#7693)Vitaliy2018-09-16
|
* Inv deSerialize(): Prevent infinite loop, error on failure (#7711)SmallJoker2018-09-14
| | | Throws an error about potentially damaged player inventories but proceeds converting the rest of them
* markAliasDeprecated: Fix MSVC buildSmallJoker2018-09-11
|
* Particles: Make collision with objects optional (#7682)Paramat2018-09-08
| | | | | | Also set it to false for node dig particles, as they are often created and high in number. Improve particle documentation.
* Damage flash/hurt tilt: Make shorter to reduce player blindness (#7399)Paramat2018-08-29
| | | | | | | | | | Damage flash is shortened from 0.98-1.27s to 0.25s-0.33s to reduce player in-game blindness, especially useful for combat situations. It is also visually more comfortable. Camera hurt tilt is made slightly shorter to match in duration. Both flash and camera tilt are now of similar length to a typical damage sound, such as the one used by Minetest Game which is 0.27s. The 3 effects become more synchronised and unified.
* Play damage sound on player death (#7679)Paramat2018-08-28
| | | | Also run CSM 'on_damage_taken' callback. Improve function logic and remove 'return'.
* Change mapgen order to ores > dungeons > decorations (#7656)Paramat2018-08-20
| | | | | | | | | | | Previously dungeons > decorations > ores. Decorations depend on the node they are placed on, and ore types are increasingly able to place large continuous volumes of nodes, such as strata. Decorations are increasingly being used underground. The new order avoids a node being changed by ore generation after a decoration has been placed on it. The new order also avoids ores appearing in the walls of a dungeon if the wall nodes match the local stone node.