05:52 <+bridge> [ddnet] With those ^ & soon assets changer, maybe `config_directory.bat` could be renamed to `assets_directory.bat` / `assets_and_config_directory.bat` or possibly there could be two with such names, pointing to exactly same place - just to reduce the confusion 06:10 <+bridge> [ddnet] thats true 06:10 <+bridge> [ddnet] would make sense 07:48 <+bridge> [ddnet] Feels like downloadable game tiles are on the way too 😄 07:50 <+bridge> [ddnet] I would love to add some custom assets in the future as I use katana pickup as a taxi sign and it confuses players, have to explain every time what it is. 09:32 <+bridge> [ddnet] @Learath2 👀 09:35 <+bridge> [ddnet] 👀 09:35 <+bridge> [ddnet] @Learath2 here starts the meta war 09:35 <+bridge> [ddnet] :monkalaugh: 09:36 <+bridge> [ddnet] Nah variable naming I think we all mostly would agree on 09:36 <+bridge> [ddnet] yeah 09:36 <+bridge> [ddnet] i meant PascalCase 09:36 <+bridge> [ddnet] tbh 09:36 <+bridge> [ddnet] i didnt remember the name 09:36 <+bridge> [ddnet] Let's add a default editor to the ddnet project. Now that would be a war 09:36 <+bridge> [ddnet] vim obviously 09:36 <+bridge> [ddnet] all lower case, pointers end with _ 09:36 <+bridge> [ddnet] every english word is seperated by _ 09:36 <+bridge> [ddnet] ah 09:37 <+bridge> [ddnet] oh 09:37 <+bridge> [ddnet] ``` 09:37 <+bridge> [ddnet] all lower case, pointers end with _ 09:37 <+bridge> [ddnet] every english word is seperated by _ 09:37 <+bridge> [ddnet] ``` 09:37 <+bridge> [ddnet] pointers end with every english word? 😄 09:37 <+bridge> [ddnet] my vim supports :Format and uses clang format 09:37 <+bridge> [ddnet] i forgot 09:37 <+bridge> [ddnet] dont even need the script 09:37 <+bridge> [ddnet] i just hate discord xd 09:37 <+bridge> [ddnet] english words seperated by _ is snake case 09:37 <+bridge> [ddnet] snake_case 😄 09:37 <+bridge> [ddnet] thats how i started learning cpp xd 09:38 <+bridge> [ddnet] then there is the kebab-case, which is very :extremenouis: 09:38 <+bridge> [ddnet] but honestly i hate it 09:38 <+bridge> [ddnet] a point that points to for example the middle of an array wouldnt be prefixed with a a right? i guess it is just a pointer 09:38 <+bridge> [ddnet] Nah, that's just a pointer 09:38 <+bridge> [ddnet] decayed pointer 09:38 <+bridge> [ddnet] or smth like that 09:39 <+bridge> [ddnet] Eh, it's actually not possible to know the difference between two pointers one of which pointing to an int and another pointing to an array of ints 09:39 <+bridge> [ddnet] i wonder who made backend_sdl.cpp and decided to ignore all the naming rules 09:39 <+bridge> [ddnet] :monkalaugh: 09:39 <+bridge> [ddnet] Not at compile time anyway 09:41 <+bridge> [ddnet] i wonder who named it backend_sdl if 99% of the code there is opengl xd 09:41 <+bridge> [ddnet] xd 09:41 <+bridge> [ddnet] I wonder what other backends they were planning 😄 09:41 <+bridge> [ddnet] directx 6 09:41 <+bridge> [ddnet] directdraw 09:41 <+bridge> [ddnet] ohgod 09:42 <+bridge> [ddnet] Honestly, the way the gfx code is laid out never really made much sense to me 09:42 <+bridge> [ddnet] tbh the whole codebase makes no sense to me 09:42 <+bridge> [ddnet] same 09:42 <+bridge> [ddnet] but u live with it 09:43 <+bridge> [ddnet] The whole base has some pattern it follows atleast 09:43 <+bridge> [ddnet] Graphics is like 5 different classes 09:44 <+bridge> [ddnet] is graphics trully threaded? 09:44 <+bridge> [ddnet] Btw this thing we do of swapping on the worker threads is a completely unsupported setup 09:44 <+bridge> [ddnet] igraphics, ienginegraphics, cgraphics, cgraphics_threade, cpgrahics_threaded_lockfree, cgraphics_threaded_lockfree_vulkan 09:45 <+bridge> [ddnet] SDL says it's undefined behaviour to swap on any thread except the main thread 09:45 <+bridge> [ddnet] sometimes having isomething and then csomething becomes tiresome specially to add things 09:45 <+bridge> [ddnet] xd 09:45 <+bridge> [ddnet] but i guess its useful somewhere.. 09:45 <+bridge> [ddnet] @Learath2 interesting, normally its undefined, if it doesnt hold the opengl context 09:45 <+bridge> [ddnet] @Learath2 wasnt it ok to swap where the opengl context is? 09:46 <+bridge> [ddnet] @Ryozuki it's nice to have a defined API between two components. I kinda like interfaces honestly 09:46 <+bridge> [ddnet] but usually those interfaces are only implemented by 1 class 09:47 <+bridge> [ddnet] in our small projects yes 09:47 <+bridge> [ddnet] yeah im not talking about firefox here 09:47 <+bridge> [ddnet] :monkalaugh: 09:47 <+bridge> [ddnet] OpenGL is fine with it, SDL introduces some OS specific complexities that arent safe on other threads though. Like `NSWindow:update` on macOS 09:49 <+bridge> [ddnet] @Ryozuki yeah only one class implements them but it gives a nice clean interface. I guess that could also be achieved by formatting the class in such a way that it's declaration can be used as documentation 09:50 <+bridge> [ddnet] This way we have a kernel which I also like actually. idk I have a soft spot for singleton patterns, mostly because pompous ivy league "engineers" don't like it 09:50 <+bridge> [ddnet] learath is based 09:51 <+bridge> [ddnet] :bluekitty: 09:51 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/760408288683622430/unknown.png 09:51 <+bridge> [ddnet] Help me with my crusade against the academics or as I like to call them the backseat engineers 09:51 <+bridge> [ddnet] oh i also hate some academics 09:52 <+bridge> [ddnet] some teacher refused to use return inside forloops 09:52 <+bridge> [ddnet] and stuff like that 09:52 <+bridge> [ddnet] i wonder if that guy actually programmed 09:52 <+bridge> [ddnet] @Ryozuki makes control flow much easier 09:53 <+bridge> [ddnet] :justatest: 09:53 <+bridge> [ddnet] if you only have one place to return, easier to reason with 09:53 <+bridge> [ddnet] He refused because technically it breaks the rules of structured programming. ^^ 09:53 <+bridge> [ddnet] Though even knuth himself said a single exit point is not too important. When the guy who made the paradigm says it's pointless, I think it's time to quit your fanboyism 09:54 <+bridge> [ddnet] :poggers: 09:56 <+bridge> [ddnet] Ah I misremembered, it was Djikstra who came up with structured programming 09:56 <+bridge> [ddnet] That man was the prime example of a toxic academic 09:58 <+bridge> [ddnet] Knuth is really the only academic that seems to understand the actual complexities of the field 09:59 <+bridge> [ddnet] Funnily enough, one of the first people who seems to think the early exit is not an issue seem to be the C++ people. (RAII helps a lot with the issues that early exits can cause) 10:00 <+bridge> [ddnet] @deen 10:00 <+bridge> [ddnet] "Then the info text would also fit in 5:4 again" 10:00 <+bridge> [ddnet] what info text isnt fitting?, i cant find anything 10:00 <+bridge> [ddnet] our code is not academic :justatest: 10:01 <+bridge> [ddnet] ah its probs only with video recorder 10:01 <+bridge> [ddnet] nvm 10:02 <+bridge> [ddnet] @Ryozuki we shouldn't stop until we can prove that ddnet runs, we should move to haskell so we can actually do that 10:02 <+bridge> [ddnet] i rly want to learn haskell 10:02 <+bridge> [ddnet] but i remember having problems with the rls i think 10:02 <+bridge> [ddnet] i rly need a rls 10:02 <+bridge> [ddnet] i rly need a lsp 10:03 <+bridge> [ddnet] idk whats happening to me 10:03 <+bridge> [ddnet] rls -> lsp 10:03 <+bridge> [ddnet] @Jupstar ✪ yes, with video recorder 10:03 <+bridge> [ddnet] I wonder why the RLS doesn't implement the LSP 10:04 <+bridge> [ddnet] u mean rust one? 10:04 <+bridge> [ddnet] RLS is going to be abandoned probs 10:04 <+bridge> [ddnet] rust-analyzer is taking over 10:04 <+bridge> [ddnet] and its better 10:04 <+bridge> [ddnet] u should use it 10:04 <+bridge> [ddnet] I don't do much rust to care anyway 10:04 <+bridge> [ddnet] based 10:04 <+bridge> [ddnet] :monkalaugh: 10:05 <+bridge> [ddnet] I wish I had more to use haskell on, it's actually not too bad to code on and I'd love a reason to learn more 10:05 <+bridge> [ddnet] isnt hedgewars made with haskell 10:05 <+bridge> [ddnet] so u can prove hedgewars 10:05 <+bridge> [ddnet] runs 10:06 <+bridge> [ddnet] i wonder where the hedgewars guy that was in the irc channel is 10:07 <+bridge> [ddnet] The only good candidate for a ddnet/teeworlds rewrite seems to be rust nowadays 10:07 <+bridge> [ddnet] :justatest: 10:07 <+bridge> [ddnet] Sadly, I wish we had a little more choice 10:08 <+bridge> [ddnet] well competing against c++ is hard 10:08 <+bridge> [ddnet] D always looked quite promising to me, but I don't like it's runtime much 10:08 <+bridge> [ddnet] and i guess modern ppl prefer languages to be higher lvl 10:09 <+bridge> [ddnet] Why do people want their languages to be glorified english? :pepehands: 10:09 <+bridge> [ddnet] @Learath2 elixir or haskell 10:09 <+bridge> [ddnet] is there a difference 10:10 <+bridge> [ddnet] The difference is that I never used elixir 😛 10:10 <+bridge> [ddnet] :justatest: 10:11 <+bridge> [ddnet] i think elixir is based on erlang 10:11 <+bridge> [ddnet] the "super escalable language" 10:11 <+bridge> [ddnet] or so i read 10:11 <+bridge> [ddnet] > Erlang is a programming language used to build massively scalable soft real-time systems with requirements on high availability. 10:11 <+bridge> [ddnet] xd 10:12 <+bridge> [ddnet] I wonder how they managed to make a "massively scalable soft real-time" VM 10:12 <+bridge> [ddnet] @Ryozuki only the hedgewars server 10:12 <+bridge> [ddnet] ah 10:12 <+bridge> [ddnet] Which is usually neither scalable nor good for real-time applications without a JIT 10:13 <+bridge> [ddnet] fine or too ugly 10:13 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/760413893964070922/screenshot_2020-09-29_10-12-53.png 10:14 <+bridge> [ddnet] what changed? 10:14 <+bridge> [ddnet] 2 rows 10:14 <+bridge> [ddnet] the buttons 10:14 <+bridge> [ddnet] Skip the 2 rows I htink 10:14 <+bridge> [ddnet] Swap* 10:14 <+bridge> [ddnet] ok 10:14 <+bridge> [ddnet] the Date 10:14 <+bridge> [ddnet] being rounded 10:14 <+bridge> [ddnet] inside that darker thing 10:14 <+bridge> [ddnet] looks bad imo 10:15 <+bridge> [ddnet] it also triggers me that the dark thing with the stats is a bit smaller 10:15 <+bridge> [ddnet] :justatest: 10:15 <+bridge> [ddnet] white text on white button is worst xd 10:15 <+bridge> [ddnet] @Jupstar ✪ so you're that "nameless tee" guy I keep seeing on DDNet 😄 10:16 <+bridge> [ddnet] i dunno @deen, only if he has purple skin 😄 10:16 <+bridge> [ddnet] nono, in my mind all nameless tees I ever met are just you 10:16 <+bridge> [ddnet] xD 10:16 <+bridge> [ddnet] my 100 dev clients always open 10:18 <+bridge> [ddnet] i wish file:// 10:18 <+bridge> [ddnet] could just highlight the file in the directory 10:18 <+bridge> [ddnet] https://github.com/def-/ddnet/commit/715519f34099a82640faf748531ebedf0916e596 10:18 <+bridge> [ddnet] 10:18 <+bridge> [ddnet] i tried it, but it wants to open the demo file 😄 10:22 <+bridge> [ddnet] yeah 10:47 <+bridge> [ddnet] @Jupstar ✪ I bet there is an OS specific way to do this that we can wrap in a system.h function 10:47 <+bridge> [ddnet] yeah probably 10:47 <+bridge> [ddnet] probably not on Linux 10:48 <+bridge> [ddnet] Ah yep, not on linux 10:48 <+bridge> [ddnet] well true, tho there are probs libs for that too 10:48 <+bridge> [ddnet] Maybe the X desktop specification gives a way to do it 10:48 <+bridge> [ddnet] but can just use the current approach for linux as fallback 11:52 <+bridge> [ddnet] It won't select the first layer of a group with shift click if you had a layer of the group selected before. 11:52 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/760438796453281792/screenshot_2020-09-28_14-51-11.png 12:32 <+bridge> [ddnet] @mind ^^ done while waiting for lunch 12:34 <+bridge> [ddnet] :greenthing: 16:22 <+bridge> [ddnet] @Learath2 could you make it so editing attributes on multiple layers doesn't apply things that the user didn't touch? (for example trying to just resize layers makes them all black with 0 alpha) 16:25 <+bridge> [ddnet] Yeah, I've been having trouble with that actually 16:27 <+bridge> [ddnet] the color sliders can be tied together as long as you can resize independently 16:53 < MalwareTele14> hi 16:53 <+MalwareTele14> hi ChillerDragon 16:54 <+MalwareTele14> is anyone here 16:54 <+bridge> [ddnet] Yes, many are on Discord 16:54 <+MalwareTele14> hi? 16:56 <@deen> hi MalwareTele14 16:57 <+MalwareTele14> anyone wanna play among su 16:57 <+MalwareTele14> *among us 16:58 <+MalwareTele14> deen do you wanna play among us 17:00 <+MalwareTele14> deen wanna play 17:10 <@deen> Nope, not really 17:10 <@deen> This channel is mostly for DDNet development discussions 17:10 <@deen> You could try in #off-topic on https://ddnet.tw/discord 17:13 <+MalwareTele14> i dont have discord 18:31 <+bridge> [ddnet] something like this would be useful to have on block 18:31 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/760539356619997274/marker2.gif 18:32 <+bridge> [ddnet] something like enemy marker would be useful to have on block 18:32 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/760539356619997274/marker2.gif 18:50 <+ChillerDragon> if you forget who your enemys are they are not ur enemys 19:02 <+bridge> [ddnet] omg ddnet now has the 0.7 map based background? 19:02 <+bridge> [ddnet] epic 19:03 <+bridge> [ddnet] @Patiga in next release yes 19:04 <+bridge> [ddnet] just built it and thought it was 0.7 coz it looked so awesome ^^ 19:21 <+ChillerDragon> @deen wow idk baut the animation 19:21 <+ChillerDragon> its a light animation and you guys seem to have removed the light so there is no point in keeping it? 19:21 <+bridge> [ddnet] not about the light 19:21 <+bridge> [ddnet] about the clouds moving 19:21 <+ChillerDragon> oh 19:22 <+ChillerDragon> but the light is still there is it? 19:22 <+ChillerDragon> and i also saw the clouds jumping its horrible 19:22 <+bridge> [ddnet] Yes, but I stopped the light from jumping around, made the change in brightness subtle 19:22 <+ChillerDragon> i wonder what caused this 19:22 <+ChillerDragon> why is there a random light in the sky ? :D 19:22 <+bridge> [ddnet] well, look at envelope 20 for example, they move one way for 5 min and then jump back to start instantly 19:22 <+ChillerDragon> jumping back to start should be out of sight 19:22 <+bridge> [ddnet] dunno, I just made a minimal change, I thought someone said it was supposed to be a lamp 19:22 <+ChillerDragon> everything else is weird 19:23 <+ChillerDragon> i said its a lamp 19:23 <+ChillerDragon> but there is not lamp 19:23 <+ChillerDragon> so its light from a removed lamp in the sky lol 19:23 <+bridge> [ddnet] but it's not out of sight since we have a large area of the map that we use for menu positions probably 19:23 <+ChillerDragon> hm 19:24 <+ChillerDragon> well im lazy rn so either you do it ur self or u ping me tomorrow 19:24 <+bridge> [ddnet] I tried, but I'm horrible with editor. so I created issue for you to remember 19:24 <+ChillerDragon> issue? 19:24 <+ChillerDragon> or just a comemnt? 19:24 <+bridge> [ddnet] github issue 19:24 <+ChillerDragon> ah issue 19:24 <+ChillerDragon> so big 19:24 <+ChillerDragon> men im spamming u without contect 19:25 <+ChillerDragon> i just red 2 words from my github ping that i saw on my phone xd 19:25 <+ChillerDragon> !remind #2953 16 hours 20:58 <+bridge> [ddnet] client in the Ubuntu repository is outdated 20:58 <+bridge> [ddnet] complain to ubuntu 20:58 <+bridge> [ddnet] we're not in charge to update that 21:37 <+bridge> [ddnet] Or install arch and use the ddnet-git package. It will be the latest. 21:37 <+bridge> [ddnet] everything in ubuntu is outdated by design 21:37 <+bridge> [ddnet] Or install arch and use the ddnet-git package. It will be the latest every time. 21:37 <+bridge> [ddnet] more stable that way 21:37 <+bridge> [ddnet] use a rolling distro 21:38 <+bridge> [ddnet] GNU Guix System, Arch Linux, Gentoo Linux, openSUSE Tumbleweed, GhostBSD, PCLinuxOS, Solus (operating system), SparkyLinux and Void Linux. 21:44 <+bridge> [ddnet] https://linuxreviews.org/Mesa_20.2.0_Is_Released 21:44 <+bridge> [ddnet] :poggers: