aboutsummaryrefslogtreecommitdiff
path: root/src/network
AgeCommit message (Collapse)Author
2023-03-07Dual wieldingLizzy Fleckenstein
2023-02-27Add minetest.get_player_window_information() (#12367)rubenwardy
2023-02-26Sky: transmit body_orbit_tilt to client. (#13193)sofar
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-18Fix typo and missing entry in serveropcodesparadust7
2023-02-18Source image tracking in tile generation (#12514)20kdc
2023-01-09Remove mapblock cache for mesh generation. (#13124)x2048
Reduces memory consumption and improves performance
2023-01-06Add dynamic exposure correction (#12959)x2048
* Add uniform for frame delta time * Adjust exposure in logarithmic (EV) space * Add network support and LUA API * Add testing mod
2022-12-27Use multiple threads for mesh generation (#13062)x2048
Co-authored-by: sfan5 <sfan5@live.de>
2022-12-25Allow saturation to be controlled by the server. (#13075)lhofhansl
2022-11-09Fix typos and en_US/en_GB inconsistency in various files (#12902)Abdou-31
2022-09-06Code optimizations / refactor (#12704)Herman Semenov
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: sfan5 <sfan5@live.de>
2022-08-16Log sockets into tracestream instead of dstream (#12701)celeron55
2022-08-04Bump protocol versionsfan5
Better late than never.
2022-07-30Fix some warnings (#12615)rubenwardy
2022-07-13Animated particlespawners and more (#11545)Lexi Hale
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-09Sounds: Various little improvements (#12486)SmallJoker
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-03FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453)Vincent Robinson
* 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-02Allow to set maximum star opacity at daytime (#11663)Wuzzy
2022-06-20Re-order sound-related code (#12382)SmallJoker
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-11No damage effects on hp_max change (#11846)Lars Müller
2022-06-05Add register dialog to separate login/register (#12185)rubenwardy
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-05-04Make logging cost free when there is no output target (#12247)paradust7
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-04-30Deal with compiler warningssfan5
2022-04-28Clean up some auth packet handling related codesfan5
2022-04-28Fix password changing getting stuck if wrong password is entered oncesfan5
2022-04-28Apply disallow_empty_password to password changes toosfan5
2022-04-28Fix race condition in registration leading to duplicate create_auth callssfan5
2022-04-08Spacing fixesShadowNinja
2022-03-26Add API to control shadow intensity from the game/mod (#11944)x2048
* Also Disable shadows when sun/moon is hidden. Fixes #11972.
2022-02-17Clean up ClientReady packet handlingsfan5
fixes #12073
2022-02-03Clean up ClientInterface lockingJude Melton-Houghton
2022-01-30Get rid of `basic_debug` last minutesfan5
This isn't a revert but rather just disables the codepaths. also see #12011
2022-01-23Bump formspec version (#11980)Vincent Robinson
2022-01-22Fix consistency of sky sun/moon texture behavioursfan5
Also cleans up related code somewhat.
2022-01-19Fix local animation not instantly updating after being setsfan5
2022-01-15Don't call on_dieplayer callback two times (#11874)savilli
2022-01-09Restore pass-through of direction keys (#11924)sfan5
This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
2021-12-29Socket-related cleanupssfan5
Improve error handling on Windows and reduce the size of the `Address` class
2021-12-28Fix check that denies new clients from a singleplayer sessionsavilli
2021-12-28Restore GCC 5 compatibility (#11778)JosiahWI
2021-12-01Network: Delete copy constructor and use std::move instead (#11642)SmallJoker
This is a follow-up change which disables class copies where possible to avoid unnecessary memory movements.
2021-10-31Fix number of tool uses being off by 1..32767 (#11110)Wuzzy
2021-10-25Fix item duplication if player dies during interact callback (alternative) ↵sfan5
(#11662)
2021-10-12Remove broken timeout behavioursfan5
Code that relies on `resend_count` was added in 7ea4a03 and 247a1eb, but never worked. This was fixed in #11607 which caused the problem to surface. Hence undo the first commit entirely and change the logic of the second.
2021-10-12Fix player HP desync between client and serversavilli
2021-09-27Various code improvementsSmallJoker
* Camera: Fix division by 0 after view bobbing * Remove ignored constness * Connection: Improve window size range limits
2021-09-19Fix trivial typossfan5
2021-09-17Shave off buffer copies in networking code (#11607)sfan5
2021-09-12Fix broken handling of NodemetaChanged packetssfan5
fixes #11610
2021-09-11Make sure relevant std::stringstreams are set to binarysfan5