aboutsummaryrefslogtreecommitdiff
path: root/src/convert_json.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-05-03refacto: remove get_gui_env & draw_load_screen from RenderingEngine singletonLoic Blot11-46/+38
2021-05-03fix: don't use RenderingEngine singleton when it's possibleLoic Blot1-5/+5
2021-05-03refacto: RenderingEngine::get_scene_manager() is now not callable from singletonLoic Blot11-23/+28
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 Blot4-14/+12
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 Blot1-1/+0
2021-05-03refacto: don't use RenderingEngine singleton on CAOLoic Blot5-21/+20
* 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 Blot8-52/+56
* protect it from Camera, Sky, ClientMap object calls * rename Game::sky to Game::m_sky
2021-05-03refacto: RenderingEngine is now better hiddenLoic Blot14-121/+112
* 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 Blot4-32/+13
This permit cleaner access to meshCache and ensure we don't access to it from all the code
2021-05-03refacto: add RenderingEngine::cleanupMeshCacheLoic Blot3-6/+11
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 Blot5-86/+84
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 Blot1-7/+0
2021-04-28Fix Windows pipelines on Gitlab-CIsfan51-4/+4
2021-04-28Fix rotation for falling mesh degrotate nodes (#11159)Wuzzy3-9/+20
2021-04-28Add helpful error messages if Irrlicht library / include dir are set ↵sfan51-3/+17
incorrectly (#11232)
2021-04-27Update library versions in buildbot (#11229)sfan52-94/+76
2021-04-23Rename “Irrlicht” to “IrrlichtMt” in documentationWuzzy5-9/+10
2021-04-23Add `minetest.colorspec_to_colorstring` (#10425)Vincent Robinson5-225/+233
2021-04-21Fix two CMake build issuessfan52-1/+2
* PostgreSQL fallback code missed the includes (closes #11219) * build failed when Freetype enabled but not found
2021-04-21Fix devtest Lua errorsfan51-1/+0
fallback_image() was removed in 3e1904fa8c4aae3448d58b7e60545a4fdd8234f3, which was written after this PR but merged before it.
2021-04-20Look for PostgreSQL library properly and fix CIsfan53-4/+12
2021-04-20Enable cleanTransparent filter for mipmapping and improve its' algorithm ↵sfan56-32/+105
(#11145)
2021-04-20Put torch/signlike node on floor if no paramtype2 (#11074)Wuzzy5-27/+43
2021-04-20Add a key to toggle map block bounds (#11172)Seth Traverse8-33/+100
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)sfan52-5/+11
* Consistently set float precision for GLES * Enable DPI scaling on Windows+GLES
2021-04-18Isolate library tables between sandbox and insecure envsfan51-1/+43
2021-04-16Fix ignored OpenGLES2 include path and cmake warningsfan52-2/+5
2021-04-13Also return the ObjectRef from minetest.spawn_falling_node() (#11184)benrob03292-2/+2
2021-04-13Attachments: Avoid data loss caused by set_attach() in callbacks (#11181)SmallJoker1-3/+8
2021-04-11Buildbot changes to allow out-of-tree builds (#11180)sfan53-45/+47
* 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)Wuzzy2-9/+32
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 ↵sfan53-13/+18
already (#11152)
2021-04-09Update German builtin translationWuzzy1-27/+19
2021-04-09Update builtin locale filesWuzzy3-16/+78
2021-04-09Don't reseed stars when changing star countWuzzy1-1/+2
2021-04-09Update Android build configsfan51-14/+1
2021-04-05Make edit boxes respond to string input (IME) (#11156)yw054-28/+52
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-05Add vector.to_string and vector.from_string (#10323)DS3-0/+45
Writing vectors as strings is very common and should belong to `vector.*`. `minetest.pos_to_string` is also too long to write, implies that one should only use it for positions and leaves no spaces after the commas.
2021-04-05Don't apply connection timeout limit to locally hosted serverssfan51-1/+1
fixes #11085
2021-04-05Game: Scale damage flash to max HPSmallJoker2-4/+10
The flash intensity is calculated proportionally to the maximal HP.
2021-04-05Reserve vectors before pushing and other code quality changes (#11161)sfan520-108/+106
2021-04-05Devtest: Remove testnodes_show_fallback_imageWuzzy3-29/+0
2021-04-02fix(ci): ensure we build on docker only modificationsLoic Blot1-0/+4
2021-04-02fix(docker): reduce the number of required libraries on buildLoic Blot1-9/+2
2021-04-02fix: use irrlicht fork instead of the standard libraryLoic Blot1-2/+11
2021-04-02fix: don't send the whole local context to the docker imageLoic Blot2-1/+5
2021-04-02CGUITTFont optimizations (#11136)sfan54-23/+27
2021-04-02Sort out cURL timeouts and increase defaultsfan58-73/+18
2021-04-02Add `math.round` and fix `vector.round` (#10803)Vincent Robinson4-4/+16
2021-03-31Irrlicht support code maintenancesfan511-79/+5