Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of `basic_debug` last minute | sfan5 | 2022-01-30 | 1 | -10/+8 |
| | | | This isn't a revert but rather just disables the codepaths. also see #12011 | ||||
* | Rework drawtime and related timekeeping code to use microseconds | sfan5 | 2022-01-27 | 1 | -73/+80 |
| | |||||
* | Automatically migrate client mod storage (#11960) | Jude Melton-Houghton | 2022-01-27 | 1 | -5/+12 |
| | |||||
* | Fix consistency of sky sun/moon texture behaviour | sfan5 | 2022-01-22 | 1 | -1/+1 |
| | | | | Also cleans up related code somewhat. | ||||
* | Restore pass-through of direction keys (#11924) | sfan5 | 2022-01-09 | 1 | -32/+4 |
| | | | This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable. | ||||
* | Socket-related cleanups | sfan5 | 2021-12-29 | 1 | -1/+0 |
| | | | Improve error handling on Windows and reduce the size of the `Address` class | ||||
* | Disable inventory if player's inventory formspec is blank (#11827) | ROllerozxa | 2021-12-13 | 1 | -7/+14 |
| | |||||
* | Remove creative/damage info in Esc/Pause menu | Wuzzy | 2021-12-13 | 1 | -8/+10 |
| | |||||
* | Fix various code & correctness issues (#11815) | sfan5 | 2021-12-05 | 1 | -1/+1 |
| | |||||
* | Localize error messages in mainmenu (#11495) | Riceball LEE | 2021-11-01 | 1 | -20/+17 |
| | | | | Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: rubenwardy <rw@rubenwardy.com> | ||||
* | Fix number of tool uses being off by 1..32767 (#11110) | Wuzzy | 2021-10-31 | 1 | -1/+2 |
| | |||||
* | Add no_texture.png as fallback for unspecified textures | Wuzzy | 2021-10-20 | 1 | -3/+2 |
| | |||||
* | Order drawlist by distance to the camera when rendering (#11651) | x2048 | 2021-09-27 | 1 | -2/+2 |
| | |||||
* | Touch UI support for desktop builds (#10729) | TheBrokenRail | 2021-09-26 | 1 | -9/+12 |
| | |||||
* | Fix client-side performance of chat UI (#11612) | DS | 2021-09-19 | 1 | -7/+13 |
| | |||||
* | Make sure relevant std::stringstreams are set to binary | sfan5 | 2021-09-11 | 1 | -1/+1 |
| | |||||
* | Joystick sensitivity for player movement (#11262) | NeroBurner | 2021-08-27 | 1 | -37/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | Show status message when changing block bounds (#11556) | Wuzzy | 2021-08-21 | 1 | -1/+18 |
| | |||||
* | Add fwgettext util function | rubenwardy | 2021-08-19 | 1 | -31/+12 |
| | |||||
* | Add bold, italic and monospace font styling for HUD text elements (#11478) | sfan5 | 2021-07-27 | 1 | -0/+3 |
| | | | Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de> | ||||
* | Distribute shadow map update over multiple frames to reduce stutter (#11422) | x2048 | 2021-07-25 | 1 | -14/+3 |
| | | | | | | | | | | 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> | ||||
* | Fix revoke debug privs not reliably turn off stuff (#11409) | Wuzzy | 2021-07-12 | 1 | -6/+12 |
| | |||||
* | Avoid draw list and shadow map update in the same frame to reduce dtime ↵ | x2048 | 2021-07-11 | 1 | -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 | ||||
* | Require 'basic_debug' priv to view gameplay-relevant debug info, require ↵ | Wuzzy | 2021-06-24 | 1 | -8/+51 |
| | | | | | 'debug' priv to view wireframe (#9315) Fixes #7245. | ||||
* | Shadow mapping render pass (#11244) | Liso | 2021-06-06 | 1 | -1/+36 |
| | | | Co-authored-by: x2048 <codeforsmile@gmail.com> | ||||
* | fix: some code tidy about includes & irr namespaces | Loic Blot | 2021-05-03 | 1 | -39/+39 |
| | |||||
* | refacto: remove get_gui_env & draw_load_screen from RenderingEngine singleton | Loic Blot | 2021-05-03 | 1 | -12/+12 |
| | |||||
* | refacto: Hud: make driver, client, player, inventory, tsrc private & drop ↵ | Loic Blot | 2021-05-03 | 1 | -1/+1 |
| | | | | | | 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: protect some RenderingEngine::get_scene_manager | Loic Blot | 2021-05-03 | 1 | -41/+42 |
| | | | | | * protect it from Camera, Sky, ClientMap object calls * rename Game::sky to Game::m_sky | ||||
* | refacto: RenderingEngine is now better hidden | Loic Blot | 2021-05-03 | 1 | -25/+29 |
| | | | | | | | | | | * No more access to the singleton instance from everywhere (RenderingEngine::get_instance dropped) * RenderingEngine::get_timer_time is now non static * RenderingEngine::draw_menu_scene is now non static * RenderingEngine::draw_scene is now non static * RenderingEngine::{initialize,finalize} are now non static * RenderingEngine::run is now non static * RenderingEngine::getWindowSize now have a static helper. It was mandatory to hide the global get_instance access | ||||
* | refacto: hide mesh_cache inside the rendering engine | Loic Blot | 2021-05-03 | 1 | -24/+1 |
| | | | | This permit cleaner access to meshCache and ensure we don't access to it from all the code | ||||
* | refacto: rendering engine singleton removal step 1 (filesystem) | Loic Blot | 2021-05-03 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | Add a key to toggle map block bounds (#11172) | Seth Traverse | 2021-04-20 | 1 | -0/+2 |
| | | | | It's often useful to know where the map block boundaries are for doing server admin work and the like. Adds three modes: single mapblock, range of 5, and disabled. | ||||
* | Don't apply connection timeout limit to locally hosted servers | sfan5 | 2021-04-05 | 1 | -1/+1 |
| | | | | fixes #11085 | ||||
* | Game: Scale damage flash to max HP | SmallJoker | 2021-04-05 | 1 | -4/+8 |
| | | | | The flash intensity is calculated proportionally to the maximal HP. | ||||
* | Irrlicht support code maintenance | sfan5 | 2021-03-31 | 1 | -23/+0 |
| | |||||
* | Consistent title bar + render information in mainmenu (#10764) | SmallJoker | 2021-03-30 | 1 | -0/+12 |
| | |||||
* | Restore minimal normal texture support (for minimap shading) | Vitaliy | 2021-03-21 | 1 | -1/+4 |
| | |||||
* | Scale mouse/joystick sensitivity depending on FOV (#11007) | Elias Åström | 2021-03-19 | 1 | -4/+19 |
| | |||||
* | Use place_param2 client-side for item appearance & prediction (#11024) | sfan5 | 2021-03-09 | 1 | -18/+18 |
| | |||||
* | Clean up ClientEvent hudadd/hudchange internals | sfan5 | 2021-03-06 | 1 | -82/+41 |
| | |||||
* | Pause animations while game is paused (#10658) | Vitaliy | 2021-03-05 | 1 | -0/+40 |
| | | | Pauses all mesh animations while game is paused. | ||||
* | Fix hud_change and hud_remove after hud_add (#10997) | savilli | 2021-02-26 | 1 | -9/+21 |
| | |||||
* | Use "Aux1" key name consistently everywhere | Wuzzy | 2021-02-24 | 1 | -2/+2 |
| | |||||
* | Pause menu: Fix segfault on u/down key input | Jean-Patrick Guerrero | 2021-02-08 | 1 | -7/+1 |
| | |||||
* | Fix some minor code issues all over the place | sfan5 | 2020-12-24 | 1 | -31/+5 |
| | |||||
* | Fix some more joystick issues (#10624) | Markus | 2020-12-19 | 1 | -2/+2 |
| | |||||
* | Cleanup shader generation code (#10663) | Vitaliy | 2020-12-19 | 1 | -5/+1 |
| | | | Shader generation is a mess. This commit cleans some parts up, including dropping remains of HLSL support which was never actually implemented. | ||||
* | Input: Fix on_rightclick called when placing into air | SmallJoker | 2020-11-29 | 1 | -0/+3 |
| | |||||
* | Sky: support GLES2 | numzero | 2020-11-26 | 1 | -1/+7 |
| | | | | IrrLicht built-in shader is broken, have to write my own |