aboutsummaryrefslogtreecommitdiff
path: root/src/network/clientpackethandler.cpp
AgeCommit message (Collapse)Author
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-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-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-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-04-28Clean up some auth packet handling related codesfan5
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-01-30Get rid of `basic_debug` last minutesfan5
This isn't a revert but rather just disables the codepaths. also see #12011
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
2021-12-28Restore GCC 5 compatibility (#11778)JosiahWI
2021-09-19Fix trivial typossfan5
2021-09-12Fix broken handling of NodemetaChanged packetssfan5
fixes #11610
2021-09-11Make sure relevant std::stringstreams are set to binarysfan5
2021-09-09Dynamic_Add_Media v2 (#11550)sfan5
2021-08-21HUD: Reject and warn on invalid stat types (#11548)SmallJoker
This comes into play on older servers which do not know the "stat" type. Warnings are only logged once to avoid spam within globalstep callbacks
2021-07-27Add bold, italic and monospace font styling for HUD text elements (#11478)sfan5
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
2021-06-24Require 'basic_debug' priv to view gameplay-relevant debug info, require ↵Wuzzy
'debug' priv to view wireframe (#9315) Fixes #7245.
2021-03-06Clean up ClientEvent hudadd/hudchange internalssfan5
2021-02-26Fix hud_change and hud_remove after hud_add (#10997)savilli
2020-10-04Minimap as HUD element with API controlPierre-Yves Rollo
Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map
2020-10-01(se)SerializeString: Include max length in the nameSmallJoker
This commit clarifies the maximal length of the serialized strings. It will avoid accidental use of serializeString() when a larger string can be expected. Removes unused Wide String serialization functions
2020-07-12Add reconnect button on error: Too many players (#9405)Lejo
2020-06-13Server pushing media at runtime (#9961)sfan5
2020-05-23Implement spawning particles with node texture appearancesfan5
2020-05-22Cleanup of particle & particlespawner structures and code (#9893)sfan5
2020-05-11Add support for statbar “off state” icons (#9462)Wuzzy
This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles. Add "off state" textures to the builtin statbars. Co-authored-by: SmallJoker <mk939@ymail.com>
2020-05-05Sky API: Rename *_tint to fog_*_tint for consistencySmallJoker
2020-05-02set_fov: Add support for time-based transitions (#9705)ANAND
2020-04-08Overall improvements to log messages (#9598)sfan5
Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
2020-03-20Add comments for translators (#9510)Wuzzy
* Add translator comments for "special" strings * Add translator comments for some "tricky" strings
2020-03-05Fix memory leak in protocol 38 set_skysfan5
2020-03-05set_sky improvements, set_sun, set_moon and set_starsJordach
2020-02-26Allow texture modifiers in hotbar textures. (#9271)Warr1024
2020-02-01Improve core.sound_play with ephemeral sounds and player exclusionsfan5
2019-12-06Add z-index management to HUDPierre-Yves Rollo
2019-09-19Add support for per-player FOV overrides and multipliersAnand S
2019-09-14Send ActiveObjects once right after Init2ANAND
2019-09-14Load CSM environment after the restrictions are knownSmallJoker
Safety-guards for CSM callbacks to abort on a bad implementation Only run callbacks when the mods are loaded (and with it: builtin) Duplication checks inside constructors
2019-08-24Inventory: Send dirty lists where appropriate (#8742)SmallJoker
This change reduces the amount of sent data towards clients. Inventory lists that are already known to the player are skipped, saving quite some data over time. Raises protocol version to 38 to ensure correct backwards-compatible code.
2019-08-10Implement adding velocity to player from Luasfan5
The intended usecase is knockback, but there's potential for more.