IRC logs for #openttd on OFTC at 2024-01-19
            
00:00:21 <reldred> probably fine
00:00:27 <reldred> ยฏ\_(ใƒ„)_/ยฏ
00:00:54 <peter1138[d]> Hmm, it does boost to 2.8 GHz.
00:01:06 <peter1138[d]> But still.
00:01:10 <reldred> it did not however go zututututu
00:01:18 <reldred> not enough boost :C
00:06:21 <reldred> https://cdn.discordapp.com/attachments/1008473233844097104/1197693493867462777/image.png?ex=65bc31fd&is=65a9bcfd&hm=d4180f0c0f3cbac792c35e167d213d4d537e4813eba4b33a6c1f50608332bde7&
00:06:21 <reldred> peter1138[d]: /shrug
00:06:27 <reldred> what am i looking for?
00:06:45 <reldred> or more specifically what are you looking for?
00:06:50 <peter1138[d]> Boringly it just needs to look normal ๐Ÿ™‚
00:06:53 <reldred> the fonts look... fontish?
00:07:07 <reldred> I dunno, they don't appear offensive to me.
00:07:24 <peter1138[d]> But hey, at least you have you a ready-to-go build environment now ๐Ÿ˜‰
00:07:26 <reldred> AA on or off, pixel font on or off,
00:07:38 <reldred> It won't build a bundle, but it at least built
00:08:04 <peter1138[d]> Well, looks fine to me, no letters in wrong places all over the screen ๐Ÿ˜„
00:08:05 <peter1138[d]> Thanks
00:08:12 <reldred> there
00:08:22 <reldred> DONT say I never do anything for y'all :b
00:08:35 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #11835: Codechange: Use vector of points instead of interlaced x/y values for layouter positions. https://github.com/OpenTTD/OpenTTD/pull/11835
00:08:40 <reldred> (except cause headaches, I'm aware I do that)
00:08:53 <peter1138[d]> Only because I went with Misskey.
00:09:27 <reldred> My misskey is still working, after I pissed off the dog awful compose file and wrote my own that was less dogshit
00:18:49 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #11833: Codechange: use std::popcount instead of hand written loop https://github.com/OpenTTD/OpenTTD/pull/11833#pullrequestreview-1830817530
00:19:10 <DorpsGek> [OpenTTD/OpenTTD] reldred commented on pull request #11835: Codechange: Use vector of points instead of interlaced x/y values for layouter positions. https://github.com/OpenTTD/OpenTTD/pull/11835#issuecomment-1899427194
00:19:41 <reldred> there we go, figure its worth noting it was checked with a mac incase anyone goes searching for your scalp in twelve years time.
00:20:21 <peter1138[d]> Ta
00:31:16 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #11831: Fix #11827: Make Layouter::GetCharPosition() aware of ligatures. https://github.com/OpenTTD/OpenTTD/pull/11831
00:33:03 <peter1138[d]> Well that is a bit ugly ๐Ÿ˜ฆ
00:34:33 <peter1138[d]> I suspect the uniscribe GetGlyphToCharMap could be simplified, but not sure.
00:35:00 <peter1138[d]> As this is working around the same issue.
00:58:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #11838: Fix 09f585b: Crash if font name ends with comma or comma and whitespace on Linux. https://github.com/OpenTTD/OpenTTD/pull/11838
02:59:53 *** Wormnest has quit IRC (Quit: Leaving)
03:38:25 *** debdog has joined #openttd
03:42:10 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
04:57:18 *** virtualrandomnumber has joined #openttd
04:57:48 *** virtualrandomnumber has quit IRC ()
05:05:47 *** keikoz has joined #openttd
05:33:20 <DorpsGek> [OpenTTD/team] v0nNemizez opened issue #478: [nb_NO] Translator access request https://github.com/OpenTTD/team/issues/478
05:48:59 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #11833: Codechange: use std::popcount instead of hand written loop https://github.com/OpenTTD/OpenTTD/pull/11833
05:51:34 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #11838: Fix 09f585b: Crash if font name ends with comma or comma and whitespace on Linux. https://github.com/OpenTTD/OpenTTD/pull/11838#pullrequestreview-1831621348
06:08:51 *** keikoz has quit IRC (Ping timeout: 480 seconds)
06:13:19 *** keikoz has joined #openttd
06:25:20 *** keikoz has quit IRC (Ping timeout: 480 seconds)
07:28:01 *** _zephyris has joined #openttd
07:28:01 <_zephyris> reldred: Looks perfect, including kerning. ๐Ÿ‘
07:32:09 *** tokai|noir has joined #openttd
07:32:09 *** ChanServ sets mode: +v tokai|noir
07:38:56 *** tokai has quit IRC (Ping timeout: 480 seconds)
08:03:36 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #11838: Fix 09f585b: Crash if font name ends with comma or comma and whitespace on Linux. https://github.com/OpenTTD/OpenTTD/pull/11838
08:14:22 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #11839: Fix 9602de4: FinaliseCargoArray did nothing. https://github.com/OpenTTD/OpenTTD/pull/11839
08:17:01 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #11839: Fix 9602de4: FinaliseCargoArray did nothing. https://github.com/OpenTTD/OpenTTD/pull/11839#pullrequestreview-1831845699
08:39:35 <LordAro> peter1138[d]: why not just make it a class method?
08:47:34 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #10606: Feature: Setting to scale cargo production of towns and industries https://github.com/OpenTTD/OpenTTD/pull/10606#pullrequestreview-1831891244
08:52:55 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11832: Codechange: use C++ functions to find bits https://github.com/OpenTTD/OpenTTD/pull/11832#pullrequestreview-1831905759
09:02:21 <peter1138[d]> Oh dear, 'forgot' about my Dad's wedding anniversary. These things we are supposed to remember that don't really have any bearing on us...
09:03:42 <LordAro> that's a very strange thing to have to remember
09:04:06 <LordAro> or was he relying on you to remind him, perhaps?
09:09:21 <peter1138[d]> Judging by the slightly passive-aggressive photo and message, no...
09:09:47 <LordAro> did he mean to send it to your mum? :p
09:09:55 <peter1138[d]> That would be difficult.
09:10:18 <LordAro> oh i see
09:10:51 <DorpsGek> [OpenTTD/OpenTTD] Eddi-z commented on pull request #11832: Codechange: use C++ functions to find bits https://github.com/OpenTTD/OpenTTD/pull/11832#pullrequestreview-1831945561
09:13:47 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11832: Codechange: use C++ functions to find bits https://github.com/OpenTTD/OpenTTD/pull/11832#pullrequestreview-1831950770
09:15:44 <peter1138[d]> I want to see how well this straight-line ship pathfinder works ๐Ÿ˜„
09:33:13 <peter1138[d]> Ah, it was GRF coder mistake. Odd because they said it affects the original sprites.
09:39:22 <andythenorth> too early for lunch?
09:39:33 <andythenorth> peter1138[d]: I had thoughts about that
09:39:36 <truebrain> for you? Yes. It would be breakfast. Not lunch.
09:39:46 <andythenorth> I think it works brilliantly for the first move (finding two points)
09:40:01 <andythenorth> then you hit a land tile, then you have to keep walking land until you find water
09:40:13 <andythenorth> then you have to check that water connects in a straight line with your starting water tile
09:40:27 <andythenorth> seems....like....you could end up checking a boatload of land tiles
09:40:44 <andythenorth> the proposed algorithm seems to be predicated on land 'knowing' where the nearest water tile is
09:40:47 <andythenorth> but then....
09:40:49 <truebrain> ah ship pathfinder that auto-builds aquaducts! Solves all issues?!
09:40:54 <andythenorth> tunnels
09:41:13 <andythenorth> I guess the funny thing is that because pathfinding only water tiles is clearly inefficient
09:41:28 <andythenorth> the proposed solution is to use land tiles instead to find water, but they must know all the water tiles
09:43:01 <andythenorth> ok it is lunch
09:46:25 <LordAro> ship pathfinder that hugs the coast might be fun
09:53:07 <peter1138[d]> I had a patch that makes ships avoid the coast.
09:53:12 <peter1138[d]> *have
09:53:27 <peter1138[d]> But only 2-3 tiles or so.
09:53:48 <peter1138[d]> Was there something about river boats and ocean boats?
10:09:43 <Eddi|zuHause> there were certainly discussions about that
10:10:24 <Eddi|zuHause> IIRC ships can define a canal/river speed and an ocean speed, but based on the tile, not geography.
10:11:27 <Eddi|zuHause> so a narrow strip of ocean doesn't act like a river, and a massive lake of river tiles doesn't act like an ocean
10:27:11 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1197849732979097730/OpenTTD_20240115-master-ga1690d5b7b_2024-01-19_10-25-47.mp4?ex=65bcc37f&is=65aa4e7f&hm=e51910f5754048ad32bc58a3e094979453f29268c3b3570e3bc360ffc6ea818c&
10:27:11 <_zephyris> Tabular numerals...
10:27:37 <_zephyris> [ignore the tragic profitability!]
10:30:24 *** jinks has quit IRC (Quit: ZNC - http://znc.in)
10:30:45 *** jinks has joined #openttd
10:38:55 <peter1138[d]> Shut up tummy, you had breakfast.
10:41:56 <truebrain> almost lunch ........ (at least for me ๐Ÿ˜› )
10:50:43 *** APTX has joined #openttd
10:52:31 *** APTX_ has quit IRC (Ping timeout: 480 seconds)
10:54:35 <xarick> `CountBits(WATER_REGION_EDGE_LENGTH - 1)` this no longer compiles ๐Ÿ˜ฆ
10:57:06 <peter1138[d]> Hmm, why do you need to count the number of bits in that?
10:58:21 <xarick> i got it
10:58:22 <xarick> <https://gist.github.com/SamuXarick/0efd11da673822b35e6fa22a3d323a7a>
10:58:33 <xarick> any alternative to that?
11:03:21 <xarick> I needed >> 4
11:03:40 <xarick> any other method to get that?
11:05:11 <peter1138[d]> Hmm, what happens if EdgeLength isn't a power of 2 for some reason...
11:06:16 <xarick> uhm... then... RIP
11:06:33 <xarick> would have to find another solution
11:08:46 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1197860195477500036/image.png?ex=65bccd3d&is=65aa583d&hm=33f4b199921701cbae9010326baa2cc01b35c4bc04c031cc95811db51df9145d&
11:09:59 <xarick> maybe local_tile / WATER_REGION_EDGE_LENGTH
11:11:07 <peter1138[d]> Yes, you could.
11:17:36 <xarick> assert((local_tile & (WATER_REGION_EDGE_LENGTH - 1)) == (local_tile % WATER_REGION_EDGE_LENGTH));
11:17:41 <xarick> nice, it works
11:18:03 <xarick> less operations, i guess
11:20:06 <xarick> <https://gist.github.com/SamuXarick/0efd11da673822b35e6fa22a3d323a7a#file-_getsidexory-cpp>
11:21:26 <peter1138[d]> Well, % is possibly slower.
11:22:19 <peter1138[d]> If you With WATER_REGION_EDGE_BITS
11:22:24 <peter1138[d]> Er
11:22:46 <peter1138[d]> If you define WATER_REGION_EDIT_BITS as a constexpr then you know that the calculation happens at compile-time, so that is not a concern.
11:23:52 <peter1138[d]> So it would be doing "localtile >> 4"
11:27:40 <xarick> >> is cheaper than / ?
11:28:03 <LordAro> as a general rule, yes
11:28:11 <xarick> alright, gonna do it
11:28:15 <LordAro> but any compiler made in the last 30 years will optimise it for you
11:28:18 *** merni has joined #openttd
11:28:18 <merni> It ought to be but any compiler that sees x / 2^n will optimise it to a bit-shifr
11:28:22 <merni> lol
11:28:42 <LordAro> you'll find that a compiler will rarely output an actual division operation
11:30:21 <LordAro> extremely basic example: https://godbolt.org/z/ff3xxMT1K
11:30:35 <LordAro> 5 is actually a multiply, several shifts and a sub
11:30:39 <LordAro> don't ask me how that works
11:31:15 <merni> lmao
11:31:40 <LordAro> division by pretty much any constant will not actually be executed as a division
11:32:05 <LordAro> (obviously it has to do an actual divide if it doesn't know what the value will be)
11:35:45 <peter1138[d]> Yeah / 16 & % 16 will be fine.
11:36:10 <peter1138[d]> Compiler replaces % 16 with & 15 usually.
11:36:28 <merni> Well, `x / 16 & % 16` is likely to be an error :p
11:36:56 <peter1138[d]> hah, that was an and & ๐Ÿ™‚
11:37:13 <merni> I guessed as much
11:37:14 <_jgr_> The sub is to handle negative inputs, otherwise it's just fixed point arithmetic
11:40:30 <merni> Interestingly clang produces code involving `idiv` by default unless `-O` is given
11:41:04 <merni> perhaps different defauls?
11:41:12 <_jgr_> There's really no point compiling anything without a -O flag at some level
11:41:30 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #11832: Codechange: use C++ functions to find bits https://github.com/OpenTTD/OpenTTD/pull/11832#pullrequestreview-1832260429
11:44:10 <peter1138[d]> Hmm, I can't even see where we set -O.
11:44:24 <peter1138[d]> CMake builtin?
11:44:34 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
11:44:42 <merni> _jgr_: GCC apparently optimises away division even with `-O0` though, that is what threw me off
11:54:03 *** asymptotically2 has quit IRC (Ping timeout: 480 seconds)
11:59:10 *** asymptotically2 has joined #openttd
12:03:22 <peter1138[d]> Might be lunch.
12:07:39 <peter1138[d]> My fellow cyclists might go out on their bikes for an hour, but it's still cold and frosty and I'm lazy anyway.
12:10:07 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1197875636677644298/image.png?ex=65bcdb9f&is=65aa669f&hm=c64492fb299b3667809e0b61e4389460dc50b893a356b5f88d8db5edd2a18b42&
12:10:07 <xarick> why is it worse
12:10:34 <xarick> anyways, my code is buggy somewhere
12:24:17 <xarick> i have a hard time reproducing this bug
12:24:38 <xarick> when I load from the savegame, it doesn't exhibit it
12:24:52 <xarick> when i build the route in-game, it happens
12:25:20 <peter1138[d]> Create an AI that builds the route ๐Ÿ˜‰
12:30:10 <xarick> random lost ships for no real reason ๐Ÿ˜
12:32:49 <xarick> i must have messed up somewhere
12:33:07 <xarick> happens in 4096x4096 maps
12:33:16 <xarick> doesn't happen on 256x256, doesn't happen on 512x512
12:33:25 <xarick> gonna keep testing until it happens
12:34:08 <peter1138[d]> Try 64x4096 if you need a long distance without a huge map.
12:34:46 <xarick> seems that invalidation is screwing something
12:34:59 <xarick> the first ship invalidates the 2nd ship
12:35:08 <xarick> and then the 2nd ship gets lost
12:35:27 <xarick> but this is my fault, I'm pretty sure
12:35:52 <xarick> I changed some ints to uint8_t's and uint16_t's maybe some limit is incorrect
12:55:59 <peter1138[d]> Hmm, I can't pass an initializer_list to SetWidgetsDisabledState ๐Ÿ˜ฎ
12:57:44 <truebrain> fix it!
12:57:55 <truebrain> I am happily using std::span .. hmmmm
12:58:27 <peter1138[d]> Nice.
12:58:52 <peter1138[d]> The issue I had is that, until C++23, it doesn't have const_iterator, no cbegin()/cend()
12:59:10 <LordAro> fun fact, libffi by default compiles with -march=<detected native>
12:59:15 <LordAro> guess how i know this
12:59:19 <LordAro> and how long it took me to figure it out
13:06:07 <truebrain> `error: use of undeclared identifier 'EM_ASM'`
13:06:20 <truebrain> the downside of Emscripten macros, you only see that it doesn't know the macro unless you removed its full context
13:06:27 <truebrain> you also don't want to know how long that took me ๐Ÿ˜›
13:06:35 <LordAro> :D
13:07:11 <truebrain> Also, find the issue with this:
13:07:13 <truebrain> ```#elif !defined(__APPLE__) && !defined(__NetBSD__) && !defined(__FreeBSD__)
13:07:13 <truebrain> # include <sys/random.h>
13:07:13 <truebrain> #elif defined(__EMSCRIPTEN__)
13:07:13 <truebrain> # include <emscripten.h>```
13:07:15 <truebrain> sometimes ....
13:07:44 <peter1138[d]> Yeah, wrong order ๐Ÿ™‚
13:09:11 <truebrain> hmm, why is emscripten asking me for survey ... did I fix Emscripten can send surveys? Can't remember ..
13:12:01 <truebrain> I did not
13:12:25 <truebrain> why not? Not sure ... I think I tried a few times, but I keep forgetting where it fails ๐Ÿ˜›
13:17:12 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #11837: Change: use a stronger hash and actual random information to generate Uids https://github.com/OpenTTD/OpenTTD/pull/11837
13:17:13 <truebrain> w00p, now with Emscripten support ^^ ๐Ÿ™‚
13:19:44 <truebrain> that should be sufficient to build signature validation on ... let's try!
13:20:18 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1197893297574789260/2024-01-19_13-19-11.mp4?ex=65bcec11&is=65aa7711&hm=07bdbdf032bc246d1fa06c24ff73888481cf91ae5b59c1c262089c4be432e363&
13:20:18 <xarick> I get this weird behaviour... ๐Ÿ˜ฆ
13:21:20 <xarick> Sarnwell Docks is right there on the left
13:22:09 <peter1138[d]> Does it do that in master?
13:22:43 <xarick> I suppose not, let me try
13:29:48 <truebrain> what would be a good english description to say a plugin has an invalid signature, so users understand it?
13:30:19 <truebrain> `Unauthorized` .. `Invalid Signature` .. `Couldn't validate` .. `Not by known author` ..
13:30:40 <truebrain> `Failed Validation`
13:32:08 <truebrain> `Unknown source`
13:35:33 <LordAro> i'd say invalid signature is fine
13:35:46 <truebrain> will do for now ๐Ÿ™‚
13:38:13 *** nielsm has joined #openttd
13:40:22 <xarick> oh noes, it happens in master too
13:40:33 <xarick> let me verify wether the ship is actually lost
13:40:56 <xarick> oh, it is indeed
13:41:12 <xarick> a stupid house growth blocked passage
13:41:27 *** keikoz has joined #openttd
13:41:55 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1197898739541627060/image.png?ex=65bcf123&is=65aa7c23&hm=c1ae58d9184d97de34eac51fd538befb34862aeff1d38a6c8026f9af3170b6ab&
13:41:55 <xarick> thx town growth algorithm
13:42:12 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #11837: Change: use a stronger hash and actual random information to generate Uids https://github.com/OpenTTD/OpenTTD/pull/11837
13:46:47 <xarick> honestly, I'd rather have ships bunch up at the location they can't pass and not wander around
13:47:07 <peter1138[d]> That isn't how pathfinding works ๐Ÿ™‚
13:47:12 <xarick> so that when I fix the blockage, they won't have to come from whatever they went
13:47:18 <truebrain> because ships know they cannot pass at a certain location .... *puzzled look*
13:47:34 <xarick> it is
13:47:45 <xarick> it's the last node with the cheapest cost they can reach
13:47:55 <xarick> cheapest estimate to dest
13:48:00 <truebrain> if you think about this a tiny bit longer, you will know that is not true ๐Ÿ™‚
13:49:44 <xarick> it is true
13:50:10 <xarick> used to be like that
13:50:32 <truebrain> in no world that was ever the case ๐Ÿ™‚
13:50:53 <xarick> okay let me load in 13.4
13:50:54 <truebrain> the lowest estimate is the closest tile to the destionation; by no means it is the tile blocking anything
13:51:25 <xarick> bah, savegame made with new version ๐Ÿ˜
13:51:51 <_glx_> if there's no path, there's no paht
13:52:23 <truebrain> haha, we can make the PF even more expensive: if no path, add a big penalty for "going over land", and see when you do find a path
13:52:28 <truebrain> that must be the tiles blocking you
13:52:30 <truebrain> ๐Ÿ˜›
13:53:04 <peter1138[d]> Hovercraft pathfinder?
13:53:16 <_glx_> and destroy trains
13:53:35 <truebrain> that never happened
13:56:31 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1197902412829163530/2024-01-19_13-55-48.mp4?ex=65bcf48f&is=65aa7f8f&hm=6d194da360048e848a0c8e2d87ea2f7bdf27f1af86ca1024ec6f887d0742ddc8&
13:56:31 <xarick> well well looks like it happens in master after all
13:56:55 <truebrain> once again Xarick got stuck in a local optimum
13:57:18 <truebrain> "it is true for my case, it must be true for any case!"
13:57:58 <xarick> pretty sure that if i load the savegame back, it gets unstuck
13:58:52 <xarick> รตh it is still stuck
14:04:27 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened issue #11840: [Bug]: Ship is stuck https://github.com/OpenTTD/OpenTTD/issues/11840
14:11:32 <_glx_> I know why it's stuck
14:11:51 <_glx_> it's the reversing
14:12:26 <xarick> I suspect it's the random path
14:12:30 <_glx_> guess it doesn't check all valid directions
14:12:50 <xarick> how did it end in that situation
14:14:48 <_glx_> if you make the canal larger it might unblock
14:14:50 <xarick> this is what I think <https://github.com/OpenTTD/OpenTTD/blob/master/src/pathfinder/yapf/yapf_ship.cpp#L175-L189>
14:16:34 <peter1138[d]> So it's stuck on one tile on TRACK_BIT_LEFT.
14:18:39 <_glx_> I remember fixing some of these with <https://github.com/OpenTTD/OpenTTD/pull/9610>
14:20:13 <_glx_> issue looks very similar too me
14:20:52 <xarick> switched to NPF, it fixed itself
14:21:56 <_glx_> I think it's may be fine with yapf in 13.4
14:23:16 <xarick> it's not doing a yapfshipcheckreverse
14:23:50 <xarick> somewhere in ShipChooseTrack is the bug
14:23:59 <xarick> ChooseShipTrack
14:26:32 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #11840: [Bug]: Ship is stuck https://github.com/OpenTTD/OpenTTD/issues/11840
14:28:07 <peter1138[d]> ChooseShipTrack trusn INVALID_TRACK because it can't find a path that way.
14:28:23 <peter1138[d]> So it just turns out 90 degrees, and then does the same.
14:28:34 <peter1138[d]> ship_cmd.cpp:776
14:28:54 <truebrain> poor ship ๐Ÿ˜„
14:30:18 <xarick> why isn't a path found though?
14:30:27 <xarick> or why it works with NPF
14:37:29 <peter1138[d]> It turns around, then moves to the end of the tile and looks for a path.
14:38:05 <peter1138[d]> It does not search for a path after turning around because that is only done when reaching a new tile.
14:40:15 <peter1138[d]> Hmm, having said that this call does happen when it's about to move onto a new tile.
14:40:20 <peter1138[d]> (It then doesn't)
14:43:21 *** Extrems has quit IRC (Quit: ZNC 1.7.5 - https://znc.in)
14:44:28 <peter1138[d]> Hmm, is there a call to find the 'next' trackdir from the current trackdir.
14:44:30 *** Extrems has joined #openttd
14:46:15 <xarick> i think I see the problem
14:46:34 <xarick> even when a path is not found, it still should return a track
14:46:46 <xarick> not INVALID_TRACK
14:47:10 <peter1138[d]> Nope.
14:47:34 <xarick> trying to compare to old yapf
14:47:52 <peter1138[d]> This is not new.
14:47:59 *** rudolfs[m] has quit IRC (Quit: Client limit exceeded: 20000)
14:48:49 <xarick> hmm... I'm kinda sure it didn't happen before, or I would have noticed
14:49:41 <xarick> maybe I'm wrong, but I've never seen my ships get stuck like that in 13.4
14:52:01 <FLHerne> it's not something I've seen, and I used to build a lot of ships on rivers
14:52:40 <FLHerne> they get trapped in corners like that when modifying terrain but never seen it with water tiles at the ends
14:52:47 <truebrain> I have never seen pink elephants; doesn't mean they aren't there ๐Ÿ˜›
14:53:14 <xarick> what was the value of YAPF_SHIP_PATH_CACHE_LENGTH
14:53:19 <xarick> ๐Ÿ˜
14:53:37 <FLHerne> I don't remember ships ever clustering at the closest point to their destination
14:53:42 <FLHerne> if they're lost they're lost
14:57:30 <xarick> ah, 32
14:59:12 <xarick> confirmed, works with old yapf
14:59:29 <xarick> it returns something different than INVALID_TRACK
15:01:14 <xarick> TRACK_DIR_LOWER_W
15:06:12 <xarick> if (!path_found && !node) return INVALID_TRACKDIR; might be this
15:06:15 <xarick> let me test
15:07:02 <xarick> yep, problem solved
15:07:05 <xarick> ๐Ÿ™‚
15:08:00 <truebrain> do we have a function that converts a hexstring to a bytestring?
15:10:29 <_glx_> there's also the return at end of function (it used to not be INVALID_TRACKDIR)
15:11:23 <xarick> that one is just impossible to be reached
15:11:47 <xarick> it's just there because security bot whoever complains about it
15:12:04 <_glx_> truebrain: I can see DecodeHexNibble() and DecodeHexText(), but might not be what you want
15:12:50 <truebrain> no, that is what I was looking for; it is just written in a very old dialect ๐Ÿ˜›
15:12:52 <truebrain> but tnx
15:13:58 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #11841: Fix #11840: Return a valid trackdir even when path is not found https://github.com/OpenTTD/OpenTTD/pull/11841
15:20:11 <truebrain> still 300 lines of code to do signature validation .. more than I expected.
15:23:55 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11841: Fix #11840: Return a valid trackdir even when path is not found https://github.com/OpenTTD/OpenTTD/pull/11841#pullrequestreview-1833020771
15:31:58 <truebrain> awh, C++20 doesn't offer a `constexpr std::string` ๐Ÿ˜›
15:31:58 <truebrain> sad
15:33:11 <peter1138[d]> string_view?
15:34:17 <peter1138[d]> Even though I managed to replicate #11840... I can't do it again ๐Ÿ˜ฎ
15:34:49 <truebrain> hmm, yeah, string_view works too
15:35:08 <truebrain> I think I am overcomplicating this, but that is okay: I have a hex-string compile-time I want to convert to a byte-array
15:35:24 <truebrain> I wrote a `static constexpr bool ConvertHexToBytes(std::string_view hex, std::span<uint8_t> bytes)`
15:35:27 <truebrain> but that is not going to help ofc
15:35:38 <_glx_> why not make it a compile time byte array ?
15:35:41 <truebrain> (I know, `static constexpr` is unneeded)
15:35:48 <truebrain> because us humans are better in reading a hex-string
15:36:03 <truebrain> and it is something we want to be able to read and put in other tools easily
15:36:09 <truebrain> (a public key, in this case)
15:37:00 <truebrain> mostly what I want, that compile-time it is checked that it is a hex-string, and not some other garbage
15:37:29 <_jgr_> That sounds like something you could more simply do using CMake, writing into rev.cpp, or similar
15:37:51 <truebrain> yeah, that would work too; but now I am curious if it can be done in C++ ๐Ÿ˜›
15:37:57 <truebrain> you know how that goes ๐Ÿ˜„
15:42:10 <truebrain> I miss Rust macros at these times ... ๐Ÿ˜„
15:42:26 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #11628: Feature: Plugin framework for Social Integration with Steam, Discord, GOG, etc https://github.com/OpenTTD/OpenTTD/pull/11628
15:42:30 <truebrain> well, at least let's check what the CI thinks about my work
15:42:40 <xarick> do I have the liberty to improve that function a bit?
15:42:48 <xarick> or just do what I was told
15:43:03 <merni> which function?
15:43:21 <xarick> ChooseShipTrack
15:43:22 <merni> but here you are an open source contributor and not an employee so you can work on what you want
15:43:37 <merni> whether it will be accepted by other devs is a different matter :)
15:43:56 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11628: Feature: Plugin framework for Social Integration with Steam, Discord, GOG, etc https://github.com/OpenTTD/OpenTTD/pull/11628#pullrequestreview-1833084101
15:44:00 <xarick> I have a problem with line 275
15:44:20 <xarick> it will never be reached
15:44:46 <xarick> the for loop always returns something, there's no way it doesn't run
15:46:25 <xarick> but removing it will make security expert bot to say not all paths return something or similar error
15:46:29 <xarick> it's a false positive
15:47:23 <xarick> if I use a break in the loop, it then complains that the loop won't be ... looped
15:48:11 <xarick> there is a continue somewhere in the loop, so it loops
15:48:17 <peter1138[d]> 1) why worry about it. 2) `if (!path_found && node == nullptr) break;`
15:48:27 <peter1138[d]> Then it will break, and use the return at the end.
15:48:39 <merni> The security warnings can be ignored though, right?
15:48:48 <xarick> oh, nice! thanks, that solves my headache:=)
15:48:49 <merni> If they are irrelevant
15:49:30 <peter1138[d]> But: It is fine to have a redundant return statement. It is not allowed to NOT have a return statement.
15:50:08 <xarick> a break as the last line in the loop was triggering many bots
15:50:12 <xarick> ๐Ÿ™‚
15:50:22 <xarick> but there, I guess it's fine
15:52:37 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #11841: Fix #11840: Return a valid trackdir even when path is not found https://github.com/OpenTTD/OpenTTD/pull/11841
15:54:13 <xarick> the track it returns is also weird though
15:54:32 <xarick> but at least it's what it used to do
15:57:34 <xarick> it would be valid if the ship was reversing at the other side of the tile
15:58:50 <xarick> some other function is solving it to a proper track
15:59:39 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #11836: Change: Invalidate music volume when starting music playback on Windows. https://github.com/OpenTTD/OpenTTD/pull/11836#pullrequestreview-1833132597
16:03:08 *** Wormnest has joined #openttd
16:04:29 <xarick> nevermind, I'm seeing things wrong
16:04:53 <xarick> it's a valid track
16:05:12 <xarick> the ship is actually one tile behind
16:05:48 <xarick> TRACK_DIR_LOWER_W exists in the tile
16:25:22 <xarick> All checks have passed
16:25:30 <xarick> no complaints from security expert
17:01:40 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #11836: Change: Invalidate music volume when starting music playback on Windows. https://github.com/OpenTTD/OpenTTD/pull/11836
17:09:21 <peter1138[d]> Hmm, oops.
17:09:34 <peter1138[d]> Should've been fix.
17:09:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed issue #11822: [Bug]: Music is still playing while volume is set to 0 https://github.com/OpenTTD/OpenTTD/issues/11822
17:10:00 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #11822: [Bug]: Music is still playing while volume is set to 0 https://github.com/OpenTTD/OpenTTD/issues/11822
17:14:25 *** Wolf01 has joined #openttd
17:20:17 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed issue #10498: [Crash]: Assert in autoreplace GUI when clicking on an articulated variant vehicle being autoreplaced https://github.com/OpenTTD/OpenTTD/issues/10498
17:20:20 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #10498: [Crash]: Assert in autoreplace GUI when clicking on an articulated variant vehicle being autoreplaced https://github.com/OpenTTD/OpenTTD/issues/10498
17:47:12 <xarick> did I make a booboo?
17:47:54 <xarick> `const uint16_t nx = water_region_patch.x + offset.x;`
17:48:00 <xarick> water_region_patch.x is uint8_t
17:48:10 <xarick> 255 + 1 = 256 or 0?
17:48:53 <xarick> offset.x is uint16_t
17:54:06 <xarick> pff generating a 4096x4096 map in debug mode zzz ๐Ÿ˜ฆ
18:26:08 <xarick> why is this only happening on 4k maps... what am I doing wrong
18:37:12 <xarick> doesn't happen on 64x4096, neither in 4096x64
18:37:27 <LordAro> there are other options
18:40:49 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/db7697bcdfeb80ddca277e5fba864b6b02b197c2
18:40:50 <DorpsGek> - Update: Translations from eints (by translators)
18:47:41 <xarick> it's so strange
18:47:58 <xarick> when i load back the savegame, it fixes itself
18:48:59 <xarick> it's taunting me
18:51:14 <LordAro> that sounds like it has desync potential
19:15:25 <peter1138[d]> Addressed by #11750?
19:16:09 <peter1138[d]> Oops. Had nap.
19:21:25 <andythenorth> Naps happen
19:22:30 <andythenorth> โ€œNaps donโ€™t kill people, nappers doโ€
19:23:02 <andythenorth> GLC innit
19:37:25 <peter1138[d]> Well
19:38:08 <_zephyris> Very niche question: Why is `PC_ORANGE` in `palette_func.h` `0xC2` (https://github.com/OpenTTD/OpenTTD/blob/db7697bcdfeb80ddca277e5fba864b6b02b197c2/src/palette_func.h#L66) while `TC_ORANGE` in `string_colours.h` `192 = 0xC3` (https://github.com/OpenTTD/OpenTTD/blob/db7697bcdfeb80ddca277e5fba864b6b02b197c2/src/table/string_colours.h#L18).
19:38:42 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1197988525455458324/image.png?ex=65bd44c2&is=65aacfc2&hm=3096ae028052c0a950154ef1c4f6569493feaa4cc7cf66bb12fea2e1a690176c&
19:38:42 <_zephyris> Seems to lead to subtle but annoying colour mismatches in the GUI
19:39:21 <peter1138[d]> PC_ORANGE is only used by the smallmap.
19:40:06 <peter1138[d]> The slightly different colour there is because that is the colour someone drew pixels in.
19:40:14 <_zephyris> Hmm, I mean `_colour_gradient[COLOUR_ORANGE][4]`
19:40:29 <_zephyris> The line for the settings tree is different to the orange text.
19:40:53 <_zephyris> And the same for subcategory trees of trains I think
19:46:06 <frosch123> text colours (TC_xxx) and company colours (COLOUR_xxx) do not match
19:47:47 <peter1138[d]> Yeah, they just have an overlap in names. The line could be drawn with `_string_colourmap[TC_ORANGE]` instead of `_colour_gradient[COLOUR_ORANGE][4]` but so far nobody has been bothered enough by it ๐Ÿ™‚
19:48:03 <frosch123> https://github.com/OpenTTD/OpenTTD/blob/db7697bcdfeb80ddca277e5fba864b6b02b197c2/src/gfx_type.h#L231 <- there are 16 company colours, and 17 text colours, they only match occasionally
19:48:28 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #11628: Feature: Plugin framework for Social Integration with Steam, Discord, GOG, etc https://github.com/OpenTTD/OpenTTD/pull/11628
19:48:39 <_zephyris> Weird that GUI elements are using CC rather than text colours then!
19:48:56 <frosch123> the window backgrounds and all button shades are CC
19:49:01 <frosch123> only text uses text colours
19:49:06 <frosch123> text is weird
19:49:20 <truebrain> Remove text when?
19:49:34 <peter1138[d]> Replace with hotkeys. Make it 12% faster.
19:49:39 <truebrain> \o/
19:50:56 *** virtualrandomnumber has joined #openttd
19:51:01 *** virtualrandomnumber has quit IRC ()
20:01:04 <andythenorth> WASD
20:02:35 <_zephyris> No text, no translation needed, perfect!
20:04:24 <peter1138[d]> Might give up on this Doom WAD, the difficulty jumped ๐Ÿ˜ฎ
20:04:49 <peter1138[d]> Not keen on enforced "die at the end of the map to reset your state"
20:07:51 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #11839: Fix 9602de4: FinaliseCargoArray did nothing. https://github.com/OpenTTD/OpenTTD/pull/11839
20:10:44 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #11832: Codechange: use C++ functions to find bits https://github.com/OpenTTD/OpenTTD/pull/11832
20:11:58 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #11378: Change: Use Town Production Effect for town cargo production https://github.com/OpenTTD/OpenTTD/pull/11378
20:14:54 <xarick> Finally, a lead
20:14:57 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1197997647852736613/image.png?ex=65bd4d40&is=65aad840&hm=464f09afb8880b8f732387ba0d2f7f35552c0bfe4f23238f9b9f59dc9f5a9b0c&
20:15:09 <xarick> label shouldn't be 0
20:16:54 <xarick> it is saying the origin which was added, and found with a docking tile, has a label of 0
20:17:09 <xarick> should be 1 at least
20:17:18 <xarick> it's a docking tile! has water
20:21:55 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10606: Feature: Setting to scale cargo production of towns and industries https://github.com/OpenTTD/OpenTTD/pull/10606
20:24:13 <xarick> the region wasn't updated when i placed the canals
20:24:19 <xarick> it can only be that
20:24:57 <xarick> but why isn't it happening on a map other than 4k
20:28:08 <xarick> path not found
20:28:15 <xarick> geee... this was tedious to debug
20:28:21 <xarick> but I found the cause
20:29:10 <xarick> now as to find why the region wasn't updated...
20:33:23 *** Flygon has joined #openttd
20:43:10 <peter1138[d]> Oh, regression failed :/
20:51:18 <xarick> i tried this in master, and I just can't reproduce it
20:51:24 <xarick> label is 1
20:51:35 <xarick> it continues to be my code
20:59:01 <peter1138[d]> Bugger :/
21:01:01 <xarick> edited vs original <https://gist.github.com/SamuXarick/2ddc5253cf29d1c8b5f7a941a2a58b30>
21:01:16 <xarick> what in there is wrong
21:05:42 <xarick> dang it, Ithink i found it
21:05:45 <xarick> it's line 27
21:06:25 <xarick> no its not
21:06:31 <xarick> dang, false alarm, it's something else
21:07:32 <andythenorth> well
21:07:40 <andythenorth> goes it play OpenTTD ?
21:07:43 <andythenorth> when is version 2?
21:10:09 <peter1138[d]> Hmm, can I ctest with valgrind...
21:10:44 <andythenorth> is this for your straight line ship pathfinder?
21:10:50 <andythenorth> or are you trying to Doom speedrun?
21:11:49 <peter1138[d]> 1/1 Test #65: regression_stationlist ...........***Failed 136.69 sec
21:11:52 <peter1138[d]> Okay so that ...
21:11:56 <_glx_> peter1138[d]: and only for VS2019
21:12:25 <peter1138[d]> I think it just timed out with valgrind rather than actually failing though.
21:12:33 <_glx_> it's timeout fail, so crash window or assert
21:13:53 <peter1138[d]> Yes, but I don't know how to see it :/
21:15:27 <_glx_> I can try something, but I need to install 2019 toolset first
21:15:57 <xarick> how do I debug master and my branch side by side with visual studio?
21:16:26 <xarick> i create another repository?
21:16:27 <peter1138[d]> Clone your local repo, checkout master, build it, run ijt.
21:17:33 <xarick> okay ๐Ÿ˜
21:25:23 <peter1138[d]> If I know how to fix regression to spit out an error instead of hanging on a Window :/
21:25:40 <andythenorth> did I break cdist this game?
21:30:31 <Rubidium> truebrain, I did a "stupid" thing: https://rbijker.net/openttd/s390x-survey.png ;)
21:31:06 <truebrain> Lolz
21:31:13 <truebrain> And everything still works?
21:32:06 <peter1138[d]> Even the colours are right ๐Ÿ™‚
21:32:42 <Rubidium> not sure about everything, but the regression tests do not fail and I can get into the main menu. Though I forgot to make a release build, so it's practically a slide show and didn't want to wait an hour or so to recompile
21:32:46 <Rubidium> (yet)
21:34:42 <truebrain> Did anyone ever said you are crazy? ๐Ÿ˜›
21:35:16 <truebrain> And gratz, you are the first person in a decade to try "big" ๐Ÿ˜›
21:36:19 <Rubidium> well, I was fairly sure it wouldn't be completely dead because Debian (still) manages to build OpenTTD for s390x
21:39:40 <_glx_> ok I can configure with the right toolset, let's build and run regression
21:40:25 <xarick> I can't build
21:43:56 <_glx_> stupid me, I should get the PR code too
21:45:29 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1198020433774117014/message.txt?ex=65bd6279&is=65aaed79&hm=e25db7122301abb1fba4c6e2cda37377fa68bc9145de334b9a79f74d8841b130&
21:45:36 <xarick> doesn't let me build
21:46:24 <_glx_> update your vcpkg clone
21:47:49 <xarick> how
21:48:27 <_glx_> hmm or clear the cache
21:49:26 <xarick> ah, it was the cache
21:49:32 <xarick> cleared it, now it's building
21:50:12 <xarick> two visual studios building at the same time
21:50:16 <xarick> fantastic
21:50:38 <_glx_> good news, regression hangs when using 14.29 toolchain (VS2019)
21:50:57 <peter1138[d]> bad news...?
21:51:02 <_glx_> but no windows
21:51:21 <_glx_> I'll need to run my regression debug target
21:51:26 <peter1138[d]> Hmm... infinite loop?
21:52:27 <_glx_> please VS, stop opening hundreds of powershell windows
21:52:33 <peter1138[d]> heh
21:53:18 <xarick> I need to convince myself I need a 16 core cpu
21:53:29 <xarick> maybe this is a valid reason
21:53:38 <_glx_> https://gist.github.com/glx22/894e0123a5d9887d9544ea2db4d8807e
21:53:59 <_glx_> that's what I get when I run openttd in VS using regression args
21:54:59 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #11378: Change: Decouple town cargo production from cargo type. https://github.com/OpenTTD/OpenTTD/pull/11378
21:55:22 <peter1138[d]> Maybe that helps. It changes how the town_production_cargoes are reset.
21:57:23 <peter1138[d]> Although I've just noticed there's a break at :217 there that should probably be a continue...
21:57:35 <_glx_> same error, and on same cargo (bitnum 3 sorted[7]
21:58:39 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:58:57 <peter1138[d]> Can you see its town_production_effect value?
22:01:03 <_glx_> TPE_NONE
22:01:14 <peter1138[d]> So nothing special there :/
22:04:13 <peter1138[d]> <https://stackoverflow.com/questions/67706161/orphan-range-crash-when-using-static-vector-another-example-of>
22:04:51 <peter1138[d]> Hmm.
22:05:13 <peter1138[d]> I think I know.
22:05:59 <peter1138[d]> @glx line 25 of cargotype.cpp, add {} to the end
22:08:30 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #11378: Change: Decouple town cargo production from cargo type. https://github.com/OpenTTD/OpenTTD/pull/11378
22:12:34 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:15:41 <_glx_> works now
22:15:53 <_glx_> https://cdn.discordapp.com/attachments/1008473233844097104/1198028081844211864/image.png?ex=65bd6998&is=65aaf498&hm=2f34e2112e0be885f62cd4a6e88074b4851ecf503dd0d63e12e3e039de34aa9c&
22:16:29 <_glx_> _Mylast was wrong for the insertion of a value
22:16:48 <_glx_> 0xcdcd... is a memory error marker
22:16:56 <peter1138[d]> Yes, the vectors were not initialized correctly.
22:17:51 <peter1138[d]> std::array is the awkward container for that
22:22:14 <_glx_> seems to be a compiler bug too
22:25:31 <_glx_> nice I added the toolset to only one preset, and it's now applied to all
22:25:49 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1198030580827299951/image.png?ex=65bd6bec&is=65aaf6ec&hm=3d82300df5faf7e0bc0b15ef299571f9e49f012ddb639beb9653a06a0e5bd8ce&
22:25:49 <andythenorth> oof I can't play properly
22:26:42 <peter1138[d]> _glx_: I think the bug is with a static vector, but this is an array of vectors.
22:32:51 <peter1138[d]> But oddly, I don't remember it failing before. But, it was c++17 before.
22:55:21 <peter1138[d]> Nice green tick now ๐Ÿ™‚
22:56:02 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1198038187587678289/image.png?ex=65bd7302&is=65aafe02&hm=f8f9e044e257651938a83b4bcb5447348045090952159a9836061a44bf3c94da&
22:56:02 <_zephyris> (arguably) better... Except I can't work out what I'm supposed to use for black.
22:58:26 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1198038790405636177/image.png?ex=65bd7392&is=65aafe92&hm=9d69af5939b5dc0ec4e78ca0e9ac6ccf2bd4be30dca91bc4054c157dca1ebf4f&
22:58:26 <_zephyris> And what's with the glitchy 2px wide lines using `GfxDrawLine`?
23:01:45 <_glx_> I think it's a known bug
23:01:46 <peter1138[d]> Known big, nobody fixed yet ๐Ÿ™‚
23:01:51 <peter1138[d]> Bug ..
23:01:58 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:02:04 <peter1138[d]> Auto complete on my phone really hates bug.
23:02:21 <_glx_> someone tried IIRC, but it broke somewhere else
23:02:38 <_zephyris> I could use fill rect I guess
23:02:55 <peter1138[d]> Have you added a shadow to the line? Hmm
23:03:35 <_zephyris> Line: Same colour as orange text, scale with bevels, add shadow. +/- Icons: Same colour as orange text.
23:04:33 <peter1138[d]> Doesn't seem to be the same shade there, yet.
23:06:07 <_zephyris> Nope, can't find black! Currently `TC_BLACK`, which doesn't give black. `_colour_gradient[COLOUR_GRAY][0]` is gray too.
23:06:44 <peter1138[d]> PC_BLACK got line drawing.
23:07:16 <_glx_> TC_ is only for strings
23:07:58 <peter1138[d]> TC is only an index to an array of palette colours.
23:08:13 <_zephyris> `_colour_gradient[COLOUR_ORANGE][5]` is the same shade
23:08:40 <peter1138[d]> Only a coincidence. Newgrfs can change that.
23:09:37 <peter1138[d]> 195 is the palette colour that TC_ORANGE uses.
23:09:39 <peter1138[d]> Iirc
23:09:48 <_zephyris> It currently uses `_colour_gradient[COLOUR_ORANGE][4]`!
23:10:00 <peter1138[d]> Yup
23:10:29 <_zephyris> Yeah, I'm after 0xC3
23:11:26 <peter1138[d]> Make line-drawing glyphs and draw it all as text ๐Ÿ˜‰
23:13:01 <_zephyris> Well, yeah
23:13:12 <peter1138[d]> Don't do that, btw.
23:13:21 <_zephyris> I can think of several reasons it'd break!
23:14:01 <peter1138[d]> It's not a bad idea for the expand/shrink icon mind you.
23:17:04 <_zephyris> Well, there's always unicode private ranges...
23:18:31 <_glx_> oh we could use <https://en.wikipedia.org/wiki/Box_Drawing> but alignment might be a pain
23:18:46 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1198043907028693064/image.png?ex=65bd7856&is=65ab0356&hm=76419d40933bef5e7ab9851ccab177a68b93d92617cf867445acacfadec38cdc&
23:18:46 <_zephyris> Hah, can't believe I hadn't checked the train/lorry/etc. icons. Looks great being rendered anti-aliased.
23:19:21 <peter1138[d]> That"d break when people use out-of-proportion font sizes.
23:19:30 <peter1138[d]> Yup, nice icons.
23:19:56 <peter1138[d]> Vertical alignment isn't quite correct.
23:23:20 <_zephyris> And would break with the current line height bug(?)/font property problem(?) under windows...
23:23:43 <_zephyris> peter1138[d]: Yeah, I thought I'd fixed that. Obviously not... Add to the todo
23:29:28 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1198046601663484087/image.png?ex=65bd7ad8&is=65ab05d8&hm=adac195c769bc30d863d1c3d12fadc5080a81ebcd14ed7e06d3c5e8c592b5089&
23:29:28 <_zephyris> Hmm, seems perfect actually. You're probably noticing the sub-par design of the aeroplane.
23:30:40 <peter1138[d]> Oh I guess it's the extra padding you get on top
23:31:42 <peter1138[d]> Sesningden. Such names.