aboutsummaryrefslogtreecommitdiff
path: root/src/client (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix GLES2 discard behaviour (texture transparency)sfan52021-09-171-2/+6
|
* Readd TGA to the list of valid texture formats. (#11598)ROllerozxa2021-09-151-1/+1
|
* Make sure relevant std::stringstreams are set to binarysfan52021-09-112-5/+5
|
* Clean up/improve some scriptapi error handling codesfan52021-09-101-0/+4
|
* Dynamic_Add_Media v2 (#11550)sfan52021-09-094-76/+380
|
* Fix movement in random_input mode (#11592)NeroBurner2021-09-052-7/+41
|
* Joystick sensitivity for player movement (#11262)NeroBurner2021-08-276-65/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit deprecates the forward, backward, left, and right binary inputs currently used for player movement in the PlayerControl struct. In their place, it adds the movement_speed and movement_direction values, which represents the player movement is a polar coordinate system. movement_speed is a scalar from 0.0 to 1.0. movement_direction is an angle from 0 to +-Pi: FWD 0 _ LFT / \ RGT -Pi/2 | | +Pi/2 \_/ +-Pi BCK Boolean movement bits will still be set for server telegrams and Lua script invocations to provide full backward compatibility. When generating these values from an analog input, a direction is considered active when it is 22.5 degrees away from either orthogonal axis. Co-authored-by: Markus Koch <markus@notsyncing.net> Co-authored-by: sfan5 <sfan5@live.de>
* Fix 6th line of infotext being cut off in half (#11456)Wuzzy2021-08-231-3/+6
|
* Show status message when changing block bounds (#11556)Wuzzy2021-08-213-12/+30
|
* Fix scaled world-aligned textures being aligned inconsistently for ↵Wuzzy2021-08-191-7/+7
| | | | non-normal drawtypes
* Add fwgettext util functionrubenwardy2021-08-193-38/+16
|
* Fix inconsistent integer comparison warningsSmallJoker2021-08-171-1/+1
|
* Start sprite animation at the beginning (#11509)Lean Rada2021-08-161-0/+1
| | | When setting a sprite animation, do not keep the last animation's frame number. Setting a new animation should start the animation at the start of the new animation.
* Cap iterations of imageCleanTransparent sanelysfan52021-08-161-2/+7
| | | | fixes #11513 performance regression with 256x textures
* Fix segfault caused by shadow map on exitSmallJoker2021-08-121-3/+3
|
* Move updating shadows outside of RenderingCore::drawAll. (#11491)x20482021-08-127-66/+65
| | | | Fixes indirect rendering modes such as some 3D modes mentioned in #11437 and undersampled rendering. Does not fully fix anaglyph 3d mode.
* OpenAL: Free buffers on quitSmallJoker2021-08-031-0/+8
|
* Mods: Combine mod loading checks and deprection logging (#11503)SmallJoker2021-07-311-5/+1
| | | | This limits the logged deprecation messages to the mods that are loaded Unifies the mod naming convention check for CSM & SSM
* Remove unsupported extensions from list in tile.cpphecktest2021-07-291-6/+2
|
* Add bold, italic and monospace font styling for HUD text elements (#11478)sfan52021-07-273-18/+17
| | | Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
* Distribute shadow map update over multiple frames to reduce stutter (#11422)x20482021-07-257-62/+214
| | | | | | | | | | Reduces stutter and freezes when playing. * Maintains double SM and SM Color textures * Light frustum update triggers incremental generation of shadow map into secondary 'future' textures. * Every incremental update renders a portion of the shadow draw list (split equally). * After defined number of frames (currently, 4), 'future' and 'current' textures are swapped, and DirectionalLight 'commits' the new frustum to use when rendering shadows on screen. Co-authored-by: sfan5 <sfan5@live.de>
* Remove unused ITextSceneNode header (#11476)hecks2021-07-221-1/+0
| | | Co-authored-by: hecktest <>
* Remove unused header includeshecks2021-07-211-1/+0
|
* CSM: Do not index files within hidden directoriesSmallJoker2021-07-171-0/+3
| | | | CSM would previously scan for files within .git or .svn directories, and also special files such as .gitignore
* Add wallmounted support for plantlike and plantlike_rooted nodes (#11379)Wuzzy2021-07-152-3/+47
|
* Fix revoke debug privs not reliably turn off stuff (#11409)Wuzzy2021-07-121-6/+12
|
* Fix build on Ubuntu 16.04 and macOSsfan52021-07-121-6/+6
| | | | | | Apparently the C++ standard library is supposed to provide specializations of std::hash for enums (even in C++11) but those don't always work for whatever reason.
* Avoid draw list and shadow map update in the same frame to reduce dtime ↵x20482021-07-111-3/+14
| | | | | | | | | | jitter (#11393) * Separate draw list and shadows update to reduce jitter * Avoid draw list update and shadow update in the same frame * Force-update shadows when camera offset changes
* Improve shadow rendering with non-default camera FOV (#11385)x20482021-07-112-14/+19
| | | | | | | | | | | * Adjust minimum filter radius for perspective * Expand shadow frustum when camera FOV changes, reuse FOV distance adjustment from numeric.cpp * Read shadow_soft_radius setting as float * Use adaptive filter radius to accomodate for PSM distortion * Adjust filter radius for texture resolution
* Refactor video driver name retrieval (#11413)hecks2021-07-112-23/+13
| | | Co-authored-by: hecktest <>
* Remove unsupported video drivers (#11395)hecks2021-06-301-31/+23
| | | This completely removes any mention of the software and D3D drivers from MT, preventing the user from accidentally attempting to use them. Users who need a software renderer should be asked to install Mesa drivers which offer superior fidelity and performance over the 'burningsvideo' driver.
* Require 'basic_debug' priv to view gameplay-relevant debug info, require ↵Wuzzy2021-06-245-16/+71
| | | | | 'debug' priv to view wireframe (#9315) Fixes #7245.
* Perform some quality assurance for translation strings (#11375)Wuzzy2021-06-231-2/+2
|
* Drop --videomodes, fullscreen_bpp and high_precision_fpu settingssfan52021-06-164-85/+1
| | | | These have been pointless for a while.
* Shadow mapping render pass (#11244)Liso2021-06-0622-24/+1548
| | | Co-authored-by: x2048 <codeforsmile@gmail.com>
* fontengine: Fix crash loading PNG/XML fonts from paths without dotsfan52021-06-011-2/+3
| | | | fixes #11096
* Fix procession ordering issue in content_caosfan52021-05-301-12/+10
|
* Fix cloud fog being broken for high cloudsWuzzy2021-05-291-1/+1
|
* Fix client crash on when con::PeerNotFoundException is thrown (#11286)savilli2021-05-241-8/+8
|
* Fix overlays for 2D-drawn itemssfan52021-05-081-2/+7
| | | | fixes #11248
* fix: extractZipFile is not part of Client but more generic.Loic Blot2021-05-062-68/+0
| | | | This solve a crash from mainmenu while extracting the zip
* Use Irrlicht functions to query npot texture supportsfan52021-05-053-39/+5
|
* fix: some code tidy about includes & irr namespacesLoic Blot2021-05-0312-64/+56
|
* refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot2021-05-035-29/+21
|
* fix: don't use RenderingEngine singleton when it's possibleLoic Blot2021-05-031-5/+5
|
* refacto: RenderingEngine::get_scene_manager() is now not callable from singletonLoic Blot2021-05-039-20/+25
| | | | | | 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: Hud: make driver, client, player, inventory, tsrc private & drop ↵Loic Blot2021-05-033-13/+11
| | | | | | unused guienv also fix c_content.h, on client it includes the src/client/hud.h instead of src/hud.h, which leads to wrong file dependency on the lua stack
* refacto: drop unused Hud::smgrLoic Blot2021-05-031-1/+0
|
* refacto: don't use RenderingEngine singleton on CAOLoic Blot2021-05-034-21/+19
| | | | | | * we don't need on CAO side more than SceneManager, and temporary. Pass only required SceneManager as a parameter to build CAO and add them to the current scene * Use temporary the RenderingEngine singleton from ClientEnvironment, waitfor for better solution * Make ClientActiveObject::addToScene virtual function mandatory to be defined by children to ensure we don't forget to properly define it
* refacto: protect some RenderingEngine::get_scene_managerLoic Blot2021-05-038-52/+56
| | | | | * protect it from Camera, Sky, ClientMap object calls * rename Game::sky to Game::m_sky