Time Nick Message 14:25 rubenwardy The player sprite in devtest is visible when looking down, and looks super weird 14:31 Andrey01 hello 14:37 Andrey01 I saw a discussion of v-rob and some other core devs about going to move the GUIs fully on Lua-side and I have a few questions about that: 14:38 Andrey01 would that not decrease the performance? although, c++ is significantly faster than Lua 14:39 Andrey01 also, would it be possible to create custom gui elements via modding API? 14:40 rubenwardy the entire reason to move it to Lua is to allow custom elements via the modding API 14:40 Andrey01 ah 14:41 Andrey01 but how would that affect the performance of GUIs? 14:41 rubenwardy probably not noticeably 14:41 rubenwardy Lua isn't that slow, with LuaJIT especially 14:42 rubenwardy elements like hypertext could be implemented in C++ 14:42 rubenwardy it's worth some experimentation 14:47 Andrey01 I thought the main reason of moving is make the forms dynamic, that is, possibility to add/remove gui elements, but herewith without repeated showing of a whole form 14:47 Andrey01 that is, without calling show_formspec() again 14:48 rubenwardy that's not the main reason 14:48 rubenwardy the main reason is that formspecs are a bad language 14:50 Andrey01 but this is a bad language, because its form strings are not dynamic? 14:51 rubenwardy no, it's a bad language because it's an inconsistent domain-specific DSL 14:51 rubenwardy you could make formspecs dynamic 14:53 Andrey01 don`t know what DSL is meant 14:53 rubenwardy domain-specific language 14:53 rubenwardy it's a language invented for a very specific use 14:54 rubenwardy The implemention of formspecs is also problematic, because it's tied to Irrlicht GUIs which have poor structure