lhofhansl
a8ec6092e2
Load blocks and objects behind player when in third-persion front-view ( #13431 )
2023-05-29 10:26:42 -07: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
15445a0fbe
Raise and clean up _WIN32_WINNT constant
2023-05-11 22:51:01 +02:00
Desour
8b73743baa
Reduce number of recursively included headers
...
This should improve compilation speed.
Things changed:
* Prefer forward-declarations in headers.
* Move header-includes out of headers if possible.
* Move some functions definitions out of headers.
* Put some member variables into unique_ptrs (see Client).
2023-04-27 18:50:33 +02:00
rubenwardy
b1786e88ac
Use .md extension for markdown files
...
Linking to line numbers is brittle, linking to sections/headings is better.
If you still want to link to a line number, you can append ?plain=1 to GitHub's URL
2023-04-16 20:23:53 +01:00
SmallJoker
ba2fee0751
Particle spawner: Fix missing parameters
...
The changes done to clientpackethandler.cpp and server.cpp move the
compatibility code into a protocol version check so that older code
parts can easily be removed in the future (e.g. bump of minimal version).
2023-04-08 17:23:17 +02:00
SmallJoker
d975ebdcb9
Limit formspec fields to 640K ( #13380 )
...
Fixes an issue where long inputs could cause issues when dealing with formspecs.
The expected data is usually below 1 KiB, however that's not a technical limit.
2023-04-07 12:49:23 +02:00
sfan5
bd88d299b9
Bump protocol version
...
and correct documentation of previous version
2023-03-29 23:19:39 +02:00
rubenwardy
39f4d26177
Add minetest.get_player_window_information() ( #12367 )
2023-02-27 22:58:41 +00:00
sofar
2083252c05
Sky: transmit body_orbit_tilt to client. ( #13193 )
...
This obsoletes the current client-side setting entirely. The server can
transmit the tilt to the client directly and will send 0.0f as default
value.
Co-authored-by: x2048 <codeforsmile@gmail.com>
Co-authored-by: sfan5 <sfan5@live.de>
2023-02-26 01:08:33 +01:00
paradust7
aa5dc0968b
Fix typo and missing entry in serveropcodes
2023-02-18 16:47:08 +01:00
20kdc
75e6cc190a
Source image tracking in tile generation ( #12514 )
2023-02-18 00:03:03 +01:00
x2048
139db66901
Remove mapblock cache for mesh generation. ( #13124 )
...
Reduces memory consumption and improves performance
2023-01-09 21:40:08 +01:00
x2048
6d45c243f8
Add dynamic exposure correction ( #12959 )
...
* Add uniform for frame delta time
* Adjust exposure in logarithmic (EV) space
* Add network support and LUA API
* Add testing mod
2023-01-06 22:33:25 +01:00
x2048
89e7f72c92
Use multiple threads for mesh generation ( #13062 )
...
Co-authored-by: sfan5 <sfan5@live.de>
2022-12-27 18:44:18 +01:00
lhofhansl
1e7804aaf6
Allow saturation to be controlled by the server. ( #13075 )
2022-12-25 16:15:32 -08:00
Abdou-31
d1b80b462e
Fix typos and en_US/en_GB inconsistency in various files ( #12902 )
2022-11-09 11:57:19 -05: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
celeron55
3f67215df9
Log sockets into tracestream instead of dstream ( #12701 )
2022-08-16 15:18:11 +01:00
sfan5
c4277877b6
Bump protocol version
...
Better late than never.
2022-08-04 22:45:52 +02:00
rubenwardy
a871115889
Fix some warnings ( #12615 )
2022-07-30 12:51:23 +01:00
Lexi Hale
20bd6bdb68
Animated particlespawners and more ( #11545 )
...
Co-authored-by: Lars Mueller <appgurulars@gmx.de>
Co-authored-by: sfan5 <sfan5@live.de>
Co-authored-by: Dmitry Kostenko <codeforsmile@gmail.com>
2022-07-13 11:57:12 +02:00
SmallJoker
e51f474613
Sounds: Various little improvements ( #12486 )
...
Use SimpleSoundSpec where reasonable (OpenAL)
Ensure the sound IDs do not underflow or get overwritten -> loop in u16
Proper use of an enum.
2022-07-09 22:32:24 +02:00
Vincent Robinson
f7bcf7fa46
FormSpec: 9-slice images, animated_images, and fgimg_middle ( #12453 )
...
* FormSpec: 9-slice images and animated_images
* Add fgimg_middle; clean up code
* Address issues, add tests
* Fix stupid error; bump formspec version
* Re-add image[] elements without a size
2022-07-03 08:52:26 -04:00
Wuzzy
142928e944
Allow to set maximum star opacity at daytime ( #11663 )
2022-07-02 19:57:48 +01:00
SmallJoker
a463620edb
Re-order sound-related code ( #12382 )
...
Dropped ServerSoundParams -> moved to ServerPlayingSound. This gets rid of the duplicated
'fade' and 'pitch' values on server-side where only one was used anyway.
SimpleSoundSpec is the basic sound without positional information, hence 'loop' is included.
Recursively added PROTOCOL_VERSION to most functions to reduce the versioning mess in the
future. Per-type version numbers are kept for now as a safety rope in a special case.
2022-06-20 21:56:12 +02:00
Lars Müller
f4a53f7ee6
No damage effects on hp_max change ( #11846 )
2022-06-11 20:00:40 +02:00
rubenwardy
03d86ea0b4
Add register dialog to separate login/register ( #12185 )
...
New users find Minetest's account system confusing.
This change moves username/password to a new dialog,
with login and register buttons added to the Join Game tab.
The old registration confirmation dialog is removed in
favour of the new dialog.
Fixes #8138
2022-06-05 17:47:38 +02: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
a89afe1229
Deal with compiler warnings
2022-04-30 16:49:41 +02:00
sfan5
a65f6f07f3
Clean up some auth packet handling related code
2022-04-28 20:05:26 +02:00
sfan5
00f71c3b9d
Fix password changing getting stuck if wrong password is entered once
2022-04-28 19:55:36 +02:00
sfan5
3d2bf8fb02
Apply disallow_empty_password to password changes too
2022-04-28 19:55:36 +02:00
sfan5
391eec9ee7
Fix race condition in registration leading to duplicate create_auth calls
2022-04-28 19:55:36 +02:00
ShadowNinja
7993909fab
Spacing fixes
2022-04-08 14:55:21 +01:00
x2048
0f25fa7af6
Add API to control shadow intensity from the game/mod ( #11944 )
...
* Also Disable shadows when sun/moon is hidden. Fixes #11972 .
2022-03-26 16:58:26 +01:00
sfan5
c31b301722
Clean up ClientReady packet handling
...
fixes #12073
2022-02-17 23:20:33 +01:00
Jude Melton-Houghton
1c73902005
Clean up ClientInterface locking
2022-02-03 11:43:51 +01:00
sfan5
5da204f5bc
Get rid of basic_debug
last minute
...
This isn't a revert but rather just disables the codepaths. also see #12011
2022-01-30 21:32:49 +01:00
Vincent Robinson
95a775cd3a
Bump formspec version ( #11980 )
2022-01-23 00:55:43 +01:00
sfan5
f8cef52ea0
Fix consistency of sky sun/moon texture behaviour
...
Also cleans up related code somewhat.
2022-01-22 11:18:34 -05:00
sfan5
f66ed2c27f
Fix local animation not instantly updating after being set
2022-01-19 23:30:18 +01:00
savilli
72b14bd994
Don't call on_dieplayer callback two times ( #11874 )
2022-01-15 17:44:55 +01:00
sfan5
5eb45e1ea0
Restore pass-through of direction keys ( #11924 )
...
This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
2022-01-09 18:46:36 +01:00
sfan5
0ea8df4d64
Socket-related cleanups
...
Improve error handling on Windows and reduce the size of the `Address` class
2021-12-29 23:01:26 +01:00
savilli
0fa54531d4
Fix check that denies new clients from a singleplayer session
2021-12-28 14:08:21 +01:00
JosiahWI
7f6306ca96
Restore GCC 5 compatibility ( #11778 )
2021-12-28 14:05:49 +01:00
SmallJoker
57a59ae92d
Network: Delete copy constructor and use std::move instead ( #11642 )
...
This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements.
2021-12-01 20:22:33 +01:00
Wuzzy
6910c8d920
Fix number of tool uses being off by 1..32767 ( #11110 )
2021-10-31 22:33:33 +00:00
sfan5
660e63dbae
Fix item duplication if player dies during interact callback (alternative) ( #11662 )
2021-10-25 20:30:27 +02:00