Time |
Nick |
Message |
00:13 |
|
lhofhansl joined #minetest-dev |
04:02 |
|
Taoki joined #minetest-dev |
04:55 |
|
ZoeS17 joined #minetest-dev |
06:12 |
|
fluxflux joined #minetest-dev |
08:00 |
|
ShadowNinja joined #minetest-dev |
08:30 |
|
proller joined #minetest-dev |
09:37 |
|
NetherEran joined #minetest-dev |
10:21 |
|
proller joined #minetest-dev |
10:29 |
|
calcul0n joined #minetest-dev |
10:44 |
|
lisac joined #minetest-dev |
10:45 |
|
proller joined #minetest-dev |
10:52 |
|
Fixer joined #minetest-dev |
10:59 |
|
jomat joined #minetest-dev |
10:59 |
|
jomat joined #minetest-dev |
11:09 |
|
proller joined #minetest-dev |
11:35 |
|
absurb joined #minetest-dev |
11:54 |
|
proller joined #minetest-dev |
11:59 |
zughy[m] |
should things marked as "obsolete" be removed from code? Asking because of #9062 description |
11:59 |
ShadowBot |
https://github.com/minetest/minetest/issues/9062 -- Change some usages of "deprecated" to "obsolete" by random-geek |
12:10 |
sfan5 |
obsolete means it's already gone |
12:50 |
zughy[m] |
well, the ACTIVEOBJECT_TYPE_ITEM etc are still there, even if they're not used |
13:10 |
rubenwardy |
Dead code should be removed, just be careful to not break network compat by changing the values of enums |
14:23 |
|
calcul0n joined #minetest-dev |
15:32 |
|
Taoki joined #minetest-dev |
17:55 |
|
fluxflux joined #minetest-dev |
18:09 |
|
MTDiscord joined #minetest-dev |
18:09 |
|
v-rob joined #minetest-dev |
18:11 |
|
v-rob joined #minetest-dev |
18:13 |
v-rob |
I've got a few questions for some things about #10524 |
18:13 |
ShadowBot |
https://github.com/minetest/minetest/issues/10524 -- Lua-side UI Prerequisite Draft: Events and Drawing by v-rob |
18:14 |
v-rob |
Do we use irr::SEvent::SJoystickEvent for joysticks? |
18:15 |
v-rob |
I'm not certain the level of support we have for joysticks |
18:22 |
|
proller joined #minetest-dev |
18:30 |
v-rob |
No one knows? Should I just forget about joystick support for now then? |
18:32 |
v-rob |
Or is no one here? |
18:35 |
|
calcul0n_ joined #minetest-dev |
18:41 |
MTDiscord |
<Lone_Wolf> I don't think they are very well supported |
18:44 |
v-rob |
I guess I'll decide on them later then |
18:44 |
v-rob |
Is it possible for MyEventReceiver::OnEvent to receive multiple events per frame? |
18:49 |
sfan5 |
uh I think there *is* joystick support |
18:49 |
sfan5 |
but you might have to go searching for the code that does it |
18:49 |
v-rob |
Oh goody |
18:52 |
v-rob |
I'm kind of scared to ask how hard it would be to get irr::SEvent::STouchInput on non-Android systems |
18:52 |
sfan5 |
do you just want the structure or actual support? |
18:53 |
sfan5 |
either way it needs to be patched in |
18:53 |
sfan5 |
(in the latter case developed too, depending on platform) |
18:53 |
v-rob |
Actual support. #ifdef ANDROID is enough if I didn't want actual support |
18:53 |
v-rob |
It's not a necessity for that PR, but it would be very nice |
18:54 |
v-rob |
Probably too much to hope for |
18:54 |
sfan5 |
wait so you want touch input to work on e.g. Windows? for what purpose? |
18:55 |
v-rob |
Mainly, I want touch/mouse+keyboard to not be tied to platform |
18:55 |
sfan5 |
but for theoretical support you only need STouchInput to be defined |
18:55 |
sfan5 |
and then when someone implements it in Irrlicht in the future it'd just work |
18:57 |
v-rob |
If it were defined on Windows, it would make it much easier to test its support everywhere (I have a touchscreen computer, and it's harder to test/work on Android) |
18:57 |
v-rob |
But as I said, not a necessity |
18:58 |
sfan5 |
I see |
18:58 |
v-rob |
I do wish I could use SDL's event system... |
18:58 |
sfan5 |
you could emulate touch events for testing |
18:58 |
v-rob |
Hm, true |
18:58 |
sfan5 |
the definite requirement for what you plan seems to be that STouchInput is defined everywhere |
19:01 |
v-rob |
Anyway, another question: exactly when is the fallback font used? |
19:05 |
sfan5 |
when the language says so |
19:06 |
sfan5 |
grep -A1 needs_fallback_font po -r |
19:06 |
v-rob |
Oh. That's simpler than I thought |
19:06 |
v-rob |
Don't need to worry about that then |
19:09 |
v-rob |
Second to last question: is there ever a time driver->draw2DImage should be used over draw2DImageFilterScaled? |
19:09 |
sfan5 |
if you know that it won't be scaled I guess |
19:09 |
MTDiscord |
<appguru> ^ |
19:10 |
MTDiscord |
<appguru> slightly better for performance I guess? |
19:10 |
v-rob |
I thought driver->draw2DImage also scaled the image? |
19:12 |
sfan5 |
I'll be honest and say that I didn't look up the signature/docs before answering |
19:14 |
sfan5 |
hm |
19:14 |
v-rob |
I think draw2DImageFilterScaled does a software scaling and caches the result |
19:15 |
v-rob |
It says it's "high quality" but I don't see a difference |
19:15 |
sfan5 |
I don't think draw2DImage can scale |
19:15 |
sfan5 |
I see one signature with destRect instead of destPos but I think that's for drawing part of an image |
19:19 |
v-rob |
I think it scales because formspec image[] uses IGUIImage which uses draw2DImage |
19:20 |
v-rob |
Oh well, I guess I'll use draw2DImageFilterScaled because that's what everything else uses |
19:22 |
v-rob |
Anyway, the last question is: Can MyEventReceiver::OnEvent receive multiple events per frame? |
19:40 |
|
v-rob joined #minetest-dev |
20:01 |
sfan5 |
why not? is the code not prepared to handle that? |
20:02 |
v-rob |
In reference to multiple events per frame? Well, my code for #10524 currently can't handle it, so I need to know if it's a necessity |
20:02 |
ShadowBot |
https://github.com/minetest/minetest/issues/10524 -- Lua-side UI Prerequisite Draft: Events and Drawing by v-rob |
20:03 |
sfan5 |
one event per frame seems like a weird inflexibility to have |
20:03 |
sfan5 |
so I'd definitely make that possible |
20:03 |
v-rob |
I want to know if it currently happens |
20:03 |
sfan5 |
no idea sorry |
20:03 |
v-rob |
I haven't been able to make it occur yet |
20:03 |
v-rob |
Guess I'll do some more testing then |
20:13 |
v-rob |
Anyway, thanks for the help |
20:14 |
rubenwardy |
It does happen |
20:45 |
|
clavi joined #minetest-dev |
20:45 |
|
bigfoot547 joined #minetest-dev |
20:47 |
|
anon5[m] joined #minetest-dev |
21:39 |
|
ssieb joined #minetest-dev |