Commit Graph

10011 Commits (wsc-dfc)

Author SHA1 Message Date
Schmappie Eldress 713a093c8d Fix mod.conf and depends.txt warnings
2021-08-18 22:52:39: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (scaffold at [...]/clientmods/scaffold)
2021-08-18 22:52:39: WARNING[Main]: depends.txt is deprecated, please use mod.conf instead. (scaffold at [...]/clientmods/scaffold)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (kamikaze at [...]/clientmods/kamikaze)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (speedlimit at [...]/clientmods/speedlimit)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (quint at [...]/clientmods/quint)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (invrefill at [...]/clientmods/invrefill)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (haxnotify at [...]/clientmods/haxnotify)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (test at [...]/clientmods/test)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (optimize at [...]/clientmods/optimize)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (bookbot at [...]/clientmods/bookbot)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (dte at [...]/clientmods/dte)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (autoaim at [...]/clientmods/autoaim)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (peek at [...]/clientmods/peek)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (render at [...]/clientmods/dragonfire/render)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (combat at [...]/clientmods/dragonfire/combat)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (list at [...]/clientmods/dragonfire/list)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (muse at [...]/clientmods/muse)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (nlist at [...]/clientmods/nlist)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (automt at [...]/clientmods/automt)
2021-08-18 23:52:38: WARNING[Main]: Mods not having a mod.conf file with the name is deprecated. (waterbot at [...]/clientmods/waterbot)
2021-08-18 20:47:19 -05:00
Schmappie Eldress 3357cceb26 Silence various undeclared variable warnings
scaffold:

    2021-08-18 22:42:54: WARNING[Main]: Assignment to undeclared global "sdir" inside a function at scaffold:/railscaffold.lua:151.

incrementaltp:  Fix this by adding `optional_depends` to `mod.conf`

2021-08-18 22:52:39: WARNING[Main]: Undeclared global variable "autofly" accessed at incrementaltp:init.lua:85
2021-08-18 22:52:39: WARNING[Main]: Undeclared global variable "autofly" accessed at incrementaltp:init.lua:87

dte:

2021-08-18 22:59:26: WARNING[Main]: Assignment to undeclared global "_" inside a function at dte:init.lua:375.

tchat:  Use `get_modpath('wisp')` to fix this

2021-08-18 23:21:20: WARNING[Main]: Undeclared global variable "wisp" accessed at tchat:init.lua:537
2021-08-18 20:17:18 -05:00
Schmappie Eldress ca4199680b scaffold CSM: Fix crash from indexing undefined variable
debug.txt:2021-08-18 02:17:31: WARNING[Main]: Undeclared global variable "storage" accessed at scaffold:/railscaffold.lua:151
    debug.txt:2021-08-18 02:17:31: ERROR[Main]: Access denied. Reason: Client environment_step: Runtime error from mod 'scaffold' in callback environment_step(): scaffold:/railscaffold.lua:151: attempt to index global 'storage' (a nil value)
    debug.txt:2021-08-18 02:17:31: ERROR[Main]: 	scaffold:/railscaffold.lua:151: in function 'func'
2021-08-18 20:17:18 -05:00
Schmappie Eldress b6e8c7cd30 clientmods/mods.conf: Silence client announcement by default
Silence the embarrassing announcement:

    <schmappie>: Hey guys. I'm using a hacked client. https://repo.or.cz/waspsaliva.git.

...and the embarrassing followup:

    BOT — Today at 9:10 PM
    Thingamabobber Joined
    <Thingamabobber>: hey, schmapa
    <Thingamabobber>: I saw that youre using waspsaliva.
    <Thingamabobber>: In contents, in the game's main menu, turn off haxnotify to stop the message from showing up.
    <Thingamabobber>: Also, I can tell you the necessary cmake options to hide the fact that you're using a hacked client from other servers.
    <Thingamabobber>: In the waspsaliva directory, there is a file called cmakelists.txt
    <Thingamabobber>: near the top, there are a few options.

    xay — Today at 9:13 PM
    wow its p nice of u to share this stuff :) (with others ;) ) how are you today?
2021-08-18 20:17:18 -05:00
Schmappie Eldress a8651e06dd mods.conf: Add `load_mod_preview`
Added automatically; is this module actually bogus?
2021-08-18 20:17:18 -05:00
Schmappie Eldress d2f6a33d7d .rocker: Add `ccache` package 2021-08-18 20:17:18 -05:00
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