aboutsummaryrefslogtreecommitdiff
path: root/src/map_settings_manager.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-12-04Add testWrapDegrees_0_360_v3f unittestsLoïc Blot1-15/+56
2018-12-04Fix another GCC warningLoïc Blot1-3/+3
``` [ 10%] Building CXX object src/CMakeFiles/minetest.dir/client/render/interlaced.cpp.o cc1plus: warning: -Wabi won't warn about anything [-Wabi] cc1plus: note: -Wabi warns about differences from the most up-to-date ABI, which is also used by default cc1plus: note: use e.g. -Wabi=11 to warn about changes from GCC 7 ```
2018-12-04Fix a stringop-truncation GCC warningLoïc Blot1-1/+1
``` 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); ```
2018-12-04Fix uninitialized variable peer_idLoïc Blot1-1/+1
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; ```
2018-12-04Mirror 'sunrisebg' texture to fix chopped right edge (#7935)Paramat1-0/+0
2018-12-03Re-master and improve touchscreen gui icons (#7931)stujones1143-0/+8190
Increase the resolution of the smaller icons to look better on modern HD screens. All master SVGs included in the the Android build directory.
2018-12-03Fix Android build errors (caused by 5f1cd55)Juozas2-3/+3
After commit 5f1cd55 touchscreengui.* files were pointing to old file locations
2018-12-02README: Add linking table of contents (#7601)woshiicyrus1-0/+12
2018-12-02Improve world configure menu (#7922)Paul Ouellette2-11/+16
Replace `Subgame mods` with <game name> mods. Display game description on left instead of dependencies. Fix double DIR_DELIM in some paths.
2018-12-02Update Android java code (#7820)Maksim23-387/+487
Targets SDK 26 as required by the playstore. Fixes screen auto-rotation closing game. Hides on-screen navigation bar if present. Update gradlew. Fix display aspect on 18+/:9 displays (like a Samsung Galaxy S9). Remove small app icons, not required. Fix xml in unpacking activity. Support Android permission: On Android 6.0+ you need to manually give write permission (as required by google). Background during unpacking (just a demo for now). Material Design: no more Android 2 interface. Immersive mode (Android 4.4+ - hide NavBar for fullscreen mode).
2018-12-02Raise hotbar limit to 32 slots, add associated keybinding options (#7916)Vanessa Dannenberg7-11/+65
add associated keybinding options update docs and settingtypes
2018-12-02Document which formspec fields are sent (#7717)zeuner1-1/+5
2018-12-02Remove unused settings (#7929)Paul Ouellette2-6/+0
2018-12-02Fix spelling of setting descriptions (#7829)kurzkopfgleitbeutler1-3/+3
2018-12-02Draw stars behind the moon (#7928)Paramat1-81/+86
This time correctly, by resetting the 'material' to '1' after moon draw.
2018-12-02Slightly alter star appearence time and full brightness time (#7921)Paramat1-3/+7
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.
2018-12-01Added pitch fly mode (#7817)Gaël C11-46/+93
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)
2018-12-01Fix sky bugs when using sun or moon textures (#7918)Paramat1-77/+77
Reverts the render order change of commit ce2d33eb97238e2e050d065a8f0838749a0b31d0
2018-11-28Move client-specific files to 'src/client' (#7902)Quentin Bazin85-115/+186
Update Android.mk Remove 'src/client' from include_directories
2018-11-28Clean up stack after script_get_backtrace (#7854)Michael Muller1-1/+3
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.
2018-11-28Add Lua methods 'set_rotation()' and 'get_rotation()' (#7395)CoderForTheBetter18-99/+211
* 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).
2018-11-26Make non-formspec modal menus respect gui scale (#7850)stujones118-99/+106
2018-11-26Content store: Hide navigation buttons when there's no packagesClobberXD1-19/+19
2018-11-25Fix macro warning due to incorrect define conjunctionrubenwardy1-1/+1
2018-11-24CSM: Don't create the client script environment if CSM is disabled (#7874)Paramat7-51/+87
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.
2018-11-24MacOS: Fix default sneak key. Improve mouse response (#7885)texmex1-0/+6
2018-11-22Client-side autojump. Remove Android-only stepheight autojump (#7228)Ben Deutsch12-18/+149
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.
2018-11-22Lua_api.txt: Update glasslike_framed textures documentation (#7884)Paramat1-6/+1
2018-11-21Android: Fix recursive delete (#7882)stujones111-0/+4
2018-11-18Android settings: Develop adaptive HUD scaling (#7784)Paramat1-6/+15
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.
2018-11-18Remove obsolete section in ipv6_server descriptionsfan52-4/+2
This section no longer applies since c66d97726931aa8dde7d8a1ffa5b8e41234f4660.
2018-11-18Fix Android build (#7873)Vitaliy1-1/+3
2018-11-18Android: Improve UI scaling on smaller high-density displays (#7834)stujones117-15/+58
* Android: Improve UI scaling on smaller high-density displays
2018-11-15Framed glasslike: Don't use cuboids to draw glass faces (#7828)Paramat1-22/+32
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.
2018-11-13Rename hasprivs command to haspriv (#7860)Ezhh1-6/+6
2018-11-13dlg_contentstore.lua: Various fixes and improvements (#7612)ClobberXD1-17/+25
Add missing 'core.formspec_escape' to 'get_screenshot'. Add warning label when no packages fetched. Internal name of the "Update" button was the same as "Install". Rename to 'update_'.
2018-11-12Night sky: Fix brightness threshold for applying night colours (#7859)Paramat1-4/+4
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.
2018-11-12Enable subtle fall bobbing (#7856)HybridDog2-2/+2
Set the default value of fall_bobbing_amount to 0.03
2018-11-12Fix get_server_status() segfault due to uninitialized m_envrubenwardy1-23/+29
Fixes #7857
2018-11-11Minor changes for IrrLicht 1.9 supportnumber Zero2-4/+15
2018-11-11Disable HW stereo for IrrLicht 1.9 (not supported anymore)number Zero3-0/+12
2018-11-11Drop .NET-specific workaround: _IRR_IMPLEMENT_MANAGED_MARSHALLING_BUGFIXnumber Zero3-18/+0
2018-11-10Escape special characters when searching the server list (#7842)ChimneySwift1-0/+1
Simple fix to stop searching for "[" or other special characters causing a crash.
2018-11-09Conf.example generation: Remove quotation marks from noise flags (#7844)Muhammad Rifqi Priyo Susanto1-1/+1
2018-11-08Content store: Add show_nonfree_packages setting to advanced settings (#7846)Paramat1-0/+6
2018-11-08Content store: Add setting to filter non-free packages (#7766)rubenwardy2-2/+5
Defaulting to hiding in order to help with Debian/etc distribution. This could be changed at a later date.
2018-11-08Improve content store layout (#7806)random-geek1-24/+32
2018-11-08New sneak: Smoothen the climb up event (#7727)SmallJoker1-2/+5
2018-11-06Formspecs: Fix text clipped by scrollbars (#7816)random-geek2-0/+4
2018-11-01Fix string.split returning an empty table if string starts with sepearator ↵Pierre-Yves Rollo1-1/+1
(#7827) Calling string.split(":A:B:C:D", ":") returns an empty array. This is due to first empty string not making repeat loop decreasing max_split which has a 0 value when reaching until. Changing max_splits default value from -1 to -2 fixes that issue.