aboutsummaryrefslogtreecommitdiff
path: root/src/client
AgeCommit message (Collapse)Author
2020-05-20Cache liquid alternative IDs (#8053)Vitaliy
2020-05-20Stop wasting memory on identical textures when texture filtering is disabledsfan5
2020-05-19Add ability to scale HUD text (#9814)LoneWolfHT
Add 'size' property to HUD text elements that is used for relative font size calculations.
2020-05-17content_mapblock: Move static initialization out of functionssfan5
2020-05-17Client: Add sum and average to packetcountersfan5
2020-05-16Make automatic_rotate relative, allow setting rotation (#8468)ANAND
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>
2020-05-14CSM: Bugfixes to camera:get_pos() and camera:get_fov()sfan5
closes #9857
2020-05-14Add chat_log_level setting (#9223)SmallJoker
Log all higher levels in LogOutputBuffer Move StreamLogOutput::logRaw to source file like LogOutputBuffer::logRaw for compiling speed
2020-05-11Damage texture modifier (#9833)Lars Müller
Adds a new object property "damage_texture_modifier"
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-09Color gradient for default and 'regular' type sky (#9502)TheTermos
* add regular sky gradient * add regular sky gradient * Update sky.cpp * change default day sky colors
2020-05-07Server class code cleanups (#9769)Loïc Blot
* 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.
2020-05-06Get rid of non-ascii characters in the debug display code (#8821)Jozef Behran
2020-05-05Fix broken client if openal cannot be opened (#9804)Loïc Blot
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-26Fix UpdateBonePosition() breaking animations (#9577)theviper121
2020-04-25mapblock_mesh: Optimize a few things (#9713)sfan5
2020-04-25Ensure game is shutdown if server throws exception (#9742)Paul Ouellette
2020-04-25Add server side translations capability (#9733)EvidenceB Kidscode
* Add server side translations capability
2020-04-23Camera: Fix shootline line offsets II (#9730)SmallJoker
2020-04-22Android: add OpenGL ES 2 support (#9715)Maksim
.. and bump gradle to 3.6.3
2020-04-19Reuse object_shader for "wielditem" and "item" entity drawtypes (#9537)Danila Shutov
2020-04-16Camera: Fix shooting line offsets (#9681)SmallJoker
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.
2020-04-14Refactor texture overrides and add new features (#9600)Hugues Ross
* 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>
2020-04-13Remove sound menu and show proper msgs if sound is off (#9069)Wuzzy
2020-04-12Play 'player_jump' when player jumps (#9373)Wuzzy
2020-04-11Improve waypoints and add image variant (#9480)Lars Müller
2020-04-11Formspecs: Add state-selection to style elements (#9378)Hugues Ross
2020-04-11Implement DPI scaling for Windows (#9586)sfan5
2020-04-11Use TILE_MATERIAL_ALPHA for use_texture_alpha entity flag (#9639)Alex
Fixes #9637.
2020-04-11A few initialization cleanupssfan5
2020-04-10Move clientsimpleobject.h to client folder (#9630)Loïc Blot
This file is only called from client folder, retrieve its friends :)
2020-04-10Drop genericobject.{cpp,h} (#9629)Loïc Blot
* 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
2020-04-08Collision various fixes (#9343)TheTermos
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-04-06Allow relative directories for `screenshot_path`, tweak default path (#9122)Hugo Locurcio
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.
2020-04-02Fix texture distortion for flowing liquids (#9561)Elias Åström
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.
2020-03-28Ignore near_plane setting on non-Android platforms (#8749)ANAND
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.
2020-03-28Fix crash on wielditem/item entitiessfan5
bug was introduced in f3032a637c53f3c98fbbed1d3b691898aabe1687
2020-03-23Fix incorrect light updates for wielditem and item visuals (#9540)Danila Shutov
An alternative to #9537
2020-03-20Add comments for translators (#9510)Wuzzy
* Add translator comments for "special" strings * Add translator comments for some "tricky" strings
2020-03-16Fix entity lighting (#9514)Danila Shutov
fixes #9482
2020-03-08Improve arm physics (#9485)Jean-Patrick Guerrero
2020-03-08Fix star visilibity and documentation (since 946c03c6)Jordan Snelling
Fix memory leak (unused allocation) Fix star rendering Rename sky color struct Fix stars on android Remove extraneous .data() from android star draw
2020-03-05set_sky improvements, set_sun, set_moon and set_starsJordach
2020-02-26Allow texture modifiers in hotbar textures. (#9271)Warr1024
2020-02-16Basic model shading (#9374)Danila Shutov
2020-02-01StaticText: Reset background on EnrichedString change (#9340)SmallJoker
This also fixes the F6 profiler background color -> now controlled by EnrichedString
2020-02-01Improve core.sound_play with ephemeral sounds and player exclusionsfan5