sfan5
7b746d21f9
Make sure generated blocks have their timestamp set
...
behavior change: newly generated blocks are no longer momentarily activated.
this shouldn't matter for anyone and did not consistently apply to all blocks anyway
addresses issue from #15902 for new maps(!)
2025-03-26 20:49:43 +01:00
sfan5
afb15978d9
Clean up and compress some pre-join packets ( #15881 )
2025-03-11 20:00:07 +01:00
sfan5
7892541383
Various random code cleanups
2025-03-04 19:53:01 +01:00
sfan5
ee9258cefd
Clean up some packet-related code
2025-02-26 12:21:57 +01:00
sfan5
ba62808fe8
Basic camera control API ( #15796 )
2025-02-19 18:45:45 +01:00
cx384
e9826f7819
Move EnumString to separate file and add enum_to_string ( #15714 )
2025-01-26 19:17:14 +01:00
SFENCE
af3f696423
Code style fixes.
2025-01-21 16:29:12 +01:00
cosin15
7053348e31
Fix buggy memcpy call in a template ( #15672 )
2025-01-14 20:26:29 +01:00
sfan5
612d4f9656
Improve quicktune feature a bit
2024-12-24 15:27:08 +01:00
DS
bcbee873e8
Use openssl's sha1 and sha256, optionally ( #15472 )
2024-12-10 22:00:43 +01:00
AFCMS
e545e96d2b
Make string to v3f parsing consistent, replace core.setting_get_pos() by core.settings:get_pos() ( #15438 )
...
Co-authored-by: sfan5 <sfan5@live.de >
Co-authored-by: Lars Müller <34514239+appgurueu@users.noreply.github.com >
2024-12-04 18:19:46 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) ( #15321 )
2024-10-28 15:57:39 +01:00
sfan5
b61c83a19d
Move some more sources to shared target
2024-10-16 19:39:59 +02:00
sfan5
37095f3e49
Change the preprocessor macro that differs server/client builds
2024-10-16 19:39:59 +02:00
y5nw
e3aa79cffb
Gettext and plural support for client-side translations ( #14726 )
...
---------
Co-authored-by: Ekdohibs <nathanael.courant@laposte.net >
Co-authored-by: y5nw <y5nw@protonmail.com >
Co-authored-by: rubenwardy <rw@rubenwardy.com >
2024-10-13 11:29:08 +02:00
sfan5
99b6315c1a
Make logging respect stream flushes
...
also add override keyword and fix overflow() behavior
2024-10-12 22:37:17 +02:00
paradust7
3a7c8279bf
Split log.h to speed up compilation ( #15258 )
2024-10-09 16:24:44 +02:00
sfan5
c1ea49940b
Add questionable workaround for env lock contention
2024-09-26 17:31:49 +02:00
sfan5
7ae51382c8
Refactor ABM/LBM related code
2024-09-20 15:05:26 +02:00
DS
4aec4fbe6f
Add support for Tracy profiler ( #15113 )
2024-09-15 13:47:45 +02:00
red-001
1527cdf6a4
SRP remove custom memory allocator
2024-09-06 11:30:35 +02:00
red-001
197d09cc53
SRP switch to porting randomness source
2024-09-06 11:30:35 +02:00
sfence
4fd744cdf6
Generate Minetest.app on macOS 12, so at least macOS 12 will be supported
2024-09-06 11:30:27 +02:00
sfan5
3fb4049612
Prevent accidentally copy/move of refcounted objects
2024-09-02 21:50:13 +02:00
sfan5
b8b99d5cf1
Use std::string_view in logging code
2024-09-02 16:09:14 +02:00
sfan5
19a58745c9
Avoid copies when working with EnrichedString
2024-08-28 15:38:02 +02:00
Desour
04f0a4a1c6
Fix MeshGrid::isMeshPos()
...
`(1 + 1 + 0) % 2 = 0`, for example, so it had false positives.
Only minimap generation uses this function. It did useless work.
2024-08-28 15:37:54 +02:00
sfan5
c6ef5ab259
Sanitize formspec fields server-side ( #14878 )
2024-08-21 21:34:46 +02:00
sfan5
85e717fcd1
Rework object attachment handling to fix bugs ( #14825 )
2024-08-12 15:32:18 +02:00
sfan5
b7e886a740
Rename sha256 header
...
fixes #14710
2024-06-10 18:49:43 +02:00
Desour
cdbbac5b6d
Move sha256.c to lib/
...
Precompiled headers don't work if we're not a pure C++ project.
2024-05-27 17:12:39 +02:00
sfan5
59bf1d8cd9
Fix curl compatibility issues with colorize_url ( #14615 )
...
Also move the escape code safety check to guiOpenURL.
2024-05-09 11:31:10 +02:00
sfan5
9c3c286aab
Optimize code patterns around raycasting
2024-05-03 16:28:29 +02:00
sfan5
fc0ac64277
Fix build errors with curl disabled
2024-04-28 12:31:15 +02:00
JosiahWI
de8d80dee0
Fix MSVC warning C4172 in ModifySafeMap::get ( #14576 )
2024-04-23 19:04:26 +02:00
SmallJoker
c8a41409d9
HUD: Text element color support ( #14558 )
2024-04-20 20:36:44 +02:00
sfan5
d8190e1c5f
Some globals (un-)init fixes
2024-04-20 13:03:42 +02:00
sfan5
2af5191070
Optimize MapNode::serializeBulk
...
before
serializeBulk [us] __________________________ 9047x 9.363
after
serializeBulk [us] __________________________ 8458x 1.214
2024-04-20 13:03:42 +02:00
sfan5
72eeb9fecb
Refactor profiler and related classes
2024-04-20 13:03:42 +02:00
sfan5
5df60d85f7
Cache iconv context per-thread
2024-03-30 11:07:02 +01:00
sfan5
008d6be900
Rework iconv encoding detection
...
WCHAR_T doesn't seem as portable as we thought, so it's just easier
to detect the right encoding using macros at this point.
2024-03-30 11:07:02 +01:00
sfan5
d1a1aed23e
Reduce unnecessary include in serialize.h
2024-03-30 11:07:02 +01:00
sfan5
d307d01b18
Fix tests that rely on UTF-8 literals
...
and the lowercase function
2024-03-28 16:22:04 +01:00
rubenwardy
24cc33e704
Add button_url[] and hypertext element to allow mods to open web pages ( #13825 )
...
Fixes #12500
2024-03-24 17:19:23 +00:00
sfan5
5727d74d37
Avoid including client headers on server builds
2024-03-20 16:37:32 +01:00
sfan5
bc4ab8b99e
General code refactoring/improvements in server, treegen and connection
2024-03-20 16:37:32 +01:00
Desour
b10797b3d5
Add missing include in container.h
...
BUILD_BENCHMAKRS builds were broken.
2024-03-02 01:47:03 +01:00
sfan5
5d8a22066c
Change how max_lag is calculated and reported ( #14378 )
...
-Change how max_lag is calculated and reported
- Cap singleplayer step at 60Hz
- Clarify dedicated_server_step
2024-02-26 20:46:57 +01:00
sfan5
492aab20fe
Fix compiler warnings
2024-02-24 12:39:12 +01:00
sfan5
6ca214fefc
Introduce std::string_view into wider use ( #14368 )
2024-02-17 15:35:33 +01:00