summaryrefslogtreecommitdiff
path: root/src/client/client.h
Commit message (Collapse)AuthorAge
* Deal with compiler warningssfan52022-04-30
|
* Add API to control shadow intensity from the game/mod (#11944)x20482022-03-26
| | | * Also Disable shadows when sun/moon is hidden. Fixes #11972.
* Automatically migrate client mod storage (#11960)Jude Melton-Houghton2022-01-27
|
* Use a database for mod storage (#11763)Jude Melton-Houghton2022-01-07
|
* Restore GCC 5 compatibility (#11778)JosiahWI2021-12-28
|
* Various code improvementsSmallJoker2021-09-27
| | | | | * Camera: Fix division by 0 after view bobbing * Remove ignored constness * Connection: Improve window size range limits
* Fix trivial typossfan52021-09-19
|
* Clean up/improve some scriptapi error handling codesfan52021-09-10
|
* Dynamic_Add_Media v2 (#11550)sfan52021-09-09
|
* fix: extractZipFile is not part of Client but more generic.Loic Blot2021-05-06
| | | | This solve a crash from mainmenu while extracting the zip
* fix: some code tidy about includes & irr namespacesLoic Blot2021-05-03
|
* refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot2021-05-03
|
* refacto: RenderingEngine::get_scene_manager() is now not callable from singletonLoic Blot2021-05-03
| | | | | | This permits to make evidence that we have some bad object passing on various code parts. I fixed majority of them to reduce the scope of passed objects Unfortunately, for some edge cases i should have to expose ISceneManager from client, this should be fixed in the future when our POO will be cleaner client side (we have a mix of rendering and processing in majority of the client objects, it works but it's not clean)
* refacto: rendering engine singleton removal step 1 (filesystem)Loic Blot2021-05-03
| | | | | | | | Make the RenderingEngine filesystem member non accessible from everywhere This permits also to determine that some lua code has directly a logic to extract zip file. Move this logic inside client, it's not the lua stack role to perform a such complex operation Found also another irrlicht <1.8 compat code to remove
* 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