aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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
|
* Remove null bytes from TOCLIENT_BLOCKDATA (#10433)luk3yx2020-09-26
|
* Correct erroneous reported max lag with prometheus (#10427)Buckaroo Banzai2020-09-25
| | | Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com>
* Fix horizontal/vertical merging bug of hardware-colored framed glass (#10417)Paramat2020-09-24
| | | | | | | | | | 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.
* Replace MyEventReceiver KeyList with std::unordered_set (#10419)Vincent Robinson2020-09-23
|
* Settings: Fix unittest memory leak, change input typesSmallJoker2020-09-22
|
* Fix chat/infotext overlap if many chat lines (#10399)Wuzzy2020-09-22
| | | 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.
* Settings: Fix crash on exit due to group double-freeSmallJoker2020-09-21
|
* Record player existence in dymmy database.Lars2020-09-20
|
* Clean up server-side translations, remove global variable (#10075)rubenwardy2020-09-16
|
* Remove "generate normal maps" feature (#10313)hecks2020-09-14
| | | | | Erase all traces of normal "generation" from fragment shaders Remove the "feature" from the engine and default config Remove any leftover documentation of it
* Remove Thread::kill() and related unittest (#10317)Sebastien Marie2020-09-10
| | | | Closes: #6065
* Add NetBSD cpu affinity support code (#10378)David CARLIER2020-09-09
|
* Darwin platform build fix (#10376)David CARLIER2020-09-09
| | | | 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.
* Inventory: Protect Craft and Drop actions (#10353)SmallJoker2020-09-07
| | | Change dangerous pointer to unique_ptr for automated deletion.
* Prevent interacting with items out of the hotbar (#10359)Lejo2020-09-04
|
* Scale inventory image for scaled allfaces nodes (#10225)Wuzzy2020-09-04
| | | 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)
* Fix inventory swapping not calling all callbacks (#9923)Lars Müller2020-09-04
| | | | | "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>
* Add 'ores' global mapgen flag (#10276)Paramat2020-09-03
|
* Change default ambient occlusion gamma to 1.8 (#10185)sfan52020-09-01
|
* [2] Code cleanup in serverpackethandler (#9349)HybridDog2020-09-01
| | | | | | * Code cleanup in serverpackethandler * do not define p_under unless a node is pointed * use switch-case and reduce indentation
* Add compass HUD element (#9312)EvidenceB2020-08-29
| | | | | | 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>
* Make bgcolor tint button background images (#9818)Hugues Ross2020-08-29
|
* Prevent players accessing inventories of other players (#10341)Lars Müller2020-08-29
|
* Mapgen: Fix on-by-default flags broken since eca6ee9 (#10318)SmallJoker2020-08-29
|
* Lua API: Register missing get_texture_mod function (#10338)karamel592020-08-27
|
* Android: drop simple MainMenu (#10227)Maksim2020-08-27
| | | | 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.
* NetBSD build fix proposal. (#10308)David CARLIER2020-08-25
| | | Fixing thread naming call and let the class setting RANDOM_MIN/RANDOM_MAX.
* shaders: Fix transparency on GC7000L (#10036)mntmn2020-08-25
| | | Workaround for the missing GL_ALPHA_TEST implementation in Mesa (etnaviv driver).
* Properly handle mod-errors in on_shutdownDesour2020-08-24
|
* darken tabheader background color (#10299)Kezi2020-08-23
|
* Avoid drawing clipped out formspec elements (#10095)EvidenceB2020-08-23
|
* Fix MSVC compiler warnings (#10197)adrido2020-08-23
|
* Fix light overflow of u8 if light is saturated at 255 (#10305)BenjaminRi2020-08-23
|
* Complete Haiku platform support. (#10311)David CARLIER2020-08-23
| | | | | Fixing linkage/libraries missing issue. Implements missing platform specifics.
* Load media from subfolders (#9065)DS2020-08-20
|