Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | fix: don't use RenderingEngine singleton when it's possible | Loic Blot | 2021-05-03 |
| | |||
* | refacto: RenderingEngine::get_scene_manager() is now not callable from singleton | Loic Blot | 2021-05-03 |
| | | | | | | 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 |
| | | | | | | 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 |
| | |||
* | refacto: don't use RenderingEngine singleton on CAO | Loic Blot | 2021-05-03 |
| | | | | | | * 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 |
| | | | | | * 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 |
| | | | | | | | | | | * 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 |
| | | | | 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 |
| | | | | 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 |
| | | | | | | | | 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 |
| | |||
* | Add `minetest.colorspec_to_colorstring` (#10425) | Vincent Robinson | 2021-04-23 |
| | |||
* | Fix two CMake build issues | sfan5 | 2021-04-21 |
| | | | | | * PostgreSQL fallback code missed the includes (closes #11219) * build failed when Freetype enabled but not found | ||
* | Look for PostgreSQL library properly and fix CI | sfan5 | 2021-04-20 |
| | |||
* | Enable cleanTransparent filter for mipmapping and improve its' algorithm ↵ | sfan5 | 2021-04-20 |
| | | | | (#11145) | ||
* | Put torch/signlike node on floor if no paramtype2 (#11074) | Wuzzy | 2021-04-20 |
| | |||
* | Add a key to toggle map block bounds (#11172) | Seth Traverse | 2021-04-20 |
| | | | | 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 |
| | | | | | * Consistently set float precision for GLES * Enable DPI scaling on Windows+GLES | ||
* | Isolate library tables between sandbox and insecure env | sfan5 | 2021-04-18 |
| | |||
* | Fix ignored OpenGLES2 include path and cmake warning | sfan5 | 2021-04-16 |
| | |||
* | Attachments: Avoid data loss caused by set_attach() in callbacks (#11181) | SmallJoker | 2021-04-13 |
| | |||
* | Buildbot changes to allow out-of-tree builds (#11180) | sfan5 | 2021-04-11 |
| | | | | | | | * Do proper out-of-tree builds with buildbot * Don't write to bin/ for cross builds * This allows safely building multiple builds from the same source dir, e.g. with the buildbot. * Disable Gettext (by default) and Freetype (entirely) for server builds | ||
* | Modifying fall damage via armor group (#11080) | Wuzzy | 2021-04-11 |
| | | | Adds a new fall_damage_add_percent armor group which influences the fall damage in addition to the existing node group. | ||
* | Fix server favorites not saving when client/serverlist/ doesn't exist ↵ | sfan5 | 2021-04-09 |
| | | | | already (#11152) | ||
* | Don't reseed stars when changing star count | Wuzzy | 2021-04-09 |
| | |||
* | Make edit boxes respond to string input (IME) (#11156) | yw05 | 2021-04-05 |
| | | | Make edit boxes respond to string input events (introduced in minetest/irrlicht#23) that are usually triggered by entering text with an IME. | ||
* | Don't apply connection timeout limit to locally hosted servers | sfan5 | 2021-04-05 |
| | | | | fixes #11085 | ||
* | Game: Scale damage flash to max HP | SmallJoker | 2021-04-05 |
| | | | | The flash intensity is calculated proportionally to the maximal HP. | ||
* | Reserve vectors before pushing and other code quality changes (#11161) | sfan5 | 2021-04-05 |
| | |||
* | CGUITTFont optimizations (#11136) | sfan5 | 2021-04-02 |
| | |||
* | Sort out cURL timeouts and increase default | sfan5 | 2021-04-02 |
| | |||
* | Irrlicht support code maintenance | sfan5 | 2021-03-31 |
| | |||
* | Draw items as 2D images (instead of meshes) when possible | sfan5 | 2021-03-30 |
| | |||
* | Block & report player self-interaction (#11137) | Lars Müller | 2021-03-30 |
| | |||
* | Consistent title bar + render information in mainmenu (#10764) | SmallJoker | 2021-03-30 |
| | |||
* | Fix wield image of plantlike_rooted (#11067) | Wuzzy | 2021-03-30 |
| | |||
* | Degrotate support for mesh nodes (#7840) | Vitaliy | 2021-03-30 |
| | |||
* | Replace fallback font nonsense with automatic per-glyph fallback (#11084) | sfan5 | 2021-03-29 |
| | |||
* | Drop irrUString from MT, it's owned by irrlicht now | Loic Blot | 2021-03-26 |
| | |||
* | Fix attached-to-object sounds having a higher reference distance | Desour | 2021-03-23 |
| | |||
* | Fix broken `BiomeGen` abstraction (#11107) | sfan5 | 2021-03-23 |
| | |||
* | Fix segfault for model[] without animation speed | Jean-Patrick Guerrero | 2021-03-21 |
| | |||
* | Restore minimal normal texture support (for minimap shading) | Vitaliy | 2021-03-21 |
| | |||
* | Serialize tool capabilities JSON without whitespace | sfan5 | 2021-03-20 |
| | | | | fixes #11087 | ||
* | Schematic: Properly deal with before/after node resolving and document (#11011) | SmallJoker | 2021-03-20 |
| | | | | This fixes an out-of-bounds index access when the node resolver was already applied to the schematic (i.e. biome decoration). Also improves the handling of the two cases: prior node resolving (m_nodenames), and after node resolving (manual lookup) | ||
* | Check for duplicate login in TOSERVER_INIT handler (#11017) | Elias Fleckenstein | 2021-03-19 |
| | | | i.e. checks for duplicate logins before sending all media data to the client. | ||
* | Scale mouse/joystick sensitivity depending on FOV (#11007) | Elias Åström | 2021-03-19 |
| | |||
* | Drop old text input workarounds (#11089) | sfan5 | 2021-03-19 |
| | | | | | * Drop unused intlGUIEditBox * Drop unnecessary Linux text input workarounds | ||
* | GUIScene: Clear depth buffer + replace deprecated clearZBuffer calls | Jean-Patrick Guerrero | 2021-03-16 |
| | |||
* | Fix deprecated calls with Irrlicht 1.9 | Jean-Patrick Guerrero | 2021-03-16 |
| |