summaryrefslogtreecommitdiff
path: root/src/client
Commit message (Collapse)AuthorAge
* Silence GCC warning in mapblock_meshSmallJoker2020-05-25
| | | | | Fixes following warning: warning: ‘waving’ may be used uninitialized in this function [-Wmaybe-uninitialized]
* Add chat_font_size setting (#9736)SmallJoker2020-05-24
| | | Default font sizes are used when the setting value is 0 or below (clamped by Settings).
* Fix two bugs in content_caosfan52020-05-24
| | | | fixes #9889 (backface_culling with visual = "cube") fixes #9916 (crash with visual = "upright_sprite")
* Implement spawning particles with node texture appearancesfan52020-05-23
|
* Modernize include guards and add missing ones (#9898)Awkor2020-05-23
|
* Cleanup of particle & particlespawner structures and code (#9893)sfan52020-05-22
|
* Cache liquid alternative IDs (#8053)Vitaliy2020-05-20
|
* Stop wasting memory on identical textures when texture filtering is disabledsfan52020-05-20
|
* Add ability to scale HUD text (#9814)LoneWolfHT2020-05-19
| | | Add 'size' property to HUD text elements that is used for relative font size calculations.
* content_mapblock: Move static initialization out of functionssfan52020-05-17
|
* Client: Add sum and average to packetcountersfan52020-05-17
|
* Make automatic_rotate relative, allow setting rotation (#8468)ANAND2020-05-16
| | | | | | | | | automatic_rotate does not make sense if it is absolute. Make it relative. To avoid bouncing, set_rotation did not update the client when automatic_rotate was set. That's no longer necessary because the new spinning method applies the rotation on top of the current one, and the updates are necessary for set_rotation to actually transform the object. Co-authored-by: ANAND <ClobberXD@gmail.com> Co-authored-by: Pedro Gimeno <pgimeno@users.noreply.notabug.org>
* CSM: Bugfixes to camera:get_pos() and camera:get_fov()sfan52020-05-14
| | | closes #9857
* Add chat_log_level setting (#9223)SmallJoker2020-05-14
| | | | | Log all higher levels in LogOutputBuffer Move StreamLogOutput::logRaw to source file like LogOutputBuffer::logRaw for compiling speed
* Damage texture modifier (#9833)Lars Müller2020-05-11
| | | Adds a new object property "damage_texture_modifier"
* Add support for statbar “off state” icons (#9462)Wuzzy2020-05-11
| | | | | | | 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>
* Color gradient for default and 'regular' type sky (#9502)TheTermos2020-05-09
| | | | | | | | | * add regular sky gradient * add regular sky gradient * Update sky.cpp * change default day sky colors
* Server class code cleanups (#9769)Loïc Blot2020-05-07
| | | | | | | | | | | | | | | | | | | * Server::overrideDayNightRatio doesn't require to return bool There is no sense to sending null player, the caller should send a valid object * Server::init: make private & cleanup This function is always called before start() and loads some variables which can be loaded in constructor directly. Make it private and call it directly in start * Split Server inventory responsibility to a dedicated object This splits permit to found various historical issues: * duplicate lookups on player connection * sending inventory to non related player when a player connects * non friendly lookups on detached inventories ownership This reduce the detached inventory complexity and also increased the lookup performance in a quite interesting way for servers with thousands of inventories.
* Get rid of non-ascii characters in the debug display code (#8821)Jozef Behran2020-05-06
|
* Fix broken client if openal cannot be opened (#9804)Loïc Blot2020-05-05
|
* Sky API: Rename *_tint to fog_*_tint for consistencySmallJoker2020-05-05
|
* set_fov: Add support for time-based transitions (#9705)ANAND2020-05-02
|
* Fix UpdateBonePosition() breaking animations (#9577)theviper1212020-04-26
|
* mapblock_mesh: Optimize a few things (#9713)sfan52020-04-25
|
* Ensure game is shutdown if server throws exception (#9742)Paul Ouellette2020-04-25
|
* Add server side translations capability (#9733)EvidenceB Kidscode2020-04-25
| | | | * Add server side translations capability
* Camera: Fix shootline line offsets II (#9730)SmallJoker2020-04-23
|
* Android: add OpenGL ES 2 support (#9715)Maksim2020-04-22
| | | .. and bump gradle to 3.6.3
* Reuse object_shader for "wielditem" and "item" entity drawtypes (#9537)Danila Shutov2020-04-19
|
* Camera: Fix shooting line offsets (#9681)SmallJoker2020-04-16
| | | | Removes duplicated offset calculations from Game and use whatever the Camera class returns. This keeps the eye position nicely in sync, and gets rid of duplicated code.
* Refactor texture overrides and add new features (#9600)Hugues Ross2020-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor texture overrides, and add new features: - Texture overrides can support multiple targets in one line - Texture override files can have comment lines - Item images/wield images can be overridden * Formatting changes * Address soime feedback - Pass vectors by const reference - Log syntax errors as warnings - Remove 'C' prefix from TextureOverrideSource * Simplify override target checks with an inline helper function * make linter happy * Apply feedback suggestions Co-Authored-By: rubenwardy <rw@rubenwardy.com> * Remove remaining != 0 checks * Update copyright notice Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Remove sound menu and show proper msgs if sound is off (#9069)Wuzzy2020-04-13
|
* Play 'player_jump' when player jumps (#9373)Wuzzy2020-04-12
|
* Improve waypoints and add image variant (#9480)Lars Müller2020-04-11
|
* Formspecs: Add state-selection to style elements (#9378)Hugues Ross2020-04-11
|
* Implement DPI scaling for Windows (#9586)sfan52020-04-11
|
* Use TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)Alex2020-04-11
| | | Fixes #9637.
* A few initialization cleanupssfan52020-04-11
|
* Move clientsimpleobject.h to client folder (#9630)Loïc Blot2020-04-10
| | | This file is only called from client folder, retrieve its friends :)
* Drop genericobject.{cpp,h} (#9629)Loïc Blot2020-04-10
| | | | | | | | | | * Drop genericobject.{cpp,h} This file is not for generic object but for ActiveObject message passing. Put ownership of the various commands to the right objects and cleanup the related code. * Protect ServerActiveObject::m_messages_out * typo fix
* Collision various fixes (#9343)TheTermos2020-04-08
|
* 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.
* Allow relative directories for `screenshot_path`, tweak default path (#9122)Hugo Locurcio2020-04-06
| | | | | | | This will likely be more intuitive for users and should play better with sandboxed distributions such as Flatpak. In addition, the screenshot directory will now be created if it doesn't exist already.
* Fix texture distortion for flowing liquids (#9561)Elias Åström2020-04-02
| | | | | | | | | Previously textures of the side faces on flowing liquid nodes would become distorted on different axis depending on the liquid level. This is because the nodes always had the same texture coordinates, even when the generated face could have different sizes. This solves that problem by adjusting the texture coordinates for the vertices making up the top of the faces, so the textures will not look compressed for smaller faces.
* Ignore near_plane setting on non-Android platforms (#8749)ANAND2020-03-28
| | | Camera's near-plane will be hard-coded to 0.1 on all non-Android platforms. The upper-bound of this setting has been reduced to 0.25, as 0.5 is just way too high.
* Fix crash on wielditem/item entitiessfan52020-03-28
| | | | bug was introduced in f3032a637c53f3c98fbbed1d3b691898aabe1687
* Fix incorrect light updates for wielditem and item visuals (#9540)Danila Shutov2020-03-23
| | | An alternative to #9537
* Add comments for translators (#9510)Wuzzy2020-03-20
| | | | | * Add translator comments for "special" strings * Add translator comments for some "tricky" strings
* Fix entity lighting (#9514)Danila Shutov2020-03-16
| | | fixes #9482
* Improve arm physics (#9485)Jean-Patrick Guerrero2020-03-08
|