| Commit message (Collapse) | Author | Age |
|
|
| |
Co-authored-by: hecktest <>
|
|
|
|
|
| |
when minetest.remove_detached_inventory is called on script init, the environment is yet not set up,
hence m_env is still nullptr until all scripts are loaded
|
|
|
|
|
|
|
|
|
| |
Add API for mods to hook liquid transformation events
Without this API, there is no reliable way for mods to be
notified when liquid transform modifies nodes and mods are
forced to poll for changes. This allows mods to detect
changes to flowing liquid nodes and liquid renewal using
event-driven logic.
|
| |
|
|
|
| |
This completely removes any mention of the software and D3D drivers from MT, preventing the user from accidentally attempting to use them. Users who need a software renderer should be asked to install Mesa drivers which offer superior fidelity and performance over the 'burningsvideo' driver.
|
|
|
|
| |
Fixes list clearing for inv:set_list() using same size, since 2db6b07.
addList() now clears the list in all cases. Use setSize() to resize without clearing.
|
|
|
|
|
| |
'debug' priv to view wireframe (#9315)
Fixes #7245.
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
This check can be used by ABM to reduce CPU usage.
|
|
|
| |
If enabled in minetest.conf, provides colored, clickable (middle-mouse or ctrl-left-mouse) weblinks in chat output, to open the OS' default web browser.
|
| |
|
|
|
|
| |
These have been pointless for a while.
|
|
|
| |
Co-authored-by: x2048 <codeforsmile@gmail.com>
|
|
|
| |
Add backwards-compatible metatable functions for vectors.
|
|
|
|
| |
fixes #11096
|
|
|
| |
Makes it possible to check the status of the mapblock in a future-extensible way.
|
|
|
| |
Implement proper padding character checks
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(#11263)
|
|
|
|
| |
fixes #11248
|
| |
|
|
|
|
| |
This solve a crash from mainmenu while extracting the zip
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* protect it from Camera, Sky, ClientMap object calls
* rename Game::sky to Game::m_sky
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
This permit cleaner access to meshCache and ensure we don't access to it from all the code
|
|
|
|
| |
This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
| |
* PostgreSQL fallback code missed the includes (closes #11219)
* build failed when Freetype enabled but not found
|
| |
|