aboutsummaryrefslogtreecommitdiff
path: root/src/script
AgeCommit message (Collapse)Author
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-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: 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: 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-04-23Add `minetest.colorspec_to_colorstring` (#10425)Vincent Robinson
2021-04-18Isolate library tables between sandbox and insecure envsfan5
2021-04-09Fix server favorites not saving when client/serverlist/ doesn't exist ↵sfan5
already (#11152)
2021-03-30Consistent title bar + render information in mainmenu (#10764)SmallJoker
2021-03-30Degrotate support for mesh nodes (#7840)Vitaliy
2021-03-26Merge branch 'master' of https://github.com/minetest/minetestElias Fleckenstein
2021-03-26Add ClientObjectRef:removeElias Fleckenstein
2021-03-23Fix broken `BiomeGen` abstraction (#11107)sfan5
2021-03-20Schematic: Properly deal with before/after node resolving and document (#11011)SmallJoker
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)
2021-03-11Merge branch 'master' of https://github.com/EliasFleckenstein03/dragonfireclientElias Fleckenstein
2021-03-11Add noise to client CSM APIElias Fleckenstein
2021-03-10Merge branch 'master' of https://github.com/EliasFleckenstein03/dragonfireclientElias Fleckenstein
2021-03-10Update .wielded command to output the entire itemstring; add ↵Elias Fleckenstein
LocalPlayer:get_hotbar_size
2021-03-10Merge branch 'master' of https://github.com/EliasFleckenstein03/dragonfireclientElias Fleckenstein
2021-03-10CSM: Use server-like (and safe) HTTP API instead of Mainmenu-likeElias Fleckenstein
2021-03-09Use place_param2 client-side for item appearance & prediction (#11024)sfan5
2021-03-04Protect mg_name and mg_flags from being set by Lua (#11010)sfan5
2021-03-01Settings: Push groups in to_table as wellSmallJoker
2021-02-18Port formspec API from waspsalivaElias Fleckenstein
This API is inofficial and undocumented; invalid usage causes the game to crash. Use at own risk!
2021-02-18Forcefully place items when minetest.place_node is usedElias Fleckenstein
2021-02-17Add nametag background setting and object property (#10937)rubenwardy
2021-02-17Fix short_description fallback order (#10943)rubenwardy
2021-02-12Attempt to fix SEGFAULT in push_inventoryElias Fleckenstein
2021-02-10Merge branch 'master' of https://github.com/minetest/minetestElias Fleckenstein
2021-02-07Use consistent temp folder path (#10892)rubenwardy
2021-02-06Reduce ore noise_parms error to deprecation warning (#10921)rubenwardy
Fixes #10914
2021-02-02Drop wide/narrow conversion functionssfan5
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.
2021-02-01Revise dynamic_add_media API to better accomodate future changessfan5
2021-01-31Preserve immortal group for players when damage is disabledsfan5
2021-01-31Cache client IP in RemoteClient so it can always be retrieved (#10887)sfan5
specifically: after the peer has already disappeared
2021-01-31Fix minetest.dig_node returning true when node isn't diggable (#10890)rubenwardy
2021-01-29Rework use_texture_alpha to provide three opaque/clip/blend modessfan5
The change that turns nodeboxes and meshes opaque when possible is kept, as is the compatibility code that warns modders to adjust their nodedefs.
2021-01-29Drop never documented 'alpha' property from nodedefsfan5
Includes minimal support code for practical reasons. We'll need it for a slightly different purpose next commit.
2021-01-29Settings: Purge getDefault, clean FontEngineSmallJoker
2021-01-29Settings: Proper priority hierarchySmallJoker
Remove old defaults system Introduce priority-based fallback list Use new functions for map_meta special functions Change groups to use end tags Unittest changes: * Adapt unittest to the new code * Compare Settings objects
2021-01-22Remove dead code (#10845)rubenwardy
2021-01-22Use JSON for favorites, move server list code to Lua (#10085)rubenwardy
Co-authored-by: sfan5 <sfan5@live.de>
2021-01-21MgOre: Fix invalid field polymorphism (#10846)rubenwardy
2021-01-21Removed some obsolete code (#10562)Zughy
Co-authored-by: Zughy <4279489-marco_a@users.noreply.gitlab.com>
2021-01-21ObjectRef: fix some v3f checks (#10602)Zughy
2021-01-11Implement on_rightclickplayer callback (#10775)JDiaz
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2021-01-07Fix line containing only whitespaceElias Fleckenstein
2021-01-07Merge branch 'master' of https://github.com/minetest/minetestElias Fleckenstein
2021-01-07Add minetest.interactElias Fleckenstein
2021-01-07Add minetest.registered_items and minetest.registered_nodes (Doesn't do ↵Elias Fleckenstein
anything yet)