]>
git.lizzy.rs Git - minetest.git/log
Wuzzy [Thu, 6 May 2021 17:24:11 +0000 (17:24 +0000)]
Improve liquid documentation (#11158)
Loic Blot [Thu, 6 May 2021 07:02:11 +0000 (09:02 +0200)]
fix: extractZipFile is not part of Client but more generic.
This solve a crash from mainmenu while extracting the zip
sfan5 [Wed, 21 Apr 2021 16:21:12 +0000 (18:21 +0200)]
Add basic client-server test to CI
sfan5 [Wed, 21 Apr 2021 16:52:14 +0000 (18:52 +0200)]
Use Irrlicht functions to query npot texture support
Loic Blot [Mon, 3 May 2021 08:27:00 +0000 (10:27 +0200)]
fix: some code tidy about includes & irr namespaces
Loic Blot [Thu, 29 Apr 2021 18:38:35 +0000 (20:38 +0200)]
refacto: remove get_gui_env & draw_load_screen from RenderingEngine singleton
Loic Blot [Thu, 29 Apr 2021 07:45:49 +0000 (09:45 +0200)]
fix: don't use RenderingEngine singleton when it's possible
Loic Blot [Thu, 29 Apr 2021 07:40:56 +0000 (09:40 +0200)]
refacto: RenderingEngine::get_scene_manager() is now not callable from singleton
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)
Loic Blot [Thu, 29 Apr 2021 07:30:19 +0000 (09:30 +0200)]
refacto: Hud: make driver, client, player, inventory, tsrc private & drop 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
Loic Blot [Thu, 29 Apr 2021 07:20:01 +0000 (09:20 +0200)]
refacto: drop unused Hud::smgr
Loic Blot [Thu, 29 Apr 2021 07:07:36 +0000 (09:07 +0200)]
refacto: don't use RenderingEngine singleton on CAO
* 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
Loic Blot [Thu, 29 Apr 2021 06:51:17 +0000 (08:51 +0200)]
refacto: protect some RenderingEngine::get_scene_manager
* protect it from Camera, Sky, ClientMap object calls
* rename Game::sky to Game::m_sky
Loic Blot [Wed, 28 Apr 2021 10:48:13 +0000 (12:48 +0200)]
refacto: RenderingEngine is now better hidden
* 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
Loic Blot [Wed, 28 Apr 2021 09:07:28 +0000 (11:07 +0200)]
refacto: hide mesh_cache inside the rendering engine
This permit cleaner access to meshCache and ensure we don't access to it from all the code
Loic Blot [Wed, 28 Apr 2021 08:53:36 +0000 (10:53 +0200)]
refacto: add RenderingEngine::cleanupMeshCache
This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
Loic Blot [Wed, 28 Apr 2021 08:22:13 +0000 (10:22 +0200)]
refacto: rendering engine singleton removal step 1 (filesystem)
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
Loic Blot [Wed, 28 Apr 2021 07:55:51 +0000 (09:55 +0200)]
fix: drop old irrlicht <1.8 compat on Client::loadMedia
sfan5 [Tue, 27 Apr 2021 21:41:35 +0000 (23:41 +0200)]
Fix Windows pipelines on Gitlab-CI
Wuzzy [Wed, 28 Apr 2021 06:38:47 +0000 (06:38 +0000)]
Fix rotation for falling mesh degrotate nodes (#11159)
sfan5 [Wed, 28 Apr 2021 06:38:18 +0000 (08:38 +0200)]
Add helpful error messages if Irrlicht library / include dir are set incorrectly (#11232)
sfan5 [Tue, 27 Apr 2021 09:50:40 +0000 (11:50 +0200)]
Update library versions in buildbot (#11229)
Wuzzy [Fri, 23 Apr 2021 19:37:45 +0000 (19:37 +0000)]
Rename “Irrlicht” to “IrrlichtMt” in documentation
Vincent Robinson [Fri, 23 Apr 2021 19:37:24 +0000 (12:37 -0700)]
Add `minetest.colorspec_to_colorstring` (#10425)
sfan5 [Wed, 21 Apr 2021 18:25:18 +0000 (20:25 +0200)]
Fix two CMake build issues
* PostgreSQL fallback code missed the includes (closes #11219)
* build failed when Freetype enabled but not found
sfan5 [Wed, 21 Apr 2021 14:42:34 +0000 (16:42 +0200)]
Fix devtest Lua error
fallback_image() was removed in
3e1904fa8c4aae3448d58b7e60545a4fdd8234f3 ,
which was written after this PR but merged before it.
sfan5 [Tue, 20 Apr 2021 17:50:34 +0000 (19:50 +0200)]
Look for PostgreSQL library properly and fix CI
sfan5 [Tue, 20 Apr 2021 17:50:19 +0000 (19:50 +0200)]
Enable cleanTransparent filter for mipmapping and improve its' algorithm (#11145)
Wuzzy [Tue, 20 Apr 2021 17:50:03 +0000 (17:50 +0000)]
Put torch/signlike node on floor if no paramtype2 (#11074)
Seth Traverse [Tue, 20 Apr 2021 17:23:31 +0000 (10:23 -0700)]
Add a key to toggle map block bounds (#11172)
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.
sfan5 [Sun, 18 Apr 2021 14:07:13 +0000 (16:07 +0200)]
GLES fixes (#11205)
* Consistently set float precision for GLES
* Enable DPI scaling on Windows+GLES
sfan5 [Sun, 28 Mar 2021 20:53:48 +0000 (22:53 +0200)]
Isolate library tables between sandbox and insecure env
sfan5 [Fri, 16 Apr 2021 21:39:16 +0000 (23:39 +0200)]
Fix ignored OpenGLES2 include path and cmake warning
benrob0329 [Tue, 13 Apr 2021 18:02:43 +0000 (14:02 -0400)]
Also return the ObjectRef from minetest.spawn_falling_node() (#11184)
SmallJoker [Tue, 13 Apr 2021 18:02:18 +0000 (20:02 +0200)]
Attachments: Avoid data loss caused by set_attach() in callbacks (#11181)
sfan5 [Sun, 11 Apr 2021 15:10:06 +0000 (17:10 +0200)]
Buildbot changes to allow out-of-tree builds (#11180)
* 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
Wuzzy [Sun, 11 Apr 2021 15:09:37 +0000 (15:09 +0000)]
Modifying fall damage via armor group (#11080)
Adds a new fall_damage_add_percent armor group which influences the fall damage in addition to the existing node group.
sfan5 [Fri, 9 Apr 2021 20:36:10 +0000 (22:36 +0200)]
Fix server favorites not saving when client/serverlist/ doesn't exist already (#11152)
Wuzzy [Fri, 2 Apr 2021 14:02:22 +0000 (16:02 +0200)]
Update German builtin translation
Wuzzy [Fri, 2 Apr 2021 13:59:28 +0000 (15:59 +0200)]
Update builtin locale files
Wuzzy [Mon, 5 Apr 2021 15:18:45 +0000 (17:18 +0200)]
Don't reseed stars when changing star count
sfan5 [Fri, 9 Apr 2021 19:16:45 +0000 (21:16 +0200)]
Update Android build config
yw05 [Mon, 5 Apr 2021 13:56:29 +0000 (15:56 +0200)]
Make edit boxes respond to string input (IME) (#11156)
Make edit boxes respond to string input events (introduced in minetest/irrlicht#23) that are usually triggered by entering text with an IME.
DS [Mon, 5 Apr 2021 13:55:56 +0000 (15:55 +0200)]
Add vector.to_string and vector.from_string (#10323)
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.
sfan5 [Mon, 5 Apr 2021 13:21:43 +0000 (15:21 +0200)]
Don't apply connection timeout limit to locally hosted servers
fixes #11085
SmallJoker [Mon, 5 Apr 2021 11:38:50 +0000 (13:38 +0200)]
Game: Scale damage flash to max HP
The flash intensity is calculated proportionally to the maximal HP.
sfan5 [Mon, 5 Apr 2021 11:38:31 +0000 (13:38 +0200)]
Reserve vectors before pushing and other code quality changes (#11161)
Wuzzy [Mon, 5 Apr 2021 11:37:58 +0000 (11:37 +0000)]
Devtest: Remove testnodes_show_fallback_image
Loic Blot [Fri, 2 Apr 2021 12:17:24 +0000 (14:17 +0200)]
fix(ci): ensure we build on docker only modifications
Loic Blot [Fri, 2 Apr 2021 10:25:52 +0000 (12:25 +0200)]
fix(docker): reduce the number of required libraries on build
Loic Blot [Fri, 2 Apr 2021 07:26:03 +0000 (09:26 +0200)]
fix: use irrlicht fork instead of the standard library
Loic Blot [Fri, 2 Apr 2021 07:25:50 +0000 (09:25 +0200)]
fix: don't send the whole local context to the docker image
sfan5 [Thu, 1 Apr 2021 22:20:16 +0000 (00:20 +0200)]
CGUITTFont optimizations (#11136)
sfan5 [Thu, 1 Apr 2021 22:19:39 +0000 (00:19 +0200)]
Sort out cURL timeouts and increase default
Vincent Robinson [Thu, 1 Apr 2021 22:18:58 +0000 (15:18 -0700)]
Add `math.round` and fix `vector.round` (#10803)
sfan5 [Wed, 31 Mar 2021 11:15:47 +0000 (13:15 +0200)]
Irrlicht support code maintenance
sfan5 [Tue, 30 Mar 2021 19:50:39 +0000 (21:50 +0200)]
Draw items as 2D images (instead of meshes) when possible
Lars Müller [Tue, 30 Mar 2021 19:49:50 +0000 (21:49 +0200)]
Block & report player self-interaction (#11137)
SmallJoker [Tue, 30 Mar 2021 19:49:15 +0000 (21:49 +0200)]
Consistent title bar + render information in mainmenu (#10764)
sfan5 [Tue, 30 Mar 2021 12:04:14 +0000 (14:04 +0200)]
Add entry in features table for degrotate changes
Wuzzy [Mon, 29 Mar 2021 22:27:46 +0000 (22:27 +0000)]
Fix wield image of plantlike_rooted (#11067)
Vitaliy [Mon, 29 Mar 2021 22:25:11 +0000 (01:25 +0300)]
Degrotate support for mesh nodes (#7840)
Emojigit [Mon, 29 Mar 2021 17:58:39 +0000 (01:58 +0800)]
Update language choices in settingtypes.txt (#11124)
Wuzzy [Mon, 29 Mar 2021 17:57:48 +0000 (17:57 +0000)]
Clean up various misleading and/or confusing messages and texts related to priv changes (#11126)
Wuzzy [Sun, 28 Mar 2021 19:55:56 +0000 (21:55 +0200)]
Update CONTRIBUTING info on translating builtin
sfan5 [Mon, 29 Mar 2021 17:55:24 +0000 (19:55 +0200)]
Replace fallback font nonsense with automatic per-glyph fallback (#11084)
sfan5 [Fri, 26 Mar 2021 22:08:39 +0000 (23:08 +0100)]
Fix broken include check and correct Gitlab-CI script
HybridDog [Fri, 26 Mar 2021 19:59:05 +0000 (20:59 +0100)]
Translate chatcommand delay message and replace minetest with core (#11113)
sfan5 [Thu, 25 Mar 2021 14:09:49 +0000 (15:09 +0100)]
Adjust build config for Irrlicht changes (again)
Loic Blot [Fri, 19 Mar 2021 17:37:07 +0000 (18:37 +0100)]
Drop irrUString from MT, it's owned by irrlicht now
Desour [Tue, 23 Mar 2021 00:02:49 +0000 (01:02 +0100)]
Fix attached-to-object sounds having a higher reference distance
sfan5 [Tue, 23 Mar 2021 14:43:26 +0000 (15:43 +0100)]
Fix broken `BiomeGen` abstraction (#11107)
Jean-Patrick Guerrero [Sun, 21 Mar 2021 22:23:30 +0000 (23:23 +0100)]
Fix segfault for model[] without animation speed
Hugues Ross [Sun, 21 Mar 2021 22:23:14 +0000 (18:23 -0400)]
lua_api.txt: Fix style selector examples
Vitaliy [Sun, 21 Mar 2021 22:22:22 +0000 (01:22 +0300)]
Restore minimal normal texture support (for minimap shading)
sfan5 [Sat, 20 Mar 2021 21:06:17 +0000 (22:06 +0100)]
Serialize tool capabilities JSON without whitespace
fixes #11087
sfan5 [Sat, 20 Mar 2021 18:48:25 +0000 (19:48 +0100)]
Mainmenu: Improve "Join Game" tab (#11078)
SmallJoker [Sat, 20 Mar 2021 12:02:15 +0000 (13:02 +0100)]
Schematic: Properly deal with before/after node resolving and document (#11011)
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)
Wuzzy [Fri, 19 Mar 2021 20:46:11 +0000 (20:46 +0000)]
Builtin: Translatable join, leave, profiler msgs (#11064)
Zughy [Fri, 19 Mar 2021 20:45:46 +0000 (21:45 +0100)]
Builtin: Italian translation (#11038)
Elias Fleckenstein [Fri, 19 Mar 2021 20:45:29 +0000 (21:45 +0100)]
Check for duplicate login in TOSERVER_INIT handler (#11017)
i.e. checks for duplicate logins before sending all media data to the client.
Elias Åström [Fri, 19 Mar 2021 20:43:01 +0000 (21:43 +0100)]
Scale mouse/joystick sensitivity depending on FOV (#11007)
sfan5 [Fri, 19 Mar 2021 17:44:32 +0000 (18:44 +0100)]
Drop old text input workarounds (#11089)
* Drop unused intlGUIEditBox
* Drop unnecessary Linux text input workarounds
Jean-Patrick Guerrero [Tue, 16 Mar 2021 22:28:16 +0000 (23:28 +0100)]
GUIScene: Clear depth buffer + replace deprecated clearZBuffer calls
Jean-Patrick Guerrero [Tue, 16 Mar 2021 18:55:10 +0000 (19:55 +0100)]
Fix deprecated calls with Irrlicht 1.9
Wuzzy [Mon, 15 Mar 2021 00:59:52 +0000 (01:59 +0100)]
Tweak duration_to_string formatting
Wuzzy [Tue, 16 Mar 2021 17:37:24 +0000 (17:37 +0000)]
DevTest: Formspec tests, children getter, better lighttool (#10918)
Wuzzy [Mon, 15 Mar 2021 09:13:15 +0000 (09:13 +0000)]
Devtest: Fix missing log level in minetest.log (#11068)
HybridDog [Sat, 13 Mar 2021 10:18:25 +0000 (11:18 +0100)]
Chatcommands: Show the execution time if the command takes a long time (#10472)
sfan5 [Fri, 12 Mar 2021 19:23:11 +0000 (20:23 +0100)]
Enable Irrlicht debug logging with --trace
sfan5 [Fri, 12 Mar 2021 18:36:58 +0000 (19:36 +0100)]
Avoid unnecessary copies during media/mesh loading
sfan5 [Fri, 12 Mar 2021 18:30:56 +0000 (19:30 +0100)]
Handle mesh load failure without crashing
sfan5 [Wed, 10 Mar 2021 14:27:19 +0000 (15:27 +0100)]
Update Gitlab-CI configuration too
sfan5 [Wed, 10 Mar 2021 13:48:53 +0000 (14:48 +0100)]
Clean up cmake DLL installation and other minor things
sfan5 [Sun, 7 Mar 2021 12:58:27 +0000 (13:58 +0100)]
CI: update configurations for Irrlicht fork
sfan5 [Thu, 18 Feb 2021 13:50:47 +0000 (14:50 +0100)]
Switch Irrlicht dependency to our own fork
-> https://github.com/minetest/irrlicht
sfan5 [Sat, 16 May 2020 23:03:33 +0000 (01:03 +0200)]
Restore Irrlicht 1.9 support
Lejo [Mon, 8 Mar 2021 23:57:12 +0000 (00:57 +0100)]
Fix missing jsoncpp in the Docker image
sfan5 [Mon, 8 Mar 2021 23:56:53 +0000 (00:56 +0100)]
Use place_param2 client-side for item appearance & prediction (#11024)
Wuzzy [Mon, 8 Mar 2021 19:27:48 +0000 (19:27 +0000)]
Translate builtin into German (server-side) (#11032)
Wuzzy [Mon, 8 Mar 2021 19:27:32 +0000 (19:27 +0000)]
Fix misleading chat messages of /clearobjects (#10690)