aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-05-15Use --image-base instead of -Ttext-segment for lld linker on FreeBSD (#9367) ↵Dmitry Marakasov
(#11263)
2021-05-08Fix overlays for 2D-drawn itemssfan5
fixes #11248
2021-05-06Fix build for newer versions of GCC (#11246)lhofhansl
2021-05-06fix: extractZipFile is not part of Client but more generic.Loic Blot
This solve a crash from mainmenu while extracting the zip
2021-05-05Use Irrlicht functions to query npot texture supportsfan5
2021-05-03fix: some code tidy about includes & irr namespacesLoic Blot
2021-05-03refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot
2021-05-03fix: don't use RenderingEngine singleton when it's possibleLoic Blot
2021-05-03refacto: RenderingEngine::get_scene_manager() is now not callable from singletonLoic Blot
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)
2021-05-03refacto: Hud: make driver, client, player, inventory, tsrc private & drop ↵Loic Blot
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
2021-05-03refacto: drop unused Hud::smgrLoic Blot
2021-05-03refacto: don't use RenderingEngine singleton on CAOLoic Blot
* 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
2021-05-03refacto: protect some RenderingEngine::get_scene_managerLoic Blot
* protect it from Camera, Sky, ClientMap object calls * rename Game::sky to Game::m_sky
2021-05-03refacto: RenderingEngine is now better hiddenLoic Blot
* 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
2021-05-03refacto: hide mesh_cache inside the rendering engineLoic Blot
This permit cleaner access to meshCache and ensure we don't access to it from all the code
2021-05-03refacto: add RenderingEngine::cleanupMeshCacheLoic Blot
This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
2021-05-03refacto: rendering engine singleton removal step 1 (filesystem)Loic Blot
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
2021-05-03fix: drop old irrlicht <1.8 compat on Client::loadMediaLoic Blot
2021-04-23Add `minetest.colorspec_to_colorstring` (#10425)Vincent Robinson
2021-04-21Fix two CMake build issuessfan5
* PostgreSQL fallback code missed the includes (closes #11219) * build failed when Freetype enabled but not found
2021-04-20Look for PostgreSQL library properly and fix CIsfan5
2021-04-20Enable cleanTransparent filter for mipmapping and improve its' algorithm ↵sfan5
(#11145)
2021-04-20Put torch/signlike node on floor if no paramtype2 (#11074)Wuzzy
2021-04-20Add a key to toggle map block bounds (#11172)Seth Traverse
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.
2021-04-18GLES fixes (#11205)sfan5
* Consistently set float precision for GLES * Enable DPI scaling on Windows+GLES
2021-04-18Isolate library tables between sandbox and insecure envsfan5
2021-04-16Fix ignored OpenGLES2 include path and cmake warningsfan5
2021-04-13Attachments: Avoid data loss caused by set_attach() in callbacks (#11181)SmallJoker
2021-04-11Buildbot changes to allow out-of-tree builds (#11180)sfan5
* 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
2021-04-11Modifying fall damage via armor group (#11080)Wuzzy
Adds a new fall_damage_add_percent armor group which influences the fall damage in addition to the existing node group.
2021-04-09Fix server favorites not saving when client/serverlist/ doesn't exist ↵sfan5
already (#11152)
2021-04-09Don't reseed stars when changing star countWuzzy
2021-04-05Make edit boxes respond to string input (IME) (#11156)yw05
Make edit boxes respond to string input events (introduced in minetest/irrlicht#23) that are usually triggered by entering text with an IME.
2021-04-05Don't apply connection timeout limit to locally hosted serverssfan5
fixes #11085
2021-04-05Game: Scale damage flash to max HPSmallJoker
The flash intensity is calculated proportionally to the maximal HP.
2021-04-05Reserve vectors before pushing and other code quality changes (#11161)sfan5
2021-04-02CGUITTFont optimizations (#11136)sfan5
2021-04-02Sort out cURL timeouts and increase defaultsfan5
2021-03-31Irrlicht support code maintenancesfan5
2021-03-30Draw items as 2D images (instead of meshes) when possiblesfan5
2021-03-30Block & report player self-interaction (#11137)Lars Müller
2021-03-30Consistent title bar + render information in mainmenu (#10764)SmallJoker
2021-03-30Fix wield image of plantlike_rooted (#11067)Wuzzy
2021-03-30Degrotate support for mesh nodes (#7840)Vitaliy
2021-03-29Replace fallback font nonsense with automatic per-glyph fallback (#11084)sfan5
2021-03-26Drop irrUString from MT, it's owned by irrlicht nowLoic Blot
2021-03-23Fix attached-to-object sounds having a higher reference distanceDesour
2021-03-23Fix broken `BiomeGen` abstraction (#11107)sfan5
2021-03-21Fix segfault for model[] without animation speedJean-Patrick Guerrero
2021-03-21Restore minimal normal texture support (for minimap shading)Vitaliy