Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | refacto: RenderingEngine::get_scene_manager() is now not callable from singleton | Loic Blot | 2021-05-03 | 9 | -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 Blot | 2021-05-03 | 3 | -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::smgr | Loic Blot | 2021-05-03 | 1 | -1/+0 | |
| | ||||||
* | refacto: don't use RenderingEngine singleton on CAO | Loic Blot | 2021-05-03 | 4 | -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_manager | Loic Blot | 2021-05-03 | 8 | -52/+56 | |
| | | | | | * 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 | 10 | -104/+91 | |
| | | | | | | | | | | * 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 | 4 | -32/+13 | |
| | | | | This permit cleaner access to meshCache and ensure we don't access to it from all the code | |||||
* | refacto: add RenderingEngine::cleanupMeshCache | Loic Blot | 2021-05-03 | 3 | -6/+11 | |
| | | | | This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine | |||||
* | refacto: rendering engine singleton removal step 1 (filesystem) | Loic Blot | 2021-05-03 | 4 | -15/+82 | |
| | | | | | | | | 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: drop old irrlicht <1.8 compat on Client::loadMedia | Loic Blot | 2021-05-03 | 1 | -7/+0 | |
| | ||||||
* | Enable cleanTransparent filter for mipmapping and improve its' algorithm ↵ | sfan5 | 2021-04-20 | 5 | -26/+100 | |
| | | | | (#11145) | |||||
* | Put torch/signlike node on floor if no paramtype2 (#11074) | Wuzzy | 2021-04-20 | 1 | -4/+6 | |
| | ||||||
* | Add a key to toggle map block bounds (#11172) | Seth Traverse | 2021-04-20 | 6 | -0/+64 | |
| | | | | 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. | |||||
* | GLES fixes (#11205) | sfan5 | 2021-04-18 | 2 | -5/+11 | |
| | | | | | * Consistently set float precision for GLES * Enable DPI scaling on Windows+GLES | |||||
* | Modifying fall damage via armor group (#11080) | Wuzzy | 2021-04-11 | 1 | -7/+19 | |
| | | | Adds a new fall_damage_add_percent armor group which influences the fall damage in addition to the existing node group. | |||||
* | Don't reseed stars when changing star count | Wuzzy | 2021-04-09 | 1 | -1/+2 | |
| | ||||||
* | 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 | 2 | -4/+10 | |
| | | | | The flash intensity is calculated proportionally to the maximal HP. | |||||
* | Reserve vectors before pushing and other code quality changes (#11161) | sfan5 | 2021-04-05 | 5 | -37/+38 | |
| | ||||||
* | Sort out cURL timeouts and increase default | sfan5 | 2021-04-02 | 2 | -7/+2 | |
| | ||||||
* | Irrlicht support code maintenance | sfan5 | 2021-03-31 | 6 | -40/+0 | |
| | ||||||
* | Draw items as 2D images (instead of meshes) when possible | sfan5 | 2021-03-30 | 1 | -14/+28 | |
| | ||||||
* | Consistent title bar + render information in mainmenu (#10764) | SmallJoker | 2021-03-30 | 1 | -0/+12 | |
| | ||||||
* | Fix wield image of plantlike_rooted (#11067) | Wuzzy | 2021-03-30 | 1 | -1/+9 | |
| | ||||||
* | Degrotate support for mesh nodes (#7840) | Vitaliy | 2021-03-30 | 2 | -5/+13 | |
| | ||||||
* | Replace fallback font nonsense with automatic per-glyph fallback (#11084) | sfan5 | 2021-03-29 | 2 | -54/+49 | |
| | ||||||
* | Fix attached-to-object sounds having a higher reference distance | Desour | 2021-03-23 | 1 | -2/+2 | |
| | ||||||
* | 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 | |
| | ||||||
* | GUIScene: Clear depth buffer + replace deprecated clearZBuffer calls | Jean-Patrick Guerrero | 2021-03-16 | 3 | -3/+3 | |
| | ||||||
* | Fix deprecated calls with Irrlicht 1.9 | Jean-Patrick Guerrero | 2021-03-16 | 3 | -7/+6 | |
| | ||||||
* | Enable Irrlicht debug logging with --trace | sfan5 | 2021-03-12 | 1 | -0/+2 | |
| | ||||||
* | Avoid unnecessary copies during media/mesh loading | sfan5 | 2021-03-12 | 1 | -3/+11 | |
| | ||||||
* | Handle mesh load failure without crashing | sfan5 | 2021-03-12 | 1 | -0/+2 | |
| | ||||||
* | Restore Irrlicht 1.9 support | sfan5 | 2021-03-09 | 3 | -2/+9 | |
| | ||||||
* | Use place_param2 client-side for item appearance & prediction (#11024) | sfan5 | 2021-03-09 | 2 | -29/+40 | |
| | ||||||
* | Clean up ClientEvent hudadd/hudchange internals | sfan5 | 2021-03-06 | 2 | -110/+68 | |
| | ||||||
* | Pause animations while game is paused (#10658) | Vitaliy | 2021-03-05 | 1 | -0/+40 | |
| | | | Pauses all mesh animations while game is paused. | |||||
* | Keep mapblocks in memory if they're in range (#10714) | hecks | 2021-02-26 | 1 | -21/+24 | |
| | | | Some other minor parts of clientmap.cpp have been cleaned up along the way | |||||
* | Fix hud_change and hud_remove after hud_add (#10997) | savilli | 2021-02-26 | 2 | -17/+21 | |
| | ||||||
* | Use "Aux1" key name consistently everywhere | Wuzzy | 2021-02-24 | 4 | -8/+8 | |
| | ||||||
* | Fix keyWasDown in input handler | sfan5 | 2021-02-23 | 2 | -9/+4 | |
| | | | | This was changed 291a6b70d674d9003f522b5875a60f7e2753e32b but should have never been done. | |||||
* | Minimap: Fix default label translations | SmallJoker | 2021-02-22 | 1 | -5/+6 | |
| | ||||||
* | Fix world-aligned node rendering at bottom (#10742) | Wuzzy | 2021-02-19 | 1 | -3/+3 | |
| | ||||||
* | Add nametag background setting and object property (#10937) | rubenwardy | 2021-02-17 | 3 | -38/+54 | |
| | ||||||
* | Fix segfault with invalid texture strings and minimap enabled | sfan5 | 2021-02-14 | 1 | -0/+5 | |
| | | | | closes #10949 | |||||
* | Pause menu: Fix segfault on u/down key input | Jean-Patrick Guerrero | 2021-02-08 | 1 | -7/+1 | |
| | ||||||
* | Fall back to default when rendering mode (3d_mode) is set invalid (#10922) | Muhammad Rifqi Priyo Susanto | 2021-02-06 | 1 | -2/+5 | |
| | ||||||
* | Fix memory leak detected by address sanitizer (#10896) | k.h.lai | 2021-02-02 | 1 | -1/+1 | |
| | ||||||
* | Drop wide/narrow conversion functions | sfan5 | 2021-02-02 | 2 | -3/+4 | |
| | | | | | | | | | The only valid usecase for these is interfacing with OS APIs that want a locale/OS-specific multibyte encoding. But they weren't used for that anywhere, instead UTF-8 is pretty much assumed when it comes to that. Since these are only a potential source of bugs and do not fulfil their purpose at all, drop them entirely. |