sfan5
5f06885ffa
Fix printing SER_FMT_VER_HIGHEST_READ in main.cpp
2025-05-13 18:26:47 +02:00
Linn16
c0e42c6588
Use map_compression_level_disk from minetest.conf for --recompress ( #16037 )
2025-04-21 12:32:58 +02:00
sfan5
1281173e50
Use secure randomness to seed internal RNG
2025-03-30 18:17:19 +02:00
sfan5
7892541383
Various random code cleanups
2025-03-04 19:53:01 +01:00
sfan5
b5e084c9a5
Update github URL references ( #15705 )
2025-01-24 16:50:39 +01:00
sfan5
3cb07d5fb6
Add limited game auto-selection to dedicated server
2025-01-19 18:39:32 +01:00
SmallJoker
c175046d30
Network: Fix serialization version checks ( #15477 )
...
This fixes some incorrect assumptions that the read and write version ranges are identical - whereas they're in fact not.
2024-11-27 18:39:57 +01:00
rubenwardy
ba370d9841
Use content.luanti.org ( #15360 )
2024-11-02 20:40:33 +00:00
sfan5
721e06451e
Minor improvements to startup logging and related code
2024-10-28 15:59:17 +01:00
sfan5
8d648364c0
Remove handling of MT_LOGCOLOR env variable
2024-10-28 15:59:17 +01:00
sfence
d849d51c2d
Replace licensing text in headers (LGPLv2.1) ( #15321 )
2024-10-28 15:57:39 +01:00
grorp
4b90e582b4
Rename to Luanti ( #15294 )
...
The new header intentionally isn't in MTG stone design (or any other MTG-esque design), since we want to distance Luanti and MTG from each other. The font "undefined medium" (https://undefined-medium.com/ ) was used.
ASCII art generated by https://patorjk.com/software/taag/#p=display&f=Graffiti&t=luanti
https://github.com/minetest/minetest/pull/11952#issuecomment-1013364703
---------
Co-authored-by: sfan5 <sfan5@live.de>
2024-10-27 14:04:51 +01:00
sfan5
37095f3e49
Change the preprocessor macro that differs server/client builds
2024-10-16 19:39:59 +02:00
paradust7
3a7c8279bf
Split log.h to speed up compilation ( #15258 )
2024-10-09 16:24:44 +02:00
SmallJoker
3797ca52c4
Network: offload often changed constants to source file ( #15207 )
...
* Network: offload often changed constants to source file
This prevents unnecessary recompiling when using incremental builds.
There is also no need to have separate max proto version variables;
as they're subject to the handshake between client and server. The
code is also expected to support the same version (or higher).
Co-authored-by: sfan5 <sfan5@live.de>
2024-10-02 11:01:30 +02:00
sfan5
588a0f83e9
Divorce map database locking from env lock ( #15151 )
2024-09-26 17:31:49 +02:00
sfan5
72c306d920
Improve some protocol code log messages
...
also get rid of the very noisy socket debug message that are
useless in a world where Wireshark exists.
2024-09-12 23:41:56 +02:00
Lars Mueller
d3ca269c79
Add minetest.is_valid_player_name
utility
2024-08-16 22:13:16 +02:00
sfan5
fee6e8e11b
Identify when compiled with openresty LuaJIT
...
Debian testing ships it
2024-06-10 18:49:43 +02:00
Xeno333
a078cfee3e
Rename "opaque_water" setting to "translucent_liquids" with inverted meaning ( #14660 )
...
The old setting will be migrated properly.
---------
Co-authored-by: grorp <gregor.parzefall@posteo.de>
2024-05-22 16:46:05 +02:00
sfan5
d53ef90a73
Remove Irrlicht versioning
2024-03-27 20:55:48 +01:00
sfan5
5727d74d37
Avoid including client headers on server builds
2024-03-20 16:37:32 +01:00
David Heidelberg
34286d77c7
Allow toggling touchscreen mode at runtime ( #14075 )
...
Signed-off-by: David Heidelberg <david@ixit.cz>
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-02-22 15:44:49 +00:00
sfan5
f483d10c95
Switch to LLVM-based MinGW toolchain ( #14329 )
2024-02-16 21:36:19 +01:00
sfan5
89eabb5803
Drop speed tests and some other unused code from clientlauncher.cpp
2024-01-23 22:34:36 +01:00
sfan5
e985b7a0bf
Initialize random with better seed
2024-01-17 20:06:26 +01:00
sfan5
8db4ba9e58
Fix some console window behavior on Windows
2024-01-06 15:38:09 +01:00
sfan5
93c2aff2cf
Clean up OS-specific initialization
2023-12-29 21:52:08 +01:00
sfan5
f5b35a074f
Get rid of parent pointer in MapBlock
2023-12-16 12:51:42 +01:00
sfan5
e5a6048eec
Allow running individual benchmarks
...
mirrors and reuses the option from 2f6a9d12f1
2023-12-16 12:51:42 +01:00
corpserot
9e952603b2
Lump MT_LOGCOLOR env together with other color env ( #13887 )
2023-11-08 07:00:36 +07:00
Muhammad Rifqi Priyo Susanto
7213ff7a00
Resolves some warnings for Android version ( #13862 )
2023-11-05 19:02:01 +01:00
sfan5
01d26c0e0e
Warn when ignoring bind_address
2023-10-05 17:29:49 +02:00
sfan5
c3114132d3
Improve readability and infos in verbose log ( #13828 )
2023-09-22 18:41:10 +02:00
ROllerozxa
a88e61c2cf
Improve UX when no game exists and drop default_game
( #13550 )
2023-09-17 18:45:28 +01:00
numzero
3b74cc4a41
Replace PP with direct printing
2023-06-26 22:51:32 +02:00
Vitaliy
2f6a9d12f1
Allow running individual unit tests
2023-06-25 11:13:48 +02:00
Thresher
00c647e4cc
Convert spaces to tabs ( #13506 )
...
* Convert spaces to tabs
* Desour reviews 1-3 fix
* Desour fixes
* Undo alignment changes
2023-05-26 15:13:57 +02:00
sfan5
87d509e462
Implement --debugger option to improve UX when debugging crashes ( #13157 )
2023-01-23 00:19:30 +01:00
Jude Melton-Houghton
956026bb6b
Break long lines of option help ( #13136 )
2023-01-12 14:12:05 -05:00
Jude Melton-Houghton
8f996e4a7c
Remove unused MapBlock functionality
2022-10-09 13:43:48 -04:00
William Breathitt Gray
19e936362a
Add support for MINETEST_USERDATA environment variable ( #12639 )
...
The MINETEST_USER_PATH environment variable can be used to define a
custom path for Minetest user data. If MINETEST_USER_PATH is empty or
unset, the HOME (or APPDATA on Windows) environment variable is used as
the default user data path; this ensures backwards compatibility with
existing user setups.
2022-09-16 13:19:44 +02:00
Herman Semenov
038da00e79
Code optimizations / refactor ( #12704 )
...
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
Co-authored-by: sfan5 <sfan5@live.de>
2022-09-06 11:21:09 +01:00
Lion
2690585e99
Add handling of environment variables to control terminal/logging colors ( #12641 )
2022-08-14 20:27:28 +02:00
paradust7
87472150bc
Add benchmarks for json string serialize/deserialize ( #12258 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-05-06 21:17:16 +01:00
paradust7
0704ca0550
Make logging cost free when there is no output target ( #12247 )
...
The logging streams now do almost no work when there is no output target for them.
For example, if LL_VERBOSE has no output targets, then `verbosestream << x` will return a StreamProxy with a null target. Any further `<<` operations applied to it will do nothing.
2022-05-04 20:55:01 +02:00
sfan5
ba6fbc417e
Remove awful Mingw32 workarounds
...
Instead a warning is triggered if an affected compiler is detected.
closes #12022
2022-02-08 19:31:24 +01:00
Jude Melton-Houghton
bf22569019
Use a database for mod storage ( #11763 )
2022-01-07 20:28:49 +02:00
sfan5
ad076ede85
Add preprocessor check for weird (incorrect) build configurations
2021-09-19 13:53:44 +02:00
lhofhansl
d1624a5521
Switch MapBlock compression to zstd ( #10788 )
...
* Add zstd support.
* Rearrange serialization order
* Compress entire mapblock
Co-authored-by: sfan5 <sfan5@live.de>
2021-08-31 17:32:31 -07:00