Lars Mueller
a14320fc44
Improve deprecation error messages
2024-02-12 22:58:26 +01:00
David Heidelberg
eb52a149a0
Enable IPO/LTO by default except for debug builds ( #14198 )
...
Test case:
```
$ cmake . -DRUN_IN_PLACE=TRUE -DCMAKE_BUILD_TYPE=Release -DBUILD_SERVER=TRUE -DENABLE_TOUCH=FALSE
minetest minetestserver
W/o LTO: 13M 7.3M
W/ LTO: 11M 5.9M
difference: 15% 19%
```
Also fixes various compiler warnings resulting from compilation using LTO.
---------
Signed-off-by: David Heidelberg <david@ixit.cz>
2024-02-09 00:01:12 +01:00
cx384
adaa4cc2f3
Move hard coded minimap to builtin ( #14071 )
2024-02-07 20:13:23 +01:00
grorp
f2b99332d9
Add Lua API function to resolve node/collision/selection boxes ( #13964 )
2024-02-06 20:45:16 +01:00
Lars Müller
4859cf44ce
Fix translation updater script: Handle nested modpacks, support games ( #14340 )
2024-02-05 20:57:30 +01:00
sfence
83f779c52d
Fix active object adding to not generated block ( #14311 )
2024-02-04 21:24:08 +01:00
sfan5
c9e10e1dd9
Drop valgrind from CI and instead enable ASan
...
The recently added ioctl use is reported as a false-positive by valgrind.
I tried moving it to different compilers/versions two times and only
hit further issues that were valgrind's fault.
Also includes a tiny fix.
2024-02-04 21:23:05 +01:00
sfan5
4259ac96ea
Optimize fs::CopyFileContents on Linux and Windows
2024-02-04 21:23:05 +01:00
sfan5
714c9361ea
Add unit tests for fs::CopyFileContents
2024-02-04 21:23:05 +01:00
sfan5
93381014a0
Bypass media transfer in single player
2024-02-04 21:23:05 +01:00
someone-aka-sum1
16aaef097a
Make the protocol dissector heuristic ( #14335 )
2024-02-04 21:21:23 +01:00
Lars Müller
1d9c9710d7
Fix short raycasts missing large objects ( #14339 )
...
Increases the tolerance from one node to five nodes.
Also optimizes the "sphere" used for pre-filtering entities
to start in the middle of the line segment rather than at the start.
2024-02-04 14:04:05 +01:00
SmallJoker
e7dbd325d2
RemotePlayer: make peer ID always reflect the validity of PlayerSAO ( #14317 )
...
Upon disconnect, RemotePlayer still had a peer ID assigned even though
the PlayerSAO object was maked as gone (for removal). This commit makes
that the following always holds true:
(!sao || sao->isGone()) === (peer_id == PEER_ID_INEXISTENT)
2024-02-02 22:13:24 +01:00
Zemtzov7
893594d81a
Add help formspec for CSM commands ( #13937 )
2024-02-02 22:12:59 +01:00
techno-sam
176e674a51
Add wear bar color API ( #13328 )
...
---------
Co-authored-by: Muhammad Rifqi Priyo Susanto <muhammadrifqipriyosusanto@gmail.com>
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com>
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-02-02 21:21:00 +01:00
sfan5
e10d8080ba
Add flag to control mgv6 temple generation ( #14293 )
2024-01-30 21:52:04 +01:00
sfan5
9da1354f3a
Fix missing limit check for block y pos ( #14320 )
2024-01-30 21:51:51 +01:00
sfan5
e1f6108789
Revert class forward declaration in {client,server}opcodes.h
...
closes #14324
2024-01-30 17:04:12 +01:00
Lars Mueller
40bf88ac74
Performance: Limit blitting work to overlapping area
2024-01-28 13:01:54 +01:00
sfan5
ffec698d3e
Change how [combine parameters are checked
...
the old checks were too strict
2024-01-28 13:01:54 +01:00
Lars Mueller
b1ee137177
Minor documentation fixes
2024-01-28 13:01:54 +01:00
grorp
fbec168e91
Only pause rendering if the Android activity is stopped ( #14211 )
2024-01-27 14:37:00 +01:00
sfan5
89f3502b56
Move Server ban check to different point
2024-01-27 10:33:32 +01:00
sfan5
5dbc1d4c08
Move some files to src/server/
2024-01-27 10:33:32 +01:00
sfan5
c0f852e016
Change NetworkPacket to reserve instead of resize
...
also make the bool serialization clearer and move the constructor
to the header file
2024-01-27 10:33:32 +01:00
sfan5
397682a5b0
Clean up client and server command sending / tables
2024-01-27 10:33:32 +01:00
grorp
2b99dabdac
Touchscreen: Abort ongoing short taps if touch interaction mode changes ( #14305 )
2024-01-26 23:19:06 +01:00
Bradley Pierce
df9975f35d
Add markdown admonition extension ( #14303 )
2024-01-26 22:10:57 +01:00
sfan5
4158759265
Move mtevent.h to src/client/
2024-01-26 22:10:36 +01:00
sfan5
8927e7caf6
Handle some edge cases in tile images
2024-01-26 22:10:36 +01:00
sfan5
a46fe79939
Reduce code duplication in tile.cpp
2024-01-26 22:10:36 +01:00
lhofhansl
2ef080a51b
Slight simplification of RemoteClient::getNextBlocks(...) ( #14302 )
2024-01-25 11:32:18 -08:00
Sokomine
4468813d47
Show more lines in chat scrollback buffer ( #14290 )
2024-01-24 19:41:29 +01:00
Lars Mueller
6a2eb4da07
Restore pointability backwards compatibility
2024-01-23 23:30:28 +01:00
sfan5
731b84d725
Reduce some instances of useless data shuffling
2024-01-23 22:34:36 +01:00
sfan5
362e4505e8
Minor improvements to media request / announce code
...
I had to throw away the code switching sendRequestedMedia to
a bin packing algorithm because it actually performed worse. :(
2024-01-23 22:34:36 +01:00
sfan5
13013d1b8b
Fix client loading not aborting correctly in certain cases
2024-01-23 22:34:36 +01:00
sfan5
6df0de565f
Check media requests on the server more carefully
2024-01-23 22:34:36 +01:00
sfan5
89eabb5803
Drop speed tests and some other unused code from clientlauncher.cpp
2024-01-23 22:34:36 +01:00
sfan5
6aa4f14a28
Drop some unneeded MOD_REASONs
2024-01-23 22:34:36 +01:00
sfan5
be7844192b
Don't save blocks asap for only lighting updates
2024-01-23 22:34:36 +01:00
sfan5
9e3a11534f
Allow fog color to be overriden properly ( #14296 )
2024-01-23 22:33:33 +01:00
grorp
a29d3cf074
Save the settings in more cases to avoid losing setting changes (especially on Android) ( #14266 )
2024-01-23 21:33:27 +01:00
Lars Mueller
f6ecd931dc
Minor documentation formatting fixes
2024-01-22 22:41:33 +01:00
Lars Mueller
f0180ad488
Fix revoke callbacks being run for false
values passed to set_privileges
2024-01-22 22:24:32 +01:00
Lars Müller
afc48cf224
Address set_player_privs
footgun ( #14297 )
...
---------
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-01-22 20:06:03 +01:00
cx384
5958714309
Tool specific pointing and blocking pointable type ( #13992 )
2024-01-22 18:27:08 +01:00
Lars Mueller
fb461d21a5
Fix waypoint precision wraparound, add bounds check
2024-01-21 21:00:09 +01:00
grorp
404a063fdf
Touchscreen: Allow mods to swap the meaning of short and long taps (punch with single tap) ( #14087 )
...
This works through a new field "touch_interaction" in item definitions.
The two most important use cases are:
- Punching players/entities with short tap instead of long tap (enabled by default)
- Making items usable that require holding the place button (e.g. bows and shields in MC-like games)
2024-01-21 17:44:08 +01:00
sfan5
8cbd629010
Fix bugs in ModifySafeMap ( #14276 )
2024-01-20 15:37:30 +01:00