IRC logs for #openttd on OFTC at 2025-04-19
            
00:45:04 *** Flygon has quit IRC (Read error: Connection reset by peer)
01:45:12 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
01:46:41 *** WormnestAndroid has joined #openttd
02:08:44 *** gnu_jj_ has joined #openttd
02:12:05 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
03:00:07 *** herms has quit IRC (Quit: bye)
03:04:07 *** herms has joined #openttd
04:11:06 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
04:11:07 *** WormnestAndroid has joined #openttd
04:11:22 *** WormnestAndroid has quit IRC (Remote host closed the connection)
04:11:25 *** WormnestAndroid has joined #openttd
04:11:28 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
04:11:29 *** WormnestAndroid has joined #openttd
04:14:05 *** keikoz has joined #openttd
04:44:09 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/d248f45d672def44d9185e107e1befea1a58f47d
04:44:10 <DorpsGek> - Update: Translations from eints (by translators)
05:51:36 *** keikoz has quit IRC ()
05:57:56 *** keikoz has joined #openttd
07:10:43 *** nielsm has joined #openttd
08:09:49 *** fairyflossy has quit IRC (Quit: User went offline on Discord a while ago)
08:16:18 *** mindlesstux has quit IRC (Quit: The Lounge - https://thelounge.chat)
08:16:43 *** mindlesstux has joined #openttd
08:21:45 *** mindlesstux has quit IRC (Quit: The Lounge - https://thelounge.chat)
08:22:37 *** mindlesstux has joined #openttd
08:33:02 *** Flygon has joined #openttd
08:34:01 *** gelignite has joined #openttd
09:03:53 *** Emru has quit IRC (Quit: Gateway shutdown)
09:20:16 <DorpsGek> [OpenTTD/OpenTTD] zephyris commented on pull request #13242: Change: Merge Game Options and Game Settings together. https://github.com/OpenTTD/OpenTTD/pull/13242#issuecomment-2816626513
09:33:25 <andythenorth> lol @ GPT
09:33:37 <andythenorth> advising me to put debug prints into my nml for display in the in-game console
09:33:55 <andythenorth> as though we could simply print values from varact 2 to a log, with formatting
10:36:41 *** WormnestAndroid has quit IRC (Remote host closed the connection)
10:36:46 *** WormnestAndroid has joined #openttd
10:44:43 *** Wolf01 has joined #openttd
10:54:41 *** kuka_lie has joined #openttd
11:00:48 *** gelignite has quit IRC (Quit: Stay safe!)
11:41:29 *** Christopher has joined #openttd
11:42:12 <Christopher> Ausjsjsjsjsj
11:43:02 <Christopher> How Can I Create Routes
11:43:10 *** Christopher has quit IRC (Remote host closed the connection)
11:45:35 *** merni has joined #openttd
11:45:35 <merni> ...great way to get an answer
11:45:44 <merni> leaving immediately after asking
12:06:29 *** gelignite has joined #openttd
12:13:58 <exceptik> maybe got too accustomed to messengers that save all messages on server ๐Ÿ˜†
12:18:30 *** nielsm has quit IRC (Ping timeout: 480 seconds)
12:56:03 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #14018: Feature: Add setting to disable vehicle intro date randomisation https://github.com/OpenTTD/OpenTTD/pull/14018#pullrequestreview-2779957206
12:56:06 <DorpsGek> [OpenTTD/OpenTTD] Rau771 commented on pull request #13242: Change: Merge Game Options and Game Settings together. https://github.com/OpenTTD/OpenTTD/pull/13242#issuecomment-2816697049
13:21:55 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13993: Add: Player configuration of badge display. https://github.com/OpenTTD/OpenTTD/pull/13993
13:23:55 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13242: Change: Merge Game Options and Game Settings together. https://github.com/OpenTTD/OpenTTD/pull/13242#issuecomment-2816705660
13:27:41 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14021: Add: Filtering over badges by dropdown list selection. https://github.com/OpenTTD/OpenTTD/pull/14021
13:33:03 *** gelignite has quit IRC (Quit: Stay safe!)
13:48:06 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14021: Add: Filtering over badges by dropdown list selection. https://github.com/OpenTTD/OpenTTD/pull/14021
13:54:01 *** Emru has joined #openttd
14:04:21 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14030: Fix e49150f9ca: House picker crashes if selection is not available. https://github.com/OpenTTD/OpenTTD/pull/14030
14:05:45 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14027: Codechange: Replace bitstuffed VehicleEnterTileStatus. https://github.com/OpenTTD/OpenTTD/pull/14027
14:17:04 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14006: Change: Automatically push/pop colours when formatting a sub-string. https://github.com/OpenTTD/OpenTTD/pull/14006#issuecomment-2816725042
14:26:48 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363158901092122784/image.png?ex=68050428&is=6803b2a8&hm=09fe0a2621a52da639d8fbf9babd4aad20a953a007a7948484370e449732f9a0&
14:26:48 <peter1138[d]> Hmm, without the extra frame.
14:28:12 <reldred> Oh thatโ€™s neat
14:28:23 <reldred> Finally consolidating those two bloody menus
14:31:35 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13242: Change: Merge Game Options and Game Settings together. https://github.com/OpenTTD/OpenTTD/pull/13242#issuecomment-2816729930
14:42:13 <DorpsGek> [OpenTTD/OpenTTD] frosch123 approved pull request #14027: Codechange: Replace bitstuffed VehicleEnterTileStatus. https://github.com/OpenTTD/OpenTTD/pull/14027#pullrequestreview-2779984154
14:43:16 *** gelignite has joined #openttd
14:43:46 <peter1138[d]> Hmm, perhaps those buttons should be drawn with `DrawBoolButton()` instead of wrangling button widgets to be approximately the same size.
14:57:18 *** Wormnest has joined #openttd
15:00:35 <peter1138[d]> How is it 4pm already.
15:09:37 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363169677353943100/image.png?ex=68050e31&is=6803bcb1&hm=3627cee91184ef338900fb3a1e01748704d3989b2fbf51b70e59e9f8b10aa897&
15:09:37 <peter1138[d]> Hmm, colours?
15:11:20 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363170108133998682/image.png?ex=68050e98&is=6803bd18&hm=d0ae5e64ff9e76c674f8c57a7de59b114f77e6f87b21f14f6ead63f2e7c394e0&
15:11:20 <peter1138[d]> Hmm, this looks bad.
15:13:35 <peter1138[d]> Stuck in a resizing loop.
15:25:33 <peter1138[d]> Added a Debug() and... it stopped :S
15:26:35 <_zephyris> No colours...
15:27:16 <talltyler> The yellow volume slider is pretty bad, the other colours I donโ€™t hate
15:27:46 <_zephyris> Certainly not red/green. Implies good/bad, and not colour blind suitable. Maybe neutral -> green.
15:28:12 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363174353432477978/image.png?ex=6805128c&is=6803c10c&hm=93f7da77834ffe798f699f207af41b0a45e7a57b346959287346b3679abe73d1&
15:28:12 <peter1138[d]> What about here?
15:28:21 <peter1138[d]> Where it's always been this way.
15:28:51 <DorpsGek> [OpenTTD/team] donherlopez opened issue #626: [es_ES] Translator access request https://github.com/OpenTTD/team/issues/626
15:29:13 <_zephyris> Hmm
15:29:32 <_zephyris> It's not ideal design
15:30:12 <peter1138[d]> I have the same reservations, but thought I should try it at least.
15:30:25 <peter1138[d]> But actually I meant the rest of the colours, text, background, labels, etc.
15:31:48 <_zephyris> Yellow/dark purple ish is a decent contrast
15:32:04 <_zephyris> Light blue on purple ish isn't so good
15:32:28 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363175424842268914/image.png?ex=6805138b&is=6803c20b&hm=8ca4a046087714f7d487c351c98b26938b4106edad672d79efabe167f29f1acd&
15:32:28 <peter1138[d]> I didn't choose these colours either, just taking from existing windows, and frosch's suggestions.
15:33:53 <_zephyris> Mmm, it's OK
15:34:01 <peter1138[d]> AI, GS, NewGRF and Advanced Settings are all (mostly) this scheme, except Advanced Settings goes with mauve buttons.
15:36:35 <_zephyris> I'd err on windows with lots of text sticking to grey background, and save strong colour backgrounds for less text heavy windows.
15:36:45 <_zephyris> But eh
15:39:13 <peter1138[d]> Play TTO for a bit ๐Ÿ™‚
15:39:35 <peter1138[d]> Grey windows are boring, and we have way too many of them already.
15:47:25 <talltyler> Agreed. I used to like grey windows but I now live in a Millennial Grey apartment and crave colour ๐Ÿ˜„
15:48:07 *** Wormnest has quit IRC (Quit: Leaving)
15:54:25 <_zephyris> Oh, totally. _sensible_ answer is neutral, fun/interesting and still readable answer is keep the purple/yellow
15:56:17 <DorpsGek> [OpenTTD/OpenTTD] frosch123 opened pull request #14036: Codechange: Replace CircularTileSearch and callbacks with a iterators and for-each loops. https://github.com/OpenTTD/OpenTTD/pull/14036
15:57:39 <peter1138[d]> I looked at that but did it with as templated function.
15:57:44 <peter1138[d]> It was slower.
15:58:28 <peter1138[d]> Making it an iterator is nice.
15:59:52 <peter1138[d]> Okay, weirdly, this infinite loop depends on the game's window size.
16:08:44 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
16:11:58 *** WormnestAndroid has joined #openttd
16:12:09 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #14036: Codechange: Replace CircularTileSearch and callbacks with iterators and for-each loops. https://github.com/OpenTTD/OpenTTD/pull/14036
16:16:20 <frosch123> About the setting buttons. IMO using the bevel lowered/raised status is too little visual indication to distinguish on/off.
16:16:20 <frosch123> If people dislike the green/red, my next preference would be on/off captions.
16:16:20 <frosch123> Though I guess you could already make that point for colourblindness.
16:20:50 <peter1138[d]> On / Off might be problematic for translations.
16:23:09 <andythenorth> BODMAS is so stupid
16:23:13 <andythenorth> just use brackets
16:23:34 <andythenorth> (had a bug because I didn't use brackets)
16:23:37 <peter1138[d]> Er...
16:23:58 <frosch123> It's also a lot of work. Bool buttons are currently fix size to match the < > buttons
16:24:58 <_glx_> 1/0 drawn on top of green/red button ?
16:24:59 <peter1138[d]> It's a tiny amount of work if you don't change that ๐Ÿ™‚
16:26:11 *** nielsm has joined #openttd
16:32:43 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363190588270448790/image.png?ex=680521ab&is=6803d02b&hm=31766621844713a57ef5878edc054d6a8d52c2780552f0dfbac52a98a86d2d05&
16:32:43 <peter1138[d]> This isn't good.
16:35:39 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363191327365529670/image.png?ex=6805225b&is=6803d0db&hm=38226f78b91a86bc5940aaa16d5b6133b4dd410b48b731e88bb6350239c03618&
16:36:09 <_zephyris> You're probably better with neutral (yellow) for off and green for on
16:36:22 <_zephyris> Red for off, implying bad, isn't great
16:36:39 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363191576700129380/image.png?ex=68052296&is=6803d116&hm=1c82e03f7c8c2ad25b0ad9a92a57d2abf687c0b73504caf9e707ccda69ddf30f&
16:36:39 <peter1138[d]> ๐Ÿ™‚
16:38:05 <_zephyris> They're actually checkboxes anyway, why not box and box with tick?
16:38:49 <_zephyris> peter1138[d]: Do I see three different shades of almost yellow here? Line colour, text colour and button colour?
16:39:19 <peter1138[d]> No.
16:39:22 <peter1138[d]> The text is orange.
16:39:58 <_zephyris> "almost yellow"
16:40:18 <peter1138[d]> Arguably, I'd say the yellow is almost orange.
16:42:04 <exceptik> _zephyris: red for ON better? ๐Ÿ˜†
16:43:17 <_zephyris> You'll find a red led which is off for off and on for on is pretty typical ๐Ÿ˜‰
16:44:01 <peter1138[d]> Also the same for green.
16:44:19 <peter1138[d]> Until that phase in the early 2000s, when every LED suddenly became a blindly bright blue.
16:44:48 <_zephyris> Why not checkbox?
16:45:40 <_zephyris> OTTD not using checkbox and radio buttons is a long-standing oddity
16:47:54 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363194407758594243/image.png?ex=68052539&is=6803d3b9&hm=43be6cd95302a26baa23a666f89ea7efc1ef7cc30e596b404a7460b75b5443f0&
16:47:54 <peter1138[d]> Also, inactive buttons are not done the same way as all other inactive buttons. Fix it?
16:49:05 <peter1138[d]> The faded look is not bad, mind you. But everything else uses the chequer pattern.
16:49:07 <_glx_> keeping red/green button size we could do empty/filled rectangle
16:50:32 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363195072757366966/image.png?ex=680525d8&is=6803d458&hm=91a6c7a499b6605e3c23e10a60edc6c373f3d598da279ff6b9ccd82525bd39e4&
16:50:32 <peter1138[d]> We have these.
16:50:57 <peter1138[d]> I think they are no longer used anywhere.
16:51:08 <peter1138[d]> I also think they do not fit in here.
16:51:47 <peter1138[d]> Oh I'm dumb. They're used in the content selection window.
16:52:15 <peter1138[d]> (They used to be used in the Livery window, and also the NewGRF window at one point, IIRC.)
16:52:17 <_glx_> yeah they fill too small for the settings
16:52:25 <talltyler> +1,031, -41,168 ๐Ÿ˜…
16:52:47 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
16:53:48 *** WormnestAndroid has joined #openttd
16:54:14 <_glx_> hmm what about half red/half green and a yellow slider button ?
16:54:41 <peter1138[d]> Moving from left to right? Hmm.
16:54:47 <_glx_> same size as arrow buttons, moving left or right yes
16:55:44 <andythenorth> is it vibe coding if I don't edit the result at all?
16:55:48 <andythenorth> what even is vibe coding?
16:56:14 <exceptik> andythenorth: you ask ai, use whatever it spits out, profit
16:56:35 <frosch123> There is also a checkmark font character
16:56:44 <_glx_> mostly loss with AI and nml
16:56:58 <andythenorth> I mean...I now have 4 different functions from GPT for generating randomised vehicle maps as python dicts of lists
16:57:06 <andythenorth> all of them are exactly the pattern I want
16:57:17 <andythenorth> but rather than asking GPT to unify the method names, params, output
16:57:21 <frosch123> STR_JUST_CHECKMARK
16:57:30 <andythenorth> I've just written 4 different nml templates to use the output
16:57:34 <andythenorth> much easier
17:05:21 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363198800562356264/image.png?ex=68052951&is=6803d7d1&hm=150dc31a1ca13bf4d7415cf632cabb264330a5e603690936a6fea6f8362323d0&
17:05:21 <peter1138[d]> Pretty meh also.
17:05:35 <_zephyris> Better than anything so far IMO
17:05:36 <peter1138[d]> And that is, apparently, centred.
17:05:51 <_zephyris> It's pushing towards standard design conventions
17:06:13 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363199018288549959/image.png?ex=68052984&is=6803d804&hm=22e744c43027ca0d6e85cc7e70630f5527b3fd2a8dd6b83b70a5c1b4ca4589b8&
17:08:03 <_zephyris> Indeed
17:14:24 <peter1138[d]> I'm tempted to just not touch it.
17:15:39 <peter1138[d]> It's worked for 20 years... ๐Ÿ™‚
17:18:38 <andythenorth> NoMoreSideQuests? ๐Ÿ˜ฎ
17:18:57 *** WormnestAndroid has quit IRC (Remote host closed the connection)
17:22:32 *** WormnestAndroid has joined #openttd
17:24:58 <talltyler> Save the fix for a future PR? (kicking the can down the road for somebody else to do later ๐Ÿ™‚ )
17:54:08 *** Emru has quit IRC (Quit: Gateway shutdown)
18:00:50 <peter1138[d]> Quite.
18:01:07 <peter1138[d]> Same with the suggestions to change what is shown when it's opened ๐Ÿ™‚
18:34:49 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #14036: Codechange: Replace CircularTileSearch and callbacks with iterators and for-each loops. https://github.com/OpenTTD/OpenTTD/pull/14036
18:40:49 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #14036: Codechange: Replace CircularTileSearch and callbacks with iterators and for-each loops. https://github.com/OpenTTD/OpenTTD/pull/14036
18:43:26 *** tokai|noir has joined #openttd
18:43:26 *** ChanServ sets mode: +v tokai|noir
18:44:39 *** greeter has quit IRC (Remote host closed the connection)
18:47:29 *** greeter has joined #openttd
18:50:20 *** tokai has quit IRC (Ping timeout: 480 seconds)
18:57:55 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #14036: Codechange: Replace CircularTileSearch and callbacks with iterators and for-each loops. https://github.com/OpenTTD/OpenTTD/pull/14036
19:05:38 <_zephyris> Kick the can ๐Ÿ˜‰
19:06:25 <_zephyris> I've got some mockups somewhere of some more standard checkbox/radio elements, I'll see if I can find it
19:26:58 <peter1138[d]> /me grumbles about signed/unsigned comparisons.
19:30:08 <cu-kai> i like the look of the current red/green buttons
19:30:14 <cu-kai> feels like a bikeshed
19:30:19 <cu-kai> i mean, the discussion about it
19:31:02 <talltyler> Red/green buttons are bad for colour blindness ๐Ÿ™‚
19:35:20 *** Emru has joined #openttd
19:37:03 <andythenorth> funny how often UI gets dismissed as bike shed ๐Ÿ™‚
19:37:17 <andythenorth> "design is how it works"
19:37:19 <cu-kai> not dismissing it as anything :D
19:37:39 <cu-kai> i always considered it obvious if the button was "pressed" or not
19:37:42 <cu-kai> perhaps that's me being ableist
19:37:52 <cu-kai> (regardless of the colour, that is)
19:38:10 <andythenorth> ๐Ÿšฅ
19:38:41 <talltyler> Sideways traffic lights, what is this, New Mexico?
19:43:40 <andythenorth> dunno ๐Ÿ™‚
19:44:40 <peter1138[d]> cu-kai: Does it ever confer "good" or "bad" to you?
19:45:09 <peter1138[d]> "This button is red, it would be better if it was green" or somesuch.
19:45:23 <cu-kai> not really, just "on" or "off"
19:45:33 <cu-kai> that is my opinion though, others may think good/bad
19:48:53 <_glx_> https://cdn.discordapp.com/attachments/1008473233844097104/1363239956134363176/image.png?ex=68054fa5&is=6803fe25&hm=e83cf620d68df482ddb20c968ca1ec76adefaaaa785529d5c495f65dc49a1f39&
19:48:53 <_glx_> quick test
19:49:18 <peter1138[d]> Hmm. Kinda weird.
19:49:55 <cu-kai> can you add "lines" to the yellow part
19:49:58 <cu-kai> make it obvious that it's some sort of slider
19:50:03 <cu-kai> i don't know how to describe what i mean, sorry
19:50:30 <cu-kai> https://p.mort.coffee/Sqr.png
19:50:31 <cu-kai> something like this
19:50:35 <peter1138[d]> Scrollbars have "lines" on the non-button part.
19:51:09 <cu-kai> probably some 1px dark lines would be enough, not like the scrollbar
19:51:17 <talltyler> Trying to do this? The size of the โ€œknobโ€ is larger to help show its position.
19:51:17 <talltyler> https://mui.com/material-ui/react-switch/
19:51:52 <cu-kai> ^ with that in mind, you could make the green/red part narrower
19:52:10 <talltyler> Although our design is more inspired by 1990s computer design than React ๐Ÿ˜›
19:52:16 <cu-kai> yeah
19:52:55 <_zephyris> Still don't know why checkboxes aren't the right answer
19:53:25 <_zephyris> Switch/knob slider designs are OK, but don't clearly convey whether left or right is the "on" state without an additional colour cue or checkmark
19:53:51 <talltyler> https://cdn.discordapp.com/attachments/1008473233844097104/1363241203738476754/image0.gif?ex=680550ce&is=6803ff4e&hm=dde4d2ded32ccdf1ece8a820f756c1a438cfda17546363e84ed1721acacd6f14&
19:53:51 <talltyler> Checkboxes are very fitting for our graphics style
19:53:55 <cu-kai> to be fair, the "current" state is displayed anyway, in text format
19:54:20 <_glx_> in settings yes, but not everywhere the bool button is used ๐Ÿ™‚
19:54:25 <cu-kai> true
19:55:16 <DorpsGek> [OpenTTD/OpenTTD] frosch123 dismissed a review for pull request #14014: Add: clang-format file to simplify contributions and review. https://github.com/OpenTTD/OpenTTD/pull/14014#pullrequestreview-2773822763
19:55:19 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #14014: Add: clang-format file to simplify contributions and review. https://github.com/OpenTTD/OpenTTD/pull/14014
19:59:28 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363242619496431636/image.png?ex=68055220&is=680400a0&hm=5536fcfb5866c6d3a669eca30a1379adf120a38103f1b8f5ea191f2e0f89d9be&
19:59:42 <peter1138[d]> I prefer red/green over this, tbh.
19:59:48 <_glx_> yeah doesn't fit too well
20:01:10 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1363243047814696980/image.png?ex=68055286&is=68040106&hm=2e93a5b70b94ea6811a4e8f981ab268ab011d41f61886cb2e5722932d10566e5&
20:01:10 <_zephyris> The icon is designed for a different type of checkmark usage
20:01:32 <_zephyris> (which, as an aside, would probably work better with an updated design)
20:02:16 <_glx_> https://cdn.discordapp.com/attachments/1008473233844097104/1363243323577339914/image.png?ex=680552c8&is=68040148&hm=6ed4b2237b408a736885b14e904fc6afd9758556978af26cf1d557da17e3bb89&
20:02:25 <exceptik> _glx_: what about having "recessed" yellow instead of "inactive" part, and main yellow for "active", that way you don't have weird color combos, still ahve the rectangle
20:02:25 <exceptik> like classical windows theme had scrollbars
20:02:32 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363243388542914780/image.png?ex=680552d7&is=68040157&hm=093218e96b369c3788b5913205ffebf48603226bbde2947d6aa938c4e0df3b95&
20:02:43 <peter1138[d]> Hmm, I see.
20:03:13 <_zephyris> Better, but off really, really should be neutral - in this case yellow.
20:04:39 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1363243924214382792/image.png?ex=68055357&is=680401d7&hm=100a5db52bff67780a3872403f826b5f96427ad0412476899e078c7f061282ce&
20:04:39 <_zephyris> iOS, off is neutral
20:05:09 <_zephyris> You'll also see lots of examples where on and off are shown in the background, or a checkmark is added to the knob in the on state.
20:05:39 <_zephyris> Because left/right on/off ambiguity
20:06:09 <peter1138[d]> Honestly, at this point I prefer the existing button, and I'm feeling less inclined to change it for the sake of changing it.
20:06:09 <xarick> if I enable magic bulldozer, will the AIs also benefit from magic bulldozer?
20:06:33 <_glx_> yes
20:06:38 <_glx_> dangerous ๐Ÿ™‚
20:07:20 <_zephyris> Good to me too, but not because it shouldn't change...
20:09:53 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1363245239216640292/image.png?ex=68055490&is=68040310&hm=f2bfca142215096d011184d86bdd2acbe2cbcad6b0b2f79c339eec9025055fe7&
20:09:53 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1363245239434870915/image.png?ex=68055490&is=68040310&hm=0222f6f85a0b77d940b21212fa9b4ce209763054f189172a8e3fc994723c6164&
20:09:53 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1363245239690596622/image.png?ex=68055491&is=68040311&hm=ae3ef4c92942ecd7af6690861d1fcc87da13e8c0732fa3437e8417cf8c394a61&
20:09:53 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1363245239950901338/image.png?ex=68055491&is=68040311&hm=1fc2ef2b6805ba58bbf4a462968e6b986e5002cfafaaaf92b5709a1c82282da4&
20:09:53 <_zephyris> But because it should be trying to unify these four totally different-looking checkmark-like cases
20:09:55 <andythenorth> forkspitch
20:10:11 <_zephyris> Informed decisions ๐Ÿ˜‰
20:11:08 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1363245556930969740/image.png?ex=680554dc&is=6804035c&hm=e47c5353ca622c709d85e2d50d98bbaed2ae41648fd604fc3c5c683bc22c043b&
20:11:08 <_zephyris> Hmm. Good basic fix would be to left align these buttons, so they're not orphaned from their labels.
20:12:40 <frosch123> Fun fact, nlohmann/json.hpp makes clang-format consume 8GB of ram, until I kill it
20:13:19 <_glx_> maybe ignore 3rd_party
20:15:41 <peter1138[d]> The content download toggle is different.
20:15:59 <peter1138[d]> It's not a boolean control.
20:19:06 <_zephyris> It's a boolean control for what happens when you click download...
20:22:09 <_zephyris> No need to split hairs though, just trying to point out an inconsistency
20:24:39 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14037: Codechange: Replace SETTING_BUTTON_WIDTH/_HEIGHT macros with a function. https://github.com/OpenTTD/OpenTTD/pull/14037
20:25:12 <talltyler> https://cdn.discordapp.com/attachments/1008473233844097104/1363249095212273937/bounds.png?ex=68055828&is=680406a8&hm=34c20494c4d62a551a512c169d265e4a20a541e6a895bb18fbc8c0a1ce466fa2&
20:25:12 <talltyler> What causes sprite sorting issues like this? Bounding boxes? (Trying to write the bug report accurately ๐Ÿ™‚ )
20:26:12 *** andybiotic has joined #openttd
20:26:12 <andybiotic> talltyler: Yeah, itโ€™s bounding boxes
20:26:17 <talltyler> Absolutely beautiful sprite work besides this though ๐Ÿ˜„
20:26:32 <peter1138[d]> Press Ctrl-O
20:27:17 <talltyler> That's widget outlines, but I know what you meant ๐Ÿ™‚
20:27:43 <peter1138[d]> Yeah, Ctrl-B
20:28:42 <peter1138[d]> My problem with these stations: no automatic tile layouts, you gotta pick out of dozens of different station types.
20:28:51 <_glx_> most likely a full building that should actually be 2 or more sprites
20:29:29 <talltyler> https://cdn.discordapp.com/attachments/1008473233844097104/1363250170686476578/boxes.png?ex=68055928&is=680407a8&hm=1ac26ff381e3b75c4da9fe346f9e8941b169a14f882601920ace69c01acfad6e&
20:33:32 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1363251192859197620/Screencast_from_2025-04-19_21-32-55.webm?ex=68055a1c&is=6804089c&hm=4b9faa36f3eaeb12e29be496c7325736dc3d8c6859b0d96942f6b7e11d839f41&
20:33:32 <peter1138[d]> Pom te pom
20:35:26 <talltyler> All platforms seem to do it, but the red brick is especially bad.
20:36:06 <peter1138[d]> Is the shelter a child sprite, or is it the exact same bounding box.
20:36:17 <talltyler> Even ones without canopies; fences have z-fighting
20:38:13 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14037: Codechange: Replace SETTING_BUTTON_WIDTH/_HEIGHT macros with a function. https://github.com/OpenTTD/OpenTTD/pull/14037
20:38:45 *** honza_ has joined #openttd
20:38:45 <honza_> https://cdn.discordapp.com/attachments/1008473233844097104/1363252499989004461/image.png?ex=68055b54&is=680409d4&hm=b48afce303181502874ee50abb54c9925a505754b17da25accc1f087b1a0ebd0&
20:38:45 <honza_> seems like "Wagon removal" button has wrong string in 15.0beta2
20:40:08 <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #14037: Codechange: Replace SETTING_BUTTON_WIDTH/_HEIGHT macros with a function. https://github.com/OpenTTD/OpenTTD/pull/14037#pullrequestreview-2780088212
20:43:09 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1363253613945683968/image.png?ex=68055c5d&is=68040add&hm=55aaf7320956b8bfdcd37e6c4cbe00c992a16e1a06e2938ba7fe16716e85a02b&
20:43:10 <xarick> tool tip problem:
20:49:16 <xarick> my brain
20:49:31 <xarick> how does AIPriorityQueue work again?
20:50:03 <xarick> Pops the item with the lowest priority value? I forgot
20:50:58 <xarick> > Remove and return the item with the lowest priority.
20:51:00 <xarick> okay, thanks
20:51:09 <_glx_> yeah the doc seems clear
20:51:57 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1363255826143510628/image.png?ex=68055e6d&is=68040ced&hm=960c7b5fc3f706f9a42e0eaf238013920dc14e3bf8380c6a228d138aeae6483d&
20:51:57 <xarick> I have this problem: understanding my code
20:53:09 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14038: Fix: Incorrect string display for autoreplace wagon removal status. https://github.com/OpenTTD/OpenTTD/pull/14038
20:54:33 <xarick> imagine we have 2 dock stations with both cargo_production = 50, but one is 3 tiles away from town, the other is 6 tiles away. How to prioritize the 3 tiles station to Pop first?
20:57:18 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #14037: Codechange: Replace SETTING_BUTTON_WIDTH/_HEIGHT macros with a function. https://github.com/OpenTTD/OpenTTD/pull/14037#pullrequestreview-2780091264
20:57:45 <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #14038: Fix: Incorrect string display for autoreplace wagon removal status. https://github.com/OpenTTD/OpenTTD/pull/14038#pullrequestreview-2780091305
21:00:22 <_glx_> xarick: production * something + distance ?
21:01:06 <xarick> `0x1FFF - 3 = 8188`,`0x1FFF - 6 = 8185`
21:01:06 <xarick> `distance 3 gets -8188 priority`,`distance 6 gets -8185 priority`
21:01:06 <xarick> lowest priority Pops first, -8188 < -8155, distance 3 is first
21:01:21 <peter1138[d]> Does the distance from the town matter to anything?
21:01:28 <_glx_> don't use negative values ?
21:01:53 <xarick> bigger houses spawn closer to center, better chances of high cargo going to station
21:02:22 <xarick> okay, my code makes sense now
21:02:43 *** alpapilus has joined #openttd
21:02:43 <alpapilus> talltyler: What grf is that?
21:02:48 <peter1138[d]> In that case if you're thinking about what might happen in future, the current production is not that relevant.
21:04:15 <_glx_> if you want higher production to have lower priority use something like `some_big_value - production`, so it's still positive but ordered in reverse
21:04:46 <_glx_> using plain negative is asking for troubles
21:05:09 <talltyler> alpapilus: Chuffing Stations. https://discord.com/channels/142724111502802944/692413660840198195/1363148358490783874
21:05:50 <xarick> hmm cargo production is wrong?
21:06:24 <frosch123> talltyler: https://github.com/andybiotic/chuffing_stations/blob/2e9c35e6d88445740c03bc5835fc1c7ba704849e/city.nml#L97
21:07:08 <frosch123> Yoffset is wrong, yoffset+yextend > 16
21:07:11 <xarick> cargo 50, and cargo 30:
21:07:11 <xarick> -50, -30
21:07:11 <xarick> -50 < -30, 50 pops first, it's fine
21:07:38 <peter1138[d]> I had patch that warns and clamps about out-of-bounds offsets.
21:07:47 <peter1138[d]> But way too many objects abuse this deliberately.
21:08:05 <alpapilus> talltyler: Oh that one.
21:09:27 <frosch123> talltyler: I recently extended the wiki on this https://newgrf-specs.tt-wiki.net/wiki/NML:Spritelayout#Strong_recommendations_for_bounding_boxes + following max sprite size section
21:10:33 <frosch123> If you bulldoze some tiles in front, you can probably see the overlap
21:10:49 *** gelignite has quit IRC (Remote host closed the connection)
21:14:10 <talltyler> https://cdn.discordapp.com/attachments/1008473233844097104/1363261416525533394/stone.png?ex=680563a1&is=68041221&hm=14e09b0667d6097fe5db460fa5cb58546568ba5022ff173e0bec690287b26883&
21:14:10 <talltyler> I'll let andybiotic deal with their own bounding boxes, I'm just having fun with early stations ๐Ÿ˜„
21:14:44 <DorpsGek> [OpenTTD/OpenGFX2] zephyris opened issue #176: Rail tunnel icon is monorail in toyland https://github.com/OpenTTD/OpenGFX2/issues/176
21:14:57 *** gelignite has joined #openttd
21:15:17 <andybiotic> talltyler: I think the bounding box height is too low. I will have a look over the next few days. Love that station!
21:16:51 <frosch123> andybiotic: https://discord.com/channels/142724111502802944/1008473233844097104/1363259462424465499
21:20:16 <peter1138[d]> Hmm
21:23:39 <andybiotic> frosch123: Oh, interesting. Thank you.
21:23:39 <andybiotic> I will likely remove all the y-offsets and set them to zero. I seem to remember it looked a bit wonky when I tried it originally, hence why I set it to 1, but evidently that might not have been a great ideaโ€ฆ
21:23:58 <_glx_> xarick: but inverting via a big value and keeping everything positive would be better, like with `100 - prod` for 50 and 30 you get 50 and 70, so 50 is poped first
21:24:56 <_glx_> but if you add the distance a plain negative value will prefer long distance
21:26:30 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14037: Codechange: Replace SETTING_BUTTON_WIDTH/_HEIGHT macros with a function. https://github.com/OpenTTD/OpenTTD/pull/14037#issuecomment-2816872372
21:26:59 <_glx_> it's easier to work with positive values (at least for human brain)
21:27:58 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:28:17 <DorpsGek> [OpenTTD/OpenGFX2] zephyris opened pull request #177: Feature: Less repetitive toyland terrain style https://github.com/OpenTTD/OpenGFX2/pull/177
21:30:40 *** zanooda2000 has quit IRC (Quit: User went offline on Discord a while ago)
21:34:40 *** kuka_lie has quit IRC (Ping timeout: 480 seconds)
21:37:19 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #14037: Codechange: Replace SETTING_BUTTON_WIDTH/_HEIGHT macros with a function. https://github.com/OpenTTD/OpenTTD/pull/14037#pullrequestreview-2780097125
21:40:50 <DorpsGek> [OpenTTD/OpenGFX2] zephyris updated pull request #177: Feature: Less repetitive toyland terrain style https://github.com/OpenTTD/OpenGFX2/pull/177
21:43:37 <peter1138[d]> So many things would be a lot easier if we just used int...
21:43:44 <xarick> toyland trees
21:44:10 <xarick> aka candies
21:52:18 <peter1138[d]> Dimension<uint> Dimension<int> ๐Ÿ˜’
22:34:32 *** normalperson8046 has quit IRC (Quit: User went offline on Discord a while ago)
22:35:24 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1363281860737761358/image.png?ex=680576ac&is=6804252c&hm=ce84cb064240d43d987649ddb513a34071e11532ae77c39aa45063c62ea5a1aa&
22:35:24 <xarick> bug!
22:36:13 <xarick> end and tile_bot don't match, i fail at orthogonal areas
22:41:50 <xarick> CreateArea sends the correct parameters
22:42:06 <xarick> constructor fails at reconstructing the area ๐Ÿ˜ฆ
22:44:00 <xarick> what is wrong here <https://github.com/SamuXarick/LuDiAI-AfterFix/blob/master/Utils.nut#L12-L48>
22:45:08 <xarick> darned freeform_edges is difficult
22:47:09 <xarick> with freeform_edges off, it's wrong, with freeform_edges on, it's correct
22:52:23 *** nielsm has quit IRC (Ping timeout: 480 seconds)
23:04:48 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:10:07 *** zanooda2000 has joined #openttd
23:10:07 <zanooda2000> _zephyris: then the difference between On and Off, and also difference between [ โ†“ ]drop-down lists / [โ†|โ†’ buttons will be way less noticable.
23:10:07 <zanooda2000> If changes are really needed, then maybe make Off as purple-gray and On as green?
23:10:07 <zanooda2000> Although the standard red Off and green On still a simple and clear, which isn't really needed to be changed
23:17:25 <zanooda2000> peter1138[d]: hmm, yellow strip on ON button seems slightly shorter than on Off button, it's just an illusion, but still, if you don't look closely, the difference is here. Maybe it makes sense to make it 1 pixel wider (or yellow on Off 1 pixel shorter)
23:28:41 <DorpsGek> [OpenTTD/OpenGFX2] 2TallTyler commented on pull request #177: Feature: Less repetitive toyland terrain style https://github.com/OpenTTD/OpenGFX2/pull/177#pullrequestreview-2780109382
23:29:33 <DorpsGek> [OpenTTD/OpenGFX2] 2TallTyler approved pull request #175: Fix: Correct check for change in number of graphics source files https://github.com/OpenTTD/OpenGFX2/pull/175#pullrequestreview-2780109556