Time |
Nick |
Message |
00:18 |
|
Cornelia joined #minetest-dev |
00:25 |
|
paramat joined #minetest-dev |
00:34 |
|
corvus_ joined #minetest-dev |
00:34 |
|
lisac_ joined #minetest-dev |
00:45 |
|
lisac__ joined #minetest-dev |
00:45 |
|
corvus__ joined #minetest-dev |
01:11 |
paramat |
will merge game#2057 game#2058 game#2060 now |
01:11 |
ShadowBot |
https://github.com/minetest/minetest_game/issues/2057 -- Floatland biomes: Add forest, tune beach height by paramat |
01:11 |
ShadowBot |
https://github.com/minetest/minetest_game/issues/2058 -- Waterlily: Place as Y-offset simple decoration by paramat |
01:11 |
ShadowBot |
https://github.com/minetest/minetest_game/issues/2060 -- Add dedicated mgv6 register_decoration for fireflies by Ezhh |
01:12 |
paramat |
and game#2054 |
01:12 |
ShadowBot |
https://github.com/minetest/minetest_game/issues/2054 -- Rename intersects_protection to is_area_protected by SmallJoker |
01:24 |
paramat |
merged |
01:55 |
|
YuGiOhJCJ joined #minetest-dev |
02:53 |
|
CoderForTheBette joined #minetest-dev |
03:00 |
CoderForTheBette |
Anyone know if it is possible to simulate a click/dropdown event on elements in dlg_settings_advanced.lua? Also, is it possible to collapse them as well? |
03:01 |
CoderForTheBette |
The only way I can simulate it is by setting the selected_settings variable but that only works once per event, so if I need to make multiple events at once it is not possible. |
03:03 |
CoderForTheBette |
Link to file in question: https://github.com/minetest/minetest/blob/3a5959ae6b268087709dd64b8e723c42defd5463/builtin/mainmenu/dlg_settings_advanced.lua |
03:04 |
CoderForTheBette |
For example, edit the value at this line to anything > 1: https://github.com/minetest/minetest/blob/3a5959ae6b268087709dd64b8e723c42defd5463/builtin/mainmenu/dlg_settings_advanced.lua#L481 |
03:05 |
CoderForTheBette |
Start Minetest, go to advanced settings, and now if the setting index falls under a "category" type setting then the parent will be expanded. |
03:29 |
|
AndroBuilder joined #minetest-dev |
03:53 |
|
CBugDCoder joined #minetest-dev |
04:36 |
|
Foz1 joined #minetest-dev |
04:38 |
|
Foz joined #minetest-dev |
05:04 |
|
Darcidride_ joined #minetest-dev |
05:05 |
|
Darcidride__ joined #minetest-dev |
05:37 |
|
Xio joined #minetest-dev |
07:38 |
|
Lymkwi joined #minetest-dev |
10:51 |
|
proller__ joined #minetest-dev |
10:58 |
|
Fixer joined #minetest-dev |
12:23 |
|
YuGiOhJCJ joined #minetest-dev |
13:31 |
|
DI3HARD139 joined #minetest-dev |
13:41 |
|
DI3HARD139 joined #minetest-dev |
13:59 |
|
ThomasMonroe joined #minetest-dev |
14:03 |
|
proller__ joined #minetest-dev |
15:01 |
|
Xio joined #minetest-dev |
15:19 |
|
proller__ joined #minetest-dev |
15:53 |
|
Fixer joined #minetest-dev |
16:02 |
|
Krock joined #minetest-dev |
16:04 |
|
troller joined #minetest-dev |
17:28 |
|
paramat joined #minetest-dev |
17:44 |
|
Darcidride joined #minetest-dev |
17:46 |
|
Gael-de-Sailly joined #minetest-dev |
18:07 |
paramat |
game#2062 is ready for review |
18:07 |
ShadowBot |
https://github.com/minetest/minetest_game/issues/2062 -- Icesheet biome: Add 'default:cave_ice' node to enable caves in land ice by paramat |
18:10 |
|
TMcSquared joined #minetest-dev |
18:21 |
paramat |
#7051 fairly simple |
18:21 |
ShadowBot |
https://github.com/minetest/minetest/issues/7051 -- Cleanup in flat lighting by numberZero |
18:24 |
paramat |
will merge #7072 #7076 in an hour |
18:24 |
ShadowBot |
https://github.com/minetest/minetest/issues/7072 -- Place schematic (on vmanip): Enable use of 'place center' flags by paramat |
18:24 |
ShadowBot |
https://github.com/minetest/minetest/issues/7076 -- Fix liquid post processing effects being incorrectly applied in third person mode. by red-001 |
18:25 |
|
YuGiOhJCJ joined #minetest-dev |
18:26 |
|
CoderForTheBette joined #minetest-dev |
18:28 |
Krock |
paramat, about the slippery issue: could you try to enable the fly mode while falling down and retry whether it slides? |
18:28 |
CoderForTheBette |
@paramat, do you know if there is anyway to use LUA to expand and collapse dropdown settings in the advanced settings tab? For example, how would I expand expand the "Sound" drop down and also collapse it? |
18:29 |
Krock |
I believe touching_ground is no longer updated if noclip and fly is enabled |
18:29 |
CoderForTheBette |
Has to do with this file (most likely): https://github.com/minetest/minetest/blob/master/builtin/mainmenu/dlg_settings_advanced.lua |
18:30 |
Krock |
are you sure you mean a drop-down menu? |
18:30 |
CoderForTheBette |
Wrong link: https://github.com/minetest/minetest/blob/master/builtin/mainmenu/dlg_settings_advanced.lua |
18:30 |
CoderForTheBette |
No, not completely. |
18:30 |
CoderForTheBette |
That's why I provided an example. |
18:31 |
Krock |
the lines you can fold and unfold in the settings menu are simple table rows |
18:32 |
Krock |
https://github.com/minetest/minetest/blob/master/builtin/mainmenu/dlg_settings_advanced.lua#L864 |
18:32 |
CoderForTheBette |
Ah, would it be possible to use: https://github.com/minetest/minetest/blob/6c9df2ffa7ee81a05b28fdd6123a926abd284c72/doc/menu_lua_api.txt#L81 |
18:33 |
CoderForTheBette |
Yeah, I've seen that one, but then the settings in that view are somehow nested under it. Example, "Controls" is in the table "list_settings" |
18:34 |
Krock |
https://github.com/minetest/minetest/blob/master/builtin/mainmenu/dlg_settings_advanced.lua#L920 |
18:34 |
Krock |
moment |
18:36 |
CoderForTheBette |
Hmm. I did look at that but did not completely understand it. I can expand settings if I set "selected_setting" to something other than one, but that only works once be event. I want to expand and collapse multiple at the same time, if that makes sense. |
18:36 |
CoderForTheBette |
be = *per |
18:37 |
Krock |
I believe that would need a new API function |
18:39 |
CoderForTheBette |
Yeah, that's is what I thought. I've tried everything, even some hacky stuff, but none of it works. Maybe I can figure out how to add a new function. Any idea where functions for core are defined? I haven't got into adding lua functions in the c++ base yet. |
18:39 |
Krock |
tables currently don't support multiple selected or opened rows: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L2141 |
18:41 |
CoderForTheBette |
Just so you know, this work is for the 0.5.0 roadmap: https://github.com/minetest/minetest/issues/3266 |
18:41 |
CoderForTheBette |
I'm trying to help with the simple stuff. |
18:43 |
Krock |
Here's the documentation about our tables, what Irrlicht offers: http://irrlicht.sourceforge.net/docu/classirr_1_1gui_1_1_i_g_u_i_table.html |
18:44 |
CoderForTheBette |
Alight, thanks. |
18:45 |
Krock |
our own class extends that with a few more functions, like "setOpenedTrees", https://github.com/minetest/minetest/blob/master/src/gui/guiTable.cpp#L1105 |
18:47 |
CoderForTheBette |
Ah, that is exactly what I was looking for. |
18:48 |
Krock |
!next |
18:48 |
ShadowBot |
Another satisfied customer. Next! |
19:27 |
|
paramat joined #minetest-dev |
19:37 |
paramat |
now merging #7072 #7076 |
19:37 |
ShadowBot |
https://github.com/minetest/minetest/issues/7072 -- Place schematic (on vmanip): Enable use of 'place center' flags by paramat |
19:37 |
ShadowBot |
https://github.com/minetest/minetest/issues/7076 -- Fix liquid post processing effects being incorrectly applied in third person mode. by red-001 |
19:40 |
CoderForTheBette |
@paramat, me and Krock were talking earlier about how to go about expanding and collapsing settings like "Controls", "Sounds" in the advanced settings menu. I trying to add a expand/collapse all button to that menu. Just wondering if you have any ideas since it seems a new api function will need to be added to allow this. |
19:40 |
CoderForTheBette |
*I'm |
19:41 |
CoderForTheBette |
Here's the file where this stuff is handled:https://github.com/minetest/minetest/blob/master/builtin/mainmenu/dlg_settings_advanced.lua |
19:48 |
paramat |
hi, saw your message earlier, i have no idea i'm not good with this part of the code |
19:49 |
paramat |
merged, 99 PRs! |
19:49 |
CoderForTheBette |
Alright, thanks. |
19:55 |
|
numzero joined #minetest-dev |
21:09 |
|
twoelk joined #minetest-dev |
21:15 |
|
Fixer joined #minetest-dev |
21:45 |
|
proller joined #minetest-dev |
21:50 |
|
troller joined #minetest-dev |
21:57 |
|
twoelk left #minetest-dev |
22:12 |
|
ThomasMonroe joined #minetest-dev |
22:18 |
|
Tmanyo joined #minetest-dev |
23:00 |
|
proller joined #minetest-dev |