aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Minor clientmap improvements.Lars2020-10-19
| | | | | | - Avoid calculating isBlockInSight for blocks without meshes. - Add metric for how many blocks the client has currently loaded. - Make some variables constant.
* Periodically release all mesh HW buffers to avoid an Irrlicht bottleneck.Lars2020-10-17
|
* Remove all bump mapping and parallax occlusion related code.Lars2020-10-17
|
* Rely on max_simultaneous_block_sends_per_client to limit blocks sent to the ↵Lars2020-10-13
| | | | client.
* Fix float argument check in minetest.set_timeofday() (#10483)Zughy2020-10-13
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Add ObjectRef:get_children() (#10480)Zughy2020-10-13
| | | Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
* Avoid drawing invisible blocks on the client.Lars2020-10-13
|
* Pass ContentFeatures as reference to read_content_features (#10464)JosiahWI2020-10-13
|
* Add missing type check to InvRef:set_lists() (#10476)Zughy2020-10-11
|
* Add a short_description to be used by mods (#8980)DS2020-10-09
|
* Fix box[]es not being clipped (#10473)DS2020-10-08
| | | Fixes a regression of #8676.
* -Wmem-access only called when GCC > 7 (#10453)Zughy2020-10-06
|
* 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
|