9139 Commits

Author SHA1 Message Date
Elias Fleckenstein
c1aea404b8 Lint is bitch 2020-10-18 13:16:09 +02:00
Elias Fleckenstein
3a718f12b4 Make lint happy; Remove stupid redirector 2020-10-18 12:54:08 +02:00
Elias Fleckenstein
3b596a96e0 Fixed Github build problems 2020-10-18 12:18:22 +02:00
Elias Fleckenstein
847198edb6 Edited .gitignore properly; fixed armor invulnarability in the server code. 2020-10-18 12:06:11 +02:00
Lars
738f624218 Periodically release all mesh HW buffers to avoid an Irrlicht bottleneck. 2020-10-17 13:22:30 -07:00
Lars
ed22260822 Remove all bump mapping and parallax occlusion related code. 2020-10-17 13:09:16 -07:00
Elias Fleckenstein
bbcd249544 New Mod System 2020-10-17 11:11:22 +02:00
Lars
f43d1cfa81 Rely on max_simultaneous_block_sends_per_client to limit blocks sent to the client. 2020-10-13 19:39:43 -07:00
Paramat
2f871e3b49
Devtest hand tool: Update capabilities, add creative mode capabilities (#10484) 2020-10-13 23:59:47 +01:00
Paramat
fc2e120b03
Document how to work with ClangFormat (#10468)
To avoid the common misunderstanding where a contributor thinks they
must apply the unsuitable formatting requests ClangFormat makes.
2020-10-13 23:57:46 +01:00
Zughy
7499ebe46a
Fix float argument check in minetest.set_timeofday() (#10483)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-13 20:28:53 +01:00
Maksim
2ca81d679f Android: update gradle, NDK and built tools version 2020-10-13 20:28:31 +01:00
Maksim
e831ebd63b Android: add ci with saving artifacts 2020-10-13 20:28:31 +01:00
Maksim
05436fb551 Android: get deps as a zip archive and sqlite3 from official source 2020-10-13 20:28:31 +01:00
Zughy
2341a4aff1
Add ObjectRef:get_children() (#10480)
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2020-10-13 20:27:52 +01:00
Lars
521a04222a Avoid drawing invisible blocks on the client. 2020-10-13 09:30:59 -07:00
JosiahWI
11f3deb9c4
Pass ContentFeatures as reference to read_content_features (#10464) 2020-10-13 16:36:01 +01:00
Paramat
d671102546
Give unnamed world names incrementing numbers. Format 'world<number>' (#10247)
Code created with help from GitHub users sirrobzeroone and pauloue, thank you.
2020-10-13 00:52:53 +01:00
Elias Fleckenstein
80f416d514 Added AttachmentFloat 2020-10-12 18:12:04 +02:00
Zughy
272b72361a
Add missing type check to InvRef:set_lists() (#10476) 2020-10-11 13:36:13 +02:00
HybridDog
c61c175e9c
Add bumpmapping and parallax occlusion testing nodes to devtest (#9242) 2020-10-09 19:13:42 +01:00
DS
f3ae45b2b2
Add a short_description to be used by mods (#8980) 2020-10-09 19:11:21 +01:00
DS
b2f3f66385
Fix box[]es not being clipped (#10473)
Fixes a regression of #8676.
2020-10-08 19:44:47 +02:00
HybridDog
f0b6f7909a
Mention texture modifier colorspace (#10112) 2020-10-08 19:44:27 +02:00
Zughy
a37e96eefc
-Wmem-access only called when GCC > 7 (#10453) 2020-10-06 20:51:27 +02:00
Hugo Locurcio
aae7d4ff8e
Improve the fsaa setting description (#10279)
See https://github.com/minetest/minetest/issues/8459.
2020-10-06 20:50:20 +02:00
HybridDog
2f4037752b
Add minetest.get_artificial_light and minetest.get_natural_light (#5680)
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-06 20:49:46 +02:00
rubenwardy
e80fc22dd9
Prevent games from setting secure settings (#10460) 2020-10-06 12:10:37 +01:00
Elias Fleckenstein
cb1915efa7 Added minetest.drop_selected_item(), Improved AutoEject 2020-10-05 22:33:32 +02:00
Elias Fleckenstein
43ee069dbf Improved X-Ray, added AutoEject 2020-10-05 22:25:36 +02:00
Elias Fleckenstein
faa32610e3 Added ESP, fixed Tracers, improved Jesus 2020-10-05 18:41:10 +02:00
SmallJoker
f46509d5e2
Remove unused functions reported by cppcheck (#10463)
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-05 09:07:33 +02:00
Elias Fleckenstein
ee88f4b94f Improved Tracers 2020-10-04 22:59:43 +02:00
Elias Fleckenstein
c36ff3edb1 Added AutoSneak and improved X-Ray MapBlock updating 2020-10-04 22:22:55 +02:00
Elias Fleckenstein
0a2c90f4cf Only draw tracers to objects that are not attached (that fixes tracers to armor) 2020-10-04 18:04:31 +02:00
Elias Fleckenstein
044a12666e Added Tracers, NoSlow and NoForceRotate; GUI Colors changed 2020-10-04 17:43:37 +02:00
Pierre-Yves Rollo
81c66d6efb Minimap as HUD element with API control
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-04 15:24:34 +02:00
Jordan Snelling
3068853e8a
Add First Person Attachments (#10360)
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-04 15:10:34 +02:00
Lars Müller
0f98b54aa4
Fix short 180 degree rotation when using set_bone_position (#10405) 2020-10-04 15:09:12 +02:00
Elias Fleckenstein
b9f8f0a232 The Robot Update 2020-10-04 10:50:07 +02:00
rubenwardy
3250b37e32
Deprecate get_player_velocity and add_player_velocity (#10173) 2020-10-04 00:33:45 +01:00
Wuzzy
41a6136f77
Document builtin entities (#9453)
This PR adds a new text file doc/builtin_entities.txt which explains how the two builtin entities __builtin:item and __builtin:falling_node work.
2020-10-03 19:01:38 +02:00
LoneWolfHT
9624387179
Add note to docs on how to override privileges (#9792) 2020-10-03 19:00:08 +02:00
Elijah Duffy
7d3641021b
Lua API: Add register_on_chatcommand to SSM and CSM (#7862)
Allows catching a chatcommand call just after the command and the
parameters are parsed but before its existence is checked and before the
corresponding function is run. Returning `true` from a callback function
will prevent default handling of the command leaving mods to handle the
command manually.
2020-10-03 17:38:08 +01:00
random-geek
0750047919
Fix scroll bar overlapping text (again) (#9058) 2020-10-03 17:34:34 +01:00
HybridDog
9dc29a75b4
Reduce the FPS when the window is unfocused (#8837) 2020-10-03 17:33:51 +01:00
HybridDog
4b423ee9b1
Chatcommand: Show help message if func returns false without message
#9440
2020-10-03 17:33:43 +01:00
SmallJoker
947466ab28 (se)SerializeString: Include max length in the name
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-01 09:52:59 +02:00
SmallJoker
ca5c2dbefa Clean up serialization
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-01 09:52:59 +02:00
SmallJoker
79414aa3e5 Settings: Remove unused functions
Make Settings-internal functions private
2020-10-01 09:52:59 +02:00