Commit Graph

10005 Commits (09d106f9bc42020651df236684190fef74cba16e)

Author SHA1 Message Date
Schmappie Eldress 09d106f9bc Add .rocker config for Wasp Saliva, `wsc` 2021-08-17 01:51:24 -05:00
Schmappie Eldress 7871b44824 Merge branch 'dragonfire/master' into waspsaliva
This merge removes some redundant-looking code that was apparently
included in DFC upstream already.

This merge also reverts some whitespace & reformatting changes in the
`src/` directory so that a `git diff dragonfire/master` contains only
the essential differences.
2021-08-17 01:48:45 -05:00
cora 08213f3c17 nlist: make selected list accessible globally 2021-07-31 11:16:53 +02:00
cora 8193e3bd23 wasplib: add get item meta 2021-07-29 23:40:45 +02:00
cora 52a8195019 esp: fix crash when no list is defined 2021-07-27 22:18:05 +02:00
cora fbdd177619 wasplib updates 2021-07-27 15:56:32 +02:00
cora 2eeaa61fe4 autofly: add axisnames to dirview 2021-07-19 00:36:34 +02:00
cora 1b8e237ca9 autoaim: fix crash on login 2021-07-15 22:36:04 +02:00
cora a95e4cccfd wallbot: fix freeze 2021-06-29 11:51:21 +02:00
cora bf4d991852 clientobject: add null checks 2021-06-19 12:39:18 +02:00
cora 14ed2727e5 optimize: fix noBurning 2021-05-28 15:35:56 +02:00
Elias Fleckenstein 35445d24f4 Make set_pitch and set_yaw more accurate by not rounding it to integers 2021-05-13 19:34:32 +02:00
Elias Fleckenstein 5131675a60 Add guards to stop server build fail 2021-05-13 18:15:45 +02:00
Elias Fleckenstein f3e741dad1 Merge branch 'master' of https://github.com/minetest/minetest 2021-05-13 18:06:47 +02:00
Elias Fleckenstein 96a37aed31 Add minetest.get_send_speed 2021-05-13 17:21:13 +02:00
Elias Fleckenstein d082423166 Fix format 2021-05-13 08:24:07 +02:00
Elias Fleckenstein ce0d81a825 Change default cheat menu entry height 2021-05-13 08:18:32 +02:00
sfan5 69c70dd319 Fix swapped vertex colors on GLES2 2021-05-11 21:15:39 +02:00
Elias Fleckenstein b7abc8df28 Add on_object_add callback 2021-05-11 19:15:23 +02:00
Elias Fleckenstein 4f613bbf51 Include tile definitions in get_node_def; Client-side minetest.object_refs table 2021-05-11 14:07:30 +02:00
cora 097c4d93fd kamikaze: rewrite 2021-05-11 12:02:19 +02:00
Elias Fleckenstein c86dcd0f68 Add on_object_hp_change callback and nametag images 2021-05-10 20:45:05 +02:00
Elias Fleckenstein b84ed7d0be Call on_object_properties_change callback when adding object to scene 2021-05-10 17:26:14 +02:00
Elias Fleckenstein 26cfbda653 Add on_object_properties_change callback 2021-05-10 16:51:54 +02:00
Elias Fleckenstein 6dc7a65d9e Add ClientObjectRef:set_properties 2021-05-10 16:07:31 +02:00
Elias Fleckenstein 7d7d4d675c Add ClientObjectRef.get_properties 2021-05-10 15:41:23 +02:00
cora e419d65cc3 optimize: remove noBurning 2021-05-09 03:24:01 +02:00
sfan5 2443f1e235 Fix overlays for 2D-drawn items
fixes #11248
2021-05-08 19:44:43 +02:00
lhofhansl 7c2826cbc0
Fix build for newer versions of GCC (#11246) 2021-05-06 19:24:30 +02:00
Wuzzy 1bb8449734
Improve liquid documentation (#11158) 2021-05-06 19:24:11 +02:00
Loic Blot 225d4541ff fix: extractZipFile is not part of Client but more generic.
This solve a crash from mainmenu while extracting the zip
2021-05-06 16:01:52 +02:00
sfan5 ba40b39500 Add basic client-server test to CI 2021-05-05 22:49:44 +02:00
sfan5 08f1a7fbed Use Irrlicht functions to query npot texture support 2021-05-05 22:49:44 +02:00
Loic Blot de85bc9227 fix: some code tidy about includes & irr namespaces 2021-05-03 19:49:19 +02:00
Loic Blot 48d5abd5be refacto: remove get_gui_env & draw_load_screen from RenderingEngine singleton 2021-05-03 19:49:19 +02:00
Loic Blot a93712458b fix: don't use RenderingEngine singleton when it's possible 2021-05-03 19:49:19 +02:00
Loic Blot 5a02c376ea 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)
2021-05-03 19:49:19 +02:00
Loic Blot ccdd886e27 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
2021-05-03 19:49:19 +02:00
Loic Blot a47a00228b refacto: drop unused Hud::smgr 2021-05-03 19:49:19 +02:00
Loic Blot 809e68fdc0 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
2021-05-03 19:49:19 +02:00
Loic Blot 1bc855646e refacto: protect some RenderingEngine::get_scene_manager
* protect it from Camera, Sky, ClientMap object calls
* rename Game::sky to Game::m_sky
2021-05-03 19:49:19 +02:00
Loic Blot 258101a910 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
2021-05-03 19:49:19 +02:00
Loic Blot 74125a74d3 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
2021-05-03 19:49:19 +02:00
Loic Blot e0716384d6 refacto: add RenderingEngine::cleanupMeshCache
This permits to prevent client to own the mesh cache cleanup logic. It's better in RenderingEngine
2021-05-03 19:49:19 +02:00
Loic Blot e34d28af9f 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
2021-05-03 19:49:19 +02:00
Loic Blot bc1888ff21 fix: drop old irrlicht <1.8 compat on Client::loadMedia 2021-05-03 19:49:19 +02:00
sfan5 83a7b48bb1 Fix Windows pipelines on Gitlab-CI 2021-04-28 09:18:05 +02:00
Wuzzy 228f1c6770
Fix rotation for falling mesh degrotate nodes (#11159) 2021-04-28 08:38:47 +02:00
sfan5 734fb2c811
Add helpful error messages if Irrlicht library / include dir are set incorrectly (#11232) 2021-04-28 08:38:18 +02:00
sfan5 9660ae288a
Update library versions in buildbot (#11229) 2021-04-27 11:50:40 +02:00