aboutsummaryrefslogtreecommitdiff
path: root/src/client/client.cpp
Commit message (Collapse)AuthorAge
* Improve client-side packet receivingsfan52019-11-25
|
* Fix clang-tidy and lint travis checkssfan52019-11-11
|
* [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
|
* Corrections to client_lua_api.txtsfan52019-11-09
|
* Load client mods into memory before execution.sfan52019-11-09
| | | | Preperation for server-sent CSM which will eventually need this.
* Revert Client::sendPlayerPos optimization (part of 81c7f0a) (#9025)ANAND2019-10-08
| | | Comment out the if statement that prevents sending TOSERVER_PLAYERPOS if the player is dead.
* client.cpp: Fix code-style in Client::sendPlayerPosANAND2019-09-14
|
* Send ActiveObjects once right after Init2ANAND2019-09-14
|
* Formspecs: Introduce formspec_version to modsSmallJoker2019-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.
* Revert "Don't send position update packet if player is dead"sfan52019-08-21
| | | | This reverts commit fb6f1fdcbe3ee2321cc33eb00f2c6da86744d00a.
* Don't send position update packet if player is deadANAND2019-08-20
|
* Better F6 profiler (#8750)SmallJoker2019-08-13
| | | | | | | Update the profiler names to make more sense of what they actually represent Move the profiler code from header to its source file Use monospace font to align lines Format the statistics line to align better with surrounding values Refresh the profiler each 3 seconds (roughly)
* Merge pull request #8776 from osjc/FixGetNodeJozef Behran2019-08-10
| | | Finish getNode cleanup
* 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
|
* Remove unnecessary CSM warning (#8485)Paramat2019-04-28
|
* Revert RTT fixes (#8187)ANAND2019-02-15
| | | | | The reverted commit 968ce9af598024ec71e9ffb2d15c3997a13ad754 is suspected (through the use of bisection) of causing network slowdowns. Revert for now as we are close to release.
* 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.
* CSM restrictions: Make 'LOAD_CLIENT_MODS' disable loading of 'builtin' (#8000)Paramat2019-01-03
| | | | | | | | | | | | Previously, when the CSM restriction 'LOAD_CLIENT_MODS' was used a client was still able to add CSM code to 'builtin' to bypass that restriction, because 'builtin' is not yet verified. Until server-sent CSM and verifying of 'builtin' are complete, make 'LOAD_CLIENT_MODS' disable the loading of builtin. Clarify code comments and messages to distinguish between client-side modding and client-side scripting. 'Scripting' includes 'builtin', 'modding' does not.
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
Update Android.mk Remove 'src/client' from include_directories