Time Nick Message 08:33 Zeg9 Will decoration API support L-Systems? (or has the l-system concept been abandoned?) 10:44 Exio Zeg9: it will support (iirc) 18:11 sapier VanessaE what do you think about PilzAdams comments to the background/overlay mechanism is he right? 20:01 VanessaE sapier: which part, I've been afk all days 20:01 VanessaE -s 20:02 VanessaE (too tired to scroll back and dig through the log) 20:02 sapier yesterdays log around 20:30 20:03 VanessaE ok 20:05 VanessaE ok 20:05 VanessaE a definition is needed. does "background" refer to the old brown menubg.png image, or does it refer to one of the new overlay type of images? 20:06 NakedFury the way you say it, it should be the menu background and the other be called overlay 20:07 sapier there's background, overlay header and footer 20:07 sapier clouds and nothing at all 20:07 PilzAdam VanessaE, background = big image and no clouds drawn; overlay = big images and clouds drawn behind it 20:07 PilzAdam -s 20:07 VanessaE PilzAdam: ok, I'd forgotten 20:08 VanessaE imho, if clouds are enabled and no background image exists, then show the clouds. On top of whatever is shown, place the overlay, then the header/footer 20:08 sapier so overlay may be drawn on top of background? 20:09 VanessaE if clouds are disabled and no background exists, then yeah show a solid color (sky blue makes sense) 20:11 sapier ok and what about the footer? 20:11 VanessaE header/footer should be displayed any time the overlay is. 20:11 sapier fallback to default in singleplayer or not? 20:12 VanessaE fallback only if there's nothing more appropriate to draw, sure 20:12 sapier pilzadam said no for singleplayer tab 20:13 PilzAdam if the game has no header then there is a reason for it, so dont use any random default one 20:13 VanessaE PilzAdam: I think he means the default one that looks sorta like marbled stone 20:13 sapier no I'm talking about header/footer 20:13 VanessaE oh well for singleplayer yeah, duh 20:13 VanessaE my mind is kinda elsewhere 20:14 sapier https://gist.github.com/sapier/5959230 20:14 sapier so this should be the way to go correct? 20:14 VanessaE *reads* 20:15 sapier wait I forgot background false 20:15 VanessaE --sp + all other tabs ; disable clouds 20:15 VanessaE this means what? 20:16 sapier I neede a way to show the else is done :-) 20:16 VanessaE ok 20:16 VanessaE your indentation sucks ;) 20:17 sapier yeah I could move it to front to show it's not else ... 20:17 PilzAdam yep 20:18 sapier ok better this way? 20:19 sapier not exactly it isn't consistent right now 20:20 VanessaE 14: try texturepack default overlay ; 15: try builtin default overlay ; 17: try texturepack default background ; 18: try builtin default background 20:20 VanessaE (you should clearly differentiate between texturepack-supplied imagery and that which is included with the engine) 20:21 sapier it is testurepack is only where "texturepack" is in name 20:21 sapier -s+x 20:22 VanessaE I know but clarity is important 20:23 sapier ok added legend to top 20:23 sapier is it clear enough to decide if decision tree is correct? 20:24 VanessaE yeah I think so 20:24 PilzAdam https://gist.github.com/PilzAdam/5970006 20:24 VanessaE heh 20:24 sapier doesn't help very much ;-) 20:24 VanessaE what's a backgrund? ;) 20:24 VanessaE (19) 20:25 VanessaE sapier: to be fair, he did express it in a form of code that might actually run ;) 20:25 sapier not exactly as it needs to be done completely different 20:26 VanessaE anyway I could probably go with that 20:26 VanessaE but-- 20:26 sapier yes it's lua syntax not pseudocode 20:28 sapier but as far as I can see it's identical 20:30 PilzAdam https://gist.github.com/PilzAdam/5970006 now 80% more confusing 20:30 sapier and flooding log ;-P 20:30 hmmmm christ, why is this so complex 20:31 hmmmm you're just loading some pictures and a background 20:31 hmmmm i guess it's just one of those things, like mapgen param loading 20:31 VanessaE PilzAdam: you know, that almost looks like you could just plug that right in now 20:31 sapier if you do it that way pilzadam you'll gona have 16 log entrys anytime world background needs to be updated 20:32 VanessaE who cares if the log gets spammed? put that on verbosestream and no one will see it anyway :) 20:32 hmmmm precedence: mods -> saved settings -> game config file -> global config file -> default settings -> constructor settings 20:32 PilzAdam VanessaE, that is valid Lua code, although "texture()" is not defined 20:32 VanessaE PilzAdam: yep, I can see it's valid, I meant as far as the logic is concerned and how it relates to what sapier already implemented. 20:32 PilzAdam sapier, move the texture() calls into the "if" body and you halfed it 20:33 PilzAdam *halved 20:33 sapier but won't get any more next to working code 20:33 PilzAdam also, default_* and texturepack_* can be cached 20:34 sapier no they can't caching isn't active at that state 20:35 sapier and NO I won't add a texture cache for 5 textures 20:35 sapier :-) 20:35 PilzAdam no "cached" means you dont need to recheck them each time you switch a tab 20:35 PilzAdam +, 20:35 sapier I already do that 20:36 PilzAdam then how do you get 16 messages in the console? 20:36 PilzAdam *would you get 20:36 sapier if none of the files is present you get 16/8 messages if doing the if optimization 20:37 sapier on swtichting singleplayer<->other or when switching game 20:37 sapier anytime you switch of course 20:37 PilzAdam well, you you only need to check game_overlay if texturepack_game_overlay is nil 20:37 PilzAdam -you 20:38 sapier exactly that's the second optimization needed 20:38 PilzAdam and isnt there a way to check it without writing to the console? 20:38 sapier but that's implementation detail 20:38 sapier I guess the logics are fixed now 20:38 sapier no there isn't at least if you want to fallback on invalid files too 20:39 sapier but won't help that much as setting a file successfull will create a message on console too 20:39 sapier ok I'm gonna implement the logics as defined 20:40 sapier pilzadam you had some lua sorting code some days ago do you still have it? 20:40 PilzAdam is there no way to tell Irrlicht to print to infostream/verbosestream? 20:41 PilzAdam sapier, I have deleted the branch since it was useless... 20:41 sapier for sure but it's not done that early ... I hope it's a minor issue once the bugs are fixed 20:42 PilzAdam https://github.com/PilzAdam/minetest/commit/3b9a511f94264c1205d7c031b5ea271dbc186d64 20:42 sapier you're too fast PilzAdam ;-) I just moved worldlisthandling to a separate file to reduce complexity in mainmenu ... now we could do sorting in lua 20:42 sapier great :-) 20:42 PilzAdam ^ github still has the commit :-) 20:42 PilzAdam (searched in IRC logs) 20:43 sapier sideeffect of moving to separate file is that worlds selected in singleplayer tab now are in sync to server tab (where possible) 23:03 celeron55 >On top of whatever is shown, place the overlay 23:03 celeron55 no. 23:03 celeron55 games shouldn't be forced to try to mimick the cloud overlay in the non-cloud background 23:03 celeron55 that's nonsense 23:05 VanessaE ehm. "whatever's shown" could also be a blank background image... 23:17 VanessaE bbl 23:23 * ShadowNinja points to the rollback fix on the TODO list while he waits annother ten minutes for /rollback to finish and prepares to restart his server to clear the RAM.