aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-10-08Fix box[]es not being clipped (#10473)DS
Fixes a regression of #8676.
2020-10-06-Wmem-access only called when GCC > 7 (#10453)Zughy
2020-10-06Add minetest.get_artificial_light and minetest.get_natural_light (#5680)HybridDog
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>
2020-10-06Prevent games from setting secure settings (#10460)rubenwardy
2020-10-05Remove unused functions reported by cppcheck (#10463)SmallJoker
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.
2020-10-04Minimap as HUD element with API controlPierre-Yves Rollo
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
2020-10-04Add First Person Attachments (#10360)Jordan Snelling
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.
2020-10-04Fix short 180 degree rotation when using set_bone_position (#10405)Lars Müller
2020-10-04Deprecate get_player_velocity and add_player_velocity (#10173)rubenwardy
2020-10-03Fix scroll bar overlapping text (again) (#9058)random-geek
2020-10-03Reduce the FPS when the window is unfocused (#8837)HybridDog
2020-10-01(se)SerializeString: Include max length in the nameSmallJoker
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
2020-10-01Clean up serializationSmallJoker
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.
2020-10-01Settings: Remove unused functionsSmallJoker
Make Settings-internal functions private
2020-09-29Improve MSVC cmake and update vcpkg instruction (#10407)k.h.lai
Remove unnecessary compiler flag for clang-cl Update vcpkg instruction in README.md
2020-09-26Patch fast/teleport vulnerability when attached to an entity (#10340)Elias Fleckenstein
2020-09-26Log server announce on updates and deletes too (#10177)Tyler Schwend
2020-09-26Remove null bytes from TOCLIENT_BLOCKDATA (#10433)luk3yx
2020-09-25Correct erroneous reported max lag with prometheus (#10427)Buckaroo Banzai
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
2020-09-24Fix horizontal/vertical merging bug of hardware-colored framed glass (#10417)Paramat
Previously, the param2-controlled horizontal/vertical merge feature (which was undocumented and forgotten) was always active, causing uses of param2 other than "glasslikeliquidlevel" to affect H/V merging. Only respect H/V merge bits when paramtype2 = "glasslikeliquidlevel". H/V merge bits and liquid level bits are designed to be used simultaneously.
2020-09-23Replace MyEventReceiver KeyList with std::unordered_set (#10419)Vincent Robinson
2020-09-22Settings: Fix unittest memory leak, change input typesSmallJoker
2020-09-22Fix chat/infotext overlap if many chat lines (#10399)Wuzzy
Moves the infotext depending on the value of the recent_chat_messages value + 2 additional lines to account for the 2 debug mode lines + 1 additional line as "buffer" for better readability if chat is full.
2020-09-21Settings: Fix crash on exit due to group double-freeSmallJoker
2020-09-20Record player existence in dymmy database.Lars
2020-09-16Clean up server-side translations, remove global variable (#10075)rubenwardy
2020-09-14Remove "generate normal maps" feature (#10313)hecks
Erase all traces of normal "generation" from fragment shaders Remove the "feature" from the engine and default config Remove any leftover documentation of it
2020-09-10Remove Thread::kill() and related unittest (#10317)Sebastien Marie
Closes: #6065
2020-09-09Add NetBSD cpu affinity support code (#10378)David CARLIER
2020-09-09Darwin platform build fix (#10376)David CARLIER
the event header seemingly being generic with libevent thus renaming it. openal and opengl are deprecated on newer mac os releases thus suppressing the build warnings.
2020-09-07Inventory: Protect Craft and Drop actions (#10353)SmallJoker
Change dangerous pointer to unique_ptr for automated deletion.
2020-09-04Prevent interacting with items out of the hotbar (#10359)Lejo
2020-09-04Scale inventory image for scaled allfaces nodes (#10225)Wuzzy
The inventory image size of the inventory image of nodes with drawtype allfaces (and related) is scaled as well if visual_scale is set (previously, the inventory image size was always the same)
2020-09-04Fix inventory swapping not calling all callbacks (#9923)Lars Müller
"Predicts" whether something will be swapped for allow callbacks, then calls callbacks a second time with swapped properties. Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-09-03Add 'ores' global mapgen flag (#10276)Paramat
2020-09-01Change default ambient occlusion gamma to 1.8 (#10185)sfan5
2020-09-01[2] Code cleanup in serverpackethandler (#9349)HybridDog
* Code cleanup in serverpackethandler * do not define p_under unless a node is pointed * use switch-case and reduce indentation
2020-08-29Add compass HUD element (#9312)EvidenceB
Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-08-29Make bgcolor tint button background images (#9818)Hugues Ross
2020-08-29Prevent players accessing inventories of other players (#10341)Lars Müller
2020-08-29Mapgen: Fix on-by-default flags broken since eca6ee9 (#10318)SmallJoker
2020-08-27Lua API: Register missing get_texture_mod function (#10338)karamel59
2020-08-27Android: drop simple MainMenu (#10227)Maksim
The default (PC-style) MainMenu works great on Android. Provides access to ContentDB and allows players to create many worlds in a few clicks. Makes the interface consistent and eliminates player confusion.
2020-08-25NetBSD build fix proposal. (#10308)David CARLIER
Fixing thread naming call and let the class setting RANDOM_MIN/RANDOM_MAX.
2020-08-25shaders: Fix transparency on GC7000L (#10036)mntmn
Workaround for the missing GL_ALPHA_TEST implementation in Mesa (etnaviv driver).
2020-08-24Properly handle mod-errors in on_shutdownDesour
2020-08-23darken tabheader background color (#10299)Kezi
2020-08-23Avoid drawing clipped out formspec elements (#10095)EvidenceB
2020-08-23Fix MSVC compiler warnings (#10197)adrido
2020-08-23Fix light overflow of u8 if light is saturated at 255 (#10305)BenjaminRi