IRC logs for #openttd on OFTC at 2025-04-15
            
00:23:32 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
00:40:20 *** SigHunter has joined #openttd
01:12:29 *** Wormnest has joined #openttd
01:44:43 *** Wormnest has quit IRC (Quit: Leaving)
02:04:10 *** WormnestAndroid has quit IRC (Remote host closed the connection)
02:04:13 *** WormnestAndroid has joined #openttd
02:13:00 *** gnu_jj_ has joined #openttd
02:16:20 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
03:26:38 *** WormnestAndroid has quit IRC (Remote host closed the connection)
03:26:50 *** WormnestAndroid has joined #openttd
03:50:38 *** D-HUND has joined #openttd
03:54:05 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:11:49 *** keikoz has joined #openttd
04:19:25 *** Flygon has joined #openttd
04:44:54 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/5fad6897827199854fb5e11fd3f58ef4c353ba90
04:44:55 <DorpsGek> - Update: Translations from eints (by translators)
05:59:02 <andythenorth> coffee?
06:00:00 <andythenorth> Horse main branch, make from clean: 36s (10999 vehicles)
06:00:00 <andythenorth> Horse working brach, make from clean: 20s (9476 vehicles)
06:00:13 <andythenorth> made it 0.3s faster yesterday
06:36:02 <andythenorth> oof immediate sidequest
07:40:03 *** k-man has quit IRC (Ping timeout: 480 seconds)
07:49:22 *** k-man has joined #openttd
07:57:51 <peter1138> Oh, I want a mask of railtypes, like we have of roadtypes/tramtypes. Hmm.
08:39:15 <DorpsGek> [OpenTTD/team] ezorita opened issue #625: [ca_ES] Translator access request https://github.com/OpenTTD/team/issues/625
08:42:05 <andythenorth> I should go swimming or something
08:42:12 <andythenorth> failed to move yesterday ๐Ÿ˜›
08:49:03 <peter1138> > None of the buses can enter the impassable bus stop.
08:49:10 <peter1138> I guess if it's impassable that makes sense?
08:51:10 <andythenorth> I guess
08:56:59 <DorpsGek> [OpenTTD/OpenGFX2] zephyris commented on pull request #169: Sharper gridlines https://github.com/OpenTTD/OpenGFX2/pull/169#issuecomment-2804332246
08:59:23 <DorpsGek> [OpenTTD/OpenGFX2] PeterN approved pull request #169: Sharper gridlines https://github.com/OpenTTD/OpenGFX2/pull/169#pullrequestreview-2767452190
09:00:07 <peter1138> I think I may have forgot to say anything... At first I couldn't see the difference, then I wasn't sure about it, then I liked it ;-)
09:03:51 <peter1138> https://system76.com/desktops/ Hmm, are they going for a sort of SGI look?
09:04:07 <peter1138> SGI Onyx-ish.
09:05:04 <andythenorth> cheap gaming PC maybe? ๐Ÿ˜›
09:05:11 <peter1138> They are not cheap :)
09:05:38 <peter1138> I was looking there because they have an ARM model (Ampere, so also quite expensive.)
09:05:47 <DorpsGek> [OpenTTD/OpenGFX2] zephyris merged pull request #169: Sharper gridlines https://github.com/OpenTTD/OpenGFX2/pull/169
09:05:52 <DorpsGek> [OpenTTD/OpenGFX2] zephyris closed issue #163: The ground graphics look blurry and indistinct https://github.com/OpenTTD/OpenGFX2/issues/163
09:06:00 <peter1138> Basically I want an M4-based Mac that isn't a Mac... :S
09:06:20 <andythenorth> they look quite proper chassis
09:06:29 <andythenorth> one of my kids has a good chassis in their PC
09:06:35 <andythenorth> the other is trash
09:06:48 <andythenorth> sticker price difference was only ยฃ300 and that was mostly for GPU
09:06:52 <peter1138> The 128 core 3GHz option is a mere $1,684 extra.
09:07:05 <peter1138> 128 cores is good for OpenTTD, yes>
09:08:06 <peter1138> > $23,783.00 Let's do it. OpenTTD dev fundraiser... lolz
09:08:27 <peter1138> > Operating System: Ubuntu 24.04 LTS
09:08:35 <peter1138> Well that's a showstopper, purchase cancelled.
09:08:46 <andythenorth> wonder how much macs are
09:08:56 <peter1138> There's no way to know.
09:09:39 <andythenorth> oh they do a cheap M4 with piddling RAM and disk https://www.apple.com/uk/shop/buy-mac/mac-mini/apple-m4-chip-with-10-core-cpu-and-10-core-gpu-16gb-memory-256gb
09:09:50 <peter1138> They all have piddling RAM and disk.
09:10:10 <andythenorth> "Built for Apple Intelligence" lol no
09:10:28 <andythenorth> I should ask GPT to define a tech bubble
09:49:58 <peter1138> Hmm, okay, doing automatic PUSH_COLOUR/POP_COLOUR is in fact quite easy.
09:50:32 <peter1138> I suspect the "overhead" of making it universal is probably inconsequential.
09:56:55 <andythenorth> ๐Ÿ‘€
10:03:21 <andythenorth> what are clones cloned from? origins? clone_source?
10:03:26 <andythenorth> (code)
10:06:33 <__abigail> Not sure if this is the right spot to ask, but is there a usual method for drawing cropped text? Like drawing a string only within a defined box and cropping any of the pixels outside of it
10:07:40 <peter1138> Yes, all string drawing is done that way.
10:09:42 <peter1138> andythenorth, origin or source, I suppose.
10:09:58 <andythenorth> probably
10:10:18 <andythenorth> I went with upstream_catalogue ๐Ÿ˜›
10:10:27 <peter1138> Perfect and generic.
10:10:28 <andythenorth> "probably recurses" or something
10:10:45 <andythenorth> clones could be cloned maybe dunno
10:12:04 <DorpsGek> [OpenTTD/team] glx22 commented on issue #625: [ca_ES] Translator access request https://github.com/OpenTTD/team/issues/625
10:12:06 <peter1138> If you clone a clone have you cloned the origin again?
10:12:24 <peter1138> If your clone has a unique identifier is it really a clone?
10:14:14 <andythenorth> what if there's a time loop? ๐Ÿ˜ฎ
10:19:06 <peter1138> Sharon Acorn?
10:23:27 <LordAro> andythenorth: tie them up in the attic
10:41:46 <LordAro> peter1138: help i've found a thing
10:41:56 <peter1138> Uh oh?
10:41:56 <LordAro> https://norwaybybike.com/bicycle-routes/oslo-bergen-mountain-route/
10:44:33 <peter1138> "11 days" ... not with you around :D
10:45:00 <LordAro> i think 3 is eminently doable
10:45:21 <peter1138> It's not all about speed.
10:45:37 <peter1138> But even so, 50km a day is a bit on the low side.
11:36:09 *** zanooda2000 has quit IRC (Quit: User went offline on Discord a while ago)
11:39:50 <kuhnovic> Keep in mind that that part of Norway is quite mountainous and generally the roads tend to be of meh quality
11:41:06 <jfkuayue> I planned to bike from Lerwick to Sumburgh โ€œwith return in one dayโ€ before realizing it was 20+ kilometres :/
11:46:46 <peter1138> kuhnovic, LordAro is not afraid of a few bumps, and we're used to potholes :D
11:48:24 <peter1138> jfkuayue, only double 20km, definitely doable.
11:49:20 <kuhnovic> Then go for it! You're going to run into some truly breathtaking scenery
11:51:24 <peter1138> That is the reason I would take longer :)
11:51:40 <jfkuayue> peter1138: You athlete, I weak
11:51:53 <peter1138> The journey is the point, getting from a to b quickly is not.
11:53:00 <jfkuayue> My longest bike was 12 km ish, 6km return and relatively flat
11:53:29 <jfkuayue> That was in 2019 when I was much thinner and energeticโ€ฆ
11:54:05 *** urdh_ has quit IRC (Ping timeout: 480 seconds)
11:56:06 <kuhnovic> Definitely check out the Drammen Spiral Tunnel. It's such a ridiculous piece of infrastructure, really fun.
12:05:11 <DorpsGek> [OpenTTD/OpenTTD] frosch123 opened pull request #14003: Fix: [NewGRF] Roadstop animation/randomisation was not triggered on vehicle arrival https://github.com/OpenTTD/OpenTTD/pull/14003
12:14:44 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1361676114044391666/image.png?ex=67ff9f34&is=67fe4db4&hm=ef2aea9be8cf79d34d2467eebe13bfc152978e8ba6328302d4e1d94548f3d572&
12:14:44 <xarick> omg why?
12:18:47 <xarick> oh well, I'll get used to it
12:25:50 <LordAro> jfkuayue: i'd have thought even at the most leisurely of speeds that would only take an hour
12:27:55 <Rubidium> 20 km/h isn't that leisurely
12:28:03 <LordAro> 12k, that is
12:29:03 <Rubidium> I can agree to that
12:31:41 <peter1138> The actual distance is 40km, so a bit more :)
12:31:43 <pickpacket> Hmmm. Should I make a NewGRF that only adds a hilariously expensive sports car that doesn't even take passengers?
12:41:58 <peter1138> Would it give you joy?
12:46:34 <_jgr_> frosch123viaGitHub: Oh dear, I don't know how that got left out of the original PR
12:52:05 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #14003: Fix: [NewGRF] Roadstop animation/randomisation was not triggered on vehicle arrival https://github.com/OpenTTD/OpenTTD/pull/14003#pullrequestreview-2768142778
12:53:33 <DorpsGek> [OpenTTD/OpenTTD] frosch123 merged pull request #14003: Fix: [NewGRF] Roadstop animation/randomisation was not triggered on vehicle arrival https://github.com/OpenTTD/OpenTTD/pull/14003
13:06:13 <DorpsGek> [OpenTTD/OpenTTD] frosch123 opened pull request #14004: Unify naming of NewGRF animation and randomisation triggers https://github.com/OpenTTD/OpenTTD/pull/14004
13:11:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14004: Unify naming of NewGRF animation and randomisation triggers https://github.com/OpenTTD/OpenTTD/pull/14004#issuecomment-2805012850
13:17:09 <pickpacket> peter1138: it would give me a laugh, at least. But maybe the idea is funny enough that the realisation of it would be anticlimactic :)
13:24:19 <andythenorth> was it lunch?
13:24:56 <pickpacket> andythenorth: yes. You missed it
13:45:34 *** WormnestAndroid has quit IRC (Remote host closed the connection)
13:45:48 *** WormnestAndroid has joined #openttd
13:54:45 *** nielsm has joined #openttd
14:36:25 <frosch123> Were there ever complaints about house and station animations running too fast?
14:36:25 <frosch123> Specs say default speed is 2. Ottd does 0. Which is 4 times faster
14:39:42 <peter1138[d]> default, newgrf or both?
14:44:46 <frosch123> Newgrf only
14:45:35 <frosch123> Funny part is: houses disallow setting speed below 2, except our default is
14:45:37 <talltyler> I canโ€™t think of any animated NewGRF houses besides those with palette animation
14:48:35 <peter1138[d]> "road aware" houses use animation.
14:48:54 <peter1138[d]> But speed isn't a problem there.
14:49:10 <_zephyris> Is pikka's bug on that still open?
14:49:42 <_zephyris> The anim frame trigger on build
14:51:18 <peter1138[d]> Probably.
14:51:40 <peter1138[d]> I don't think I implemented trigger-on-build as I side-quested into something else.
14:51:49 <peter1138[d]> Although maybe I have a branch/stash for it.
14:53:51 <frosch123> _zephyris: That's the reason I am in this rabbit hole :p
14:55:07 <peter1138[d]> Uh oh.
14:55:16 <frosch123> Houses were broken in ottd 1.1. Ottd 0.5-1.0 were fine
14:59:58 <peter1138[d]> Working out which is a bug and which is intended can be tricky.
15:00:44 <peter1138[d]> Things can get lost in refactoring. "I'll sort that out later."
15:07:20 <peter1138[d]> Maybe there's something similar to industries which stops FIRS animating so many tiles :p
15:07:28 <peter1138[d]> *for industries.
15:19:07 *** urdh has joined #openttd
15:23:42 <DorpsGek> [OpenTTD/OpenTTD] frosch123 opened pull request #14005: Fix: [NewGRF] Animation speed properties of houses and stations had wrong default. https://github.com/OpenTTD/OpenTTD/pull/14005
15:23:45 *** gelignite has joined #openttd
15:24:23 <LordAro> only 15 years
15:26:22 <frosch123> And only because someone requested to use enum classes
15:29:38 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1361725161237254175/image.png?ex=67ffcce2&is=67fe7b62&hm=deec4344474da64fa95bbc49cf25c9a3f6f25bb94829be29c855de1675fd7119&
15:29:38 <xarick> could we have a group by model?
15:31:18 <peter1138> frosch123, well worth me being annoying then :P
15:32:31 <andythenorth> group by badge
15:33:07 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361726036492026007/image.png?ex=67ffcdb2&is=67fe7c32&hm=c4db8016ac270c0485baaafd18ed4f98a8d196c953d8ec29ff85b0c39d45c598&
15:33:07 <andythenorth> can we have a 'filter by recommended replacement variants'? ๐Ÿ˜›
15:33:44 <andythenorth> and a 'hide / show' that doesn't require 9476 extra action 0s wrapped in action 7 / 8
15:33:48 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361726211348369641/image.png?ex=67ffcddc&is=67fe7c5c&hm=14940345ce8aad9c7dae820ccec971666e98b40ddc038d79c2057662d86cb766&
15:35:32 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14005: Fix: [NewGRF] Animation speed properties of houses and stations had wrong default. https://github.com/OpenTTD/OpenTTD/pull/14005#pullrequestreview-2768902032
15:36:32 <peter1138[d]> andythenorth: Do not understand the request.
15:36:49 <andythenorth> it relied on a lot of hidden assumptions ๐Ÿ˜›
15:37:25 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361727122284216411/image.png?ex=67ffceb5&is=67fe7d35&hm=88c130d97f5f2534ca30a7ac9c523544e2ce348d25d201db10ef06f5fbe008eb&
15:37:25 <andythenorth> Horse has these two parameters that reduce or hide engines and wagons
15:38:04 <andythenorth> they rely on some vehicles having a flag, and setting CLIMATE_NONE in an extra action 0 conditional on those params
15:38:32 <andythenorth> it's surprisingly bloaty and players can't change it in game
15:40:25 <andythenorth> deleting them saves 6 MB of nml, 0.6 MB of grf
15:41:10 <andythenorth> we could badge for 'do you want all the vehicles ever?'
15:43:14 *** Wormnest has joined #openttd
15:56:28 <frosch123> Other sets also set the model life depending on such settings, and retire old generations, or keep them around if they are the last.
15:56:28 <frosch123> That won't work with gui filtering only
16:01:20 <andythenorth> hmm yes
16:01:32 <andythenorth> Horse removes variants for simplified, that's an action 0 change
16:01:49 <peter1138[d]> "Hide variants"?
16:03:18 <andythenorth> we talked before about toggles for expired also
16:03:22 <andythenorth> I know we have a setting, but eh
16:04:13 <peter1138[d]> Talking about stuff means nothing.
16:14:20 <talltyler> I wrote some code the last time we talked about it. Needs more work though.
16:14:20 <talltyler> https://github.com/OpenTTD/OpenTTD/pull/12599
16:23:16 *** normalperson8046 has joined #openttd
16:23:16 <normalperson8046> https://x.com/TheDunkCentral/status/1912129986661663128#m
16:35:56 *** Wolf01 has joined #openttd
16:39:29 *** gelignite has quit IRC (Quit: Stay safe!)
16:45:22 <andythenorth> vibe coding is too hard
16:56:39 *** bigyihsuan has joined #openttd
16:56:39 <bigyihsuan> i now have the sudden urge to change the "only generate primary industries" setting into a "industry types allowed to generate" setting, that does none, primary only, secondary only, and all
17:07:12 <frosch123> Ah crap, fell down another level
17:16:00 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #14005: Fix: [NewGRF] Animation speed properties of houses and stations had wrong default. https://github.com/OpenTTD/OpenTTD/pull/14005
17:24:55 <peter1138[d]> Welcome back, I guess ๐Ÿ˜‰
17:35:40 <talltyler> bigyihsuan: Would be very nice to have, although thereโ€™s also the Black Hole industry type ๐Ÿ˜‰
17:35:50 <talltyler> (Power Station, etc)
17:36:09 <bigyihsuan> talltyler: true, but is the term "black hole industry" used anywhere?
17:36:33 <bigyihsuan> like in-gmae
17:38:06 <bigyihsuan> town industries, power station
17:38:37 <bigyihsuan> like, maybe a better term would be "final industry"? to be in line of primary and secondary
17:40:27 <Rubidium> bigyihsuan: what would you consider a bank?
17:41:11 <Rubidium> (it'd be a "final industry" in your terms)
17:41:24 <bigyihsuan> Rubidium: good question. do banks generate when primary industries only is turned on?
17:41:29 <bigyihsuan> let me check that
17:44:24 <bigyihsuan> https://cdn.discordapp.com/attachments/1008473233844097104/1361759077377511756/image.png?ex=67ffec78&is=67fe9af8&hm=59954e15178dd89fbe6dace54aca79704f656e241457f07ad627c4dbd89040e6&
17:44:24 <bigyihsuan> no they do not
17:49:45 <bigyihsuan> (noting here that the primary industries setting is a jgrpp setting, since i can't find it in the latest 15.0 beta)
17:52:48 <peter1138[d]> Hmm, does that mean the lift moved too quickly...
17:57:07 <bigyihsuan> Rubidium: ok, some experimentation:
17:57:07 <bigyihsuan> - primaries only off, banks don't generate with the world, and open during gameplay
17:57:07 <bigyihsuan> - primaries only on, banks don't generate with the world, don't open during gameplay unless the player funds it
17:57:07 <bigyihsuan> so seems like the game considers banks to be a secondary industry
17:57:16 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #14005: Fix: [NewGRF] Animation speed properties of houses and stations had wrong default. https://github.com/OpenTTD/OpenTTD/pull/14005#pullrequestreview-2769313493
17:59:51 <Rubidium> bigyihsuan: no, it considers it a 'black hole' or 'final' industry in the terms you mentioned before
18:00:08 <Rubidium> i.e. akin a power station or water tower
18:00:48 <bigyihsuan> Rubidium: interesting
18:00:55 <bigyihsuan> i'll need to investigate further
18:01:06 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14006: Change: Automatically push/pop colours when formatting a sub-string. https://github.com/OpenTTD/OpenTTD/pull/14006
18:09:15 <peter1138[d]> Hmm, oh. so colour codes and things end up being exposed to scripts. Bums.
18:10:18 <Rubidium> well... I guess we could be more diligent in removing them when passing strings to scripts
18:11:04 <peter1138[d]> Seems to already have ::StrMakeValid()
18:12:00 <peter1138[d]> Oh right, and that's working, the default is to replace with question marks.
18:17:26 <peter1138> So yeah, not actually exposed, but turned to ? instead.
18:17:28 <peter1138> Hmm.
18:24:21 <peter1138> For script string validation, maybe we can just strip control codes instead of replacing with ?.
18:31:30 <frosch123> They are only stripped for rawstrings from scripts. They put control codes into regular language files otherwise
18:32:23 <peter1138[d]> All the GetName() functions call StrMakeValid() with the default setting of ReplaceWithQuestionMark.
18:32:37 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14006: Change: Automatically push/pop colours when formatting a sub-string. https://github.com/OpenTTD/OpenTTD/pull/14006
18:34:01 <peter1138[d]> If regression tests pass, everything is good, right? ๐Ÿ˜„
18:35:58 *** kuka_lie has joined #openttd
18:42:48 <DorpsGek> [OpenTTD/OpenTTD] frosch123 merged pull request #14005: Fix: [NewGRF] Animation speed properties of houses and stations had wrong default. https://github.com/OpenTTD/OpenTTD/pull/14005
18:43:00 *** tokai|noir has joined #openttd
18:43:00 *** ChanServ sets mode: +v tokai|noir
18:47:43 *** tokai|noir has quit IRC ()
18:47:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14007: Codefix: Information for NewGRF specs remained duplicated after loading. https://github.com/OpenTTD/OpenTTD/pull/14007
18:49:52 *** tokai has quit IRC (Ping timeout: 480 seconds)
18:52:40 <peter1138[d]> Hmm, I wonder how much work that would be ๐Ÿ˜„
18:52:41 <andythenorth> is Horse Badgers done yet?
18:54:23 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #14006: Change: Automatically push/pop colours when formatting a sub-string. https://github.com/OpenTTD/OpenTTD/pull/14006#pullrequestreview-2769444654
18:57:05 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #14006: Change: Automatically push/pop colours when formatting a sub-string. https://github.com/OpenTTD/OpenTTD/pull/14006#pullrequestreview-2769456639
19:08:14 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #14007: Codefix: Information for NewGRF specs remained duplicated after loading. https://github.com/OpenTTD/OpenTTD/pull/14007#pullrequestreview-2769473678
19:18:22 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14007: Codefix: Information for NewGRF specs remained duplicated after loading. https://github.com/OpenTTD/OpenTTD/pull/14007
19:22:31 <andythenorth> was it naptime already?
19:30:53 <peter1138[d]> Usually.
19:36:28 <xarick> what happens first? the "constructor" or the "Load" function?
19:37:42 <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#pullrequestreview-2769577149
19:39:57 <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#pullrequestreview-2769582891
19:40:42 *** kuka_lie has quit IRC (Quit: Lost terminal)
19:44:36 <_glx_> xarick: I let you read <https://github.com/OpenTTD/OpenTTD/blob/master/src/script/script_instance.cpp#L217-L248> and find out ๐Ÿ™‚
19:45:51 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361789642562732042/image.png?ex=680008ef&is=67feb76f&hm=8c46d0bc7c9fbf5e8dffb8b88af4feb00df92f6d8b398013654b8b41b39717c2&
19:45:51 <andythenorth> hmm I can't reverse these in game
19:46:16 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361789745721507860/image.png?ex=68000908&is=67feb788&hm=08561d4e549d6f177b9f048d504f4f2f1e493e7c8fc554820e4bfec4bd5a07a9&
19:46:16 <andythenorth> but these use random reverse
19:46:39 <andythenorth> maybe I should have the sprites on the second unit take the reverse status of the first unit
19:47:22 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361790021564104724/image.png?ex=68000949&is=67feb7c9&hm=307e909cad73fbbada33cc77676e9d9d3cfe966cbb9c6ff4de79ab73971763ac&
19:47:22 <andythenorth> or I could photoshop it :p
19:47:41 <peter1138[d]> I'm glad we standardised on when to use .h vs .hpp.
19:47:49 <peter1138[d]> Oh wait, we didn't.
19:51:20 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1361791022522437652/image.png?ex=68000a38&is=67feb8b8&hm=a77d2b47a0f858f78d62a0a62dfde75f0742987ba3ef483a0854c5097bf741eb&
19:51:20 <xarick> I see
19:51:40 <Rubidium> well... I was kinda told off when proposing to unify it
19:52:02 <peter1138[d]> Quite.
19:53:56 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361791674992300133/image.png?ex=68000ad4&is=67feb954&hm=3d94b2701acc7690bddda39075b2810a7c385fa0a741f746b2fa7ae6cf541ede&
19:53:56 <andythenorth> ok...these wagons are deterministic random (which is why trains 4 and 6 are the same). The sprites are chosen by a predetermined map, selected at random from 64 maps. I could do the same for engine., but specific sequence, not random
19:54:12 <andythenorth> way easier than arsing around with complicated varact 2 rules
19:55:18 <Rubidium> peter1138[d]: #11864
19:55:37 <peter1138[d]> I'm aware, that is what I was referencing ๐Ÿ™‚
19:55:46 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361792135283871745/image.png?ex=68000b41&is=67feb9c1&hm=6dd385c95e8fd41efb40534dc432daac912ec8b4f69d8c5acf24c39769e6ef9a&
19:55:46 <andythenorth> reversible garratts
19:55:54 <andythenorth> oh have to move the smoke ๐Ÿ˜›
19:56:49 <peter1138[d]> Funny how core/ is all .hpp
19:58:42 <peter1138[d]> `template<xxx>` has crept back in too ๐Ÿ™‚
19:59:25 *** gelignite has joined #openttd
20:01:55 *** nielsm has quit IRC (Ping timeout: 480 seconds)
20:14:34 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14008: Codefix: Codestyle consistency fixes. https://github.com/OpenTTD/OpenTTD/pull/14008
20:15:46 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #14008: Codefix: Codestyle consistency fixes. https://github.com/OpenTTD/OpenTTD/pull/14008#pullrequestreview-2769692542
20:28:26 <frosch123> I now have a grep to check my common formatting issues, should add those as well
20:28:48 <peter1138[d]> CI check? ๐Ÿ™‚
20:29:02 <frosch123> It has false positives
20:30:05 <frosch123> E.g. we do "Type &" for variables and parameters, but "Type&" for return values
20:30:19 *** debdog has joined #openttd
20:30:34 <peter1138[d]> Actually IMHO, we don't, those need fixing.
20:31:42 <peter1138[d]> (I didn't touch them in #14008 because it would be quite large...)
20:31:52 <frosch123> It appeared rather consistent to me, so I thought it was intentional
20:31:57 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361801240803279120/image.png?ex=680013bc&is=67fec23c&hm=0fc9cdeca76395b69bb61d8689da832b2e737244febda4f55f209a8131f23b0b&
20:31:57 <andythenorth> badges for debugging ๐Ÿ™‚
20:32:11 <andythenorth> just fixed an intro_year bug in 2 mins with them
20:32:31 <peter1138[d]> o_O
20:33:32 <frosch123> When will Andy add source filename/line as badge?
20:33:40 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
20:37:07 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1361802543746781396/image.png?ex=680014f3&is=67fec373&hm=12174cc6a1f4e0e0ab744d0a3e03b1d9a0a922a6e89951c9dc8e9eade5c27b88&
20:37:07 <andythenorth> when peter1138[d] increases the badge count
20:37:23 <andythenorth> imagine the compile time ๐Ÿ˜ฆ
20:38:48 <_glx_> frosch123: don't give him ideas
20:39:48 <andythenorth> I didn't manage to get railtype badge to show on vehicle
20:40:01 <andythenorth> I did try adding debug, but was out of my depth
20:41:14 <andythenorth> it's probably a silly thing to badge anyway
20:41:18 <Rubidium> for line numbers line 20 badges should be enough. At least, I hope you won't reach 1 million lines
20:42:39 <andythenorth> what problem did we need to solve? ๐Ÿ™‚
20:57:17 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14008: Codefix: Codestyle consistency fixes. https://github.com/OpenTTD/OpenTTD/pull/14008
20:58:15 *** gelignite is now known as Guest13734
20:58:19 *** gelignite has joined #openttd
21:03:51 *** gelignite is now known as Guest13735
21:03:54 *** gelignite has joined #openttd
21:04:50 *** Guest13734 has quit IRC (Ping timeout: 480 seconds)
21:10:22 *** Guest13735 has quit IRC (Ping timeout: 480 seconds)
21:17:54 <andythenorth> hmm did I even have a quest?
21:21:26 *** Flygon has quit IRC (Read error: Connection reset by peer)
21:30:04 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:31:02 *** gelignite has quit IRC (Quit: Stay safe!)
21:32:52 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:33:40 <andythenorth> var with param that is list of badges, the return is the index of the first badge found
21:33:49 <andythenorth> probably terrible
21:34:02 <andythenorth> I should just loop unroll ๐Ÿ˜›
21:51:56 <xarick> `AIRoad.GetRoadVehicleTypeForCargo`, is there a get road station type for vehicle type or something similar?
21:52:42 <xarick> or... how should I do this in a professional manner ? ๐Ÿ˜ฎ
21:53:35 <xarick> it all starts from the cargo class -> cargo type -> vehicle type for cargo -> station type for vehicle
21:54:09 <xarick> I could just keep assuming stuff though, simple way
22:00:15 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14009: Codechange: Use std::unique_ptrs for handling station cargo display. https://github.com/OpenTTD/OpenTTD/pull/14009
22:00:39 *** tokai has joined #openttd
22:00:39 *** ChanServ sets mode: +v tokai
22:26:28 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14010: Codechange: Use EnumBitSet for CzechAllowFlags and CzechChooseFlags. https://github.com/OpenTTD/OpenTTD/pull/14010
23:37:18 <__abigail> https://cdn.discordapp.com/attachments/1008473233844097104/1361847887591641158/image.png?ex=68003f2e&is=67feedae&hm=b50339944e171fa58b6eb10c9bea6af4262e72f97b96a4c522c2e8289f78da28&
23:37:18 <__abigail> It was a pain in the ass but I finally managed to use Blitter to crop text