summaryrefslogtreecommitdiff
path: root/src/client/client.h
Commit message (Collapse)AuthorAge
* ignore csm flagsGabriel Pérez-Cerezo2021-03-26
|
* Fix hud_change and hud_remove after hud_add (#10997)savilli2021-02-26
|
* Remove dead code (#10845)rubenwardy2021-01-22
|
* Remove unused functions reported by cppcheck (#10463)SmallJoker2020-10-05
| | | | | | | Run unused functions reported by cppcheck This change removes a few (but not all) unused functions. Some unused helper functions were not removed due to their complexity and potential of future use.
* Minimap as HUD element with API controlPierre-Yves Rollo2020-10-04
| | | | | | | 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
* Server pushing media at runtime (#9961)sfan52020-06-13
|
* Client: Add sum and average to packetcountersfan52020-05-17
|
* Overall improvements to log messages (#9598)sfan52020-04-08
| | | | Hide some unnecessarily verbose ones behind --trace or disable them entirely. Remove duplicate ones. Improve their contents in some places.
* set_sky improvements, set_sun, set_moon and set_starsJordach2020-03-05
|
* Basic model shading (#9374)Danila Shutov2020-02-16
|
* Improve core.sound_play with ephemeral sounds and player exclusionsfan52020-02-01
|
* Improve client-side packet receivingsfan52019-11-25
|
* [CSM] Implement minetest.get_csm_restrictions()sfan52019-11-11
| | | | fixes #8068
* [CSM] Expose more env functionssfan52019-11-11
|
* Refactor CSM restriction code a bitsfan52019-11-11
| | | | This also fixes find_node_near restrictions being ineffective.
* Be lenient with extra slashes for CSM pathssfan52019-11-09
|
* Load client mods into memory before execution.sfan52019-11-09
| | | | Preperation for server-sent CSM which will eventually need this.
* Add support for per-player FOV overrides and multipliersAnand S2019-09-19
|
* client.h: Add missing const'sANAND2019-09-14
|
* Send ActiveObjects once right after Init2ANAND2019-09-14
|
* Load CSM environment after the restrictions are knownSmallJoker2019-09-14
| | | | | | | 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
* Inventory: Send dirty lists where appropriate (#8742)SmallJoker2019-08-24
| | | | | 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.
* Implement adding velocity to player from Luasfan52019-08-10
| | | | The intended usecase is knockback, but there's potential for more.
* Client::Interact: Use InteractAction enum instead of numeric constantsANAND2019-08-07
| | | | This replaces the magic numbers used as interaction modes both client-side and server-side, primarily for the sake of ease-of-readability.
* Unify wield item handling (#8677)SmallJoker2019-08-07
| | | | This moves the wield item functions to Player and the tool utils for range calculation Also 'local_inventory' was removed due to redundancy in Client
* Optimize usage of TOSERVER_GOTBLOCKS packetsfan52019-08-07
|
* Fix particle spawners not visible since CSM spawner implementation (#8289)Loïc Blot2019-03-01
| | | | | * Drop the ID mapper, use a big u64 instead. This will permit to resync server ids properly with the manager code * Modernize some code parts (std::unordered_map, auto) * generate id on client part on U32_MAX + 1 ids, lower are for server ids
* Revert "Revert CSM particles commit to fix particle spawner bug for 5.0.0 ↵Loïc Blot2019-02-26
| | | | | | (#8288)" This reverts commit 01cd63bd3bca0192dab2834faf414b022706a77e.
* Revert CSM particles commit to fix particle spawner bug for 5.0.0 (#8288)Paramat2019-02-26
| | | | Reverts 5dab7426451842793b183fbd961ad2ae83c8acbd "[CSM] Add functions to create particles and particlespawners."
* Consistent HP and damage types (#8167)SmallJoker2019-02-10
| | | | | Remove deprecated HUDs and chat message handling. Remove unused m_damage variable (compat break). HP: s32 for setter/calculations, u16 for getter.
* Send only changed node metadata to clients instead of whole mapblock (#5268)SmallJoker2018-12-04
| | | | | | | Includes newer style changes and fixes by est31 Improve the block position de-serialization Add type NodeMetadataMap
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
Update Android.mk Remove 'src/client' from include_directories