IRC logs for #openttd on OFTC at 2023-10-07
            
00:22:30 <DorpsGek> [OpenTTD/nml] glx22 opened pull request #309: Change: Use extended Action1s https://github.com/OpenTTD/nml/pull/309
00:27:45 <DorpsGek> [OpenTTD/nml] github-code-scanning[bot] commented on pull request #309: Change: Use extended Action1s https://github.com/OpenTTD/nml/pull/309#pullrequestreview-1662930802
01:18:13 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #309: Change: Use extended Action1s https://github.com/OpenTTD/nml/pull/309
01:36:12 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
01:43:46 *** geli has joined #openttd
01:51:05 *** gelignite has quit IRC (Ping timeout: 480 seconds)
02:07:36 *** Wormnest has quit IRC (Quit: Leaving)
02:23:01 *** D-HUND has joined #openttd
02:26:35 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:44:33 *** Smedles has quit IRC (Read error: Connection reset by peer)
02:46:08 *** Smedles has joined #openttd
03:37:10 *** bryjen has joined #openttd
03:47:37 *** D-HUND is now known as debdog
04:19:11 *** geli has quit IRC (Quit: Stay safe!)
04:40:02 *** keikoz has joined #openttd
05:46:18 *** bryjen has quit IRC (Quit: Leaving)
06:04:10 *** planetmaker has joined #openttd
06:04:33 *** planetmaker is now known as Guest2445
06:44:39 <ahyangyi> andythenorth: nice
06:55:19 *** nielsm has joined #openttd
08:56:36 *** HerzogDeXtEr has joined #openttd
09:41:04 <DorpsGek> [OpenTTD/OpenTTD] Mons1990 commented on issue #10450: [Bug]: Wrong signal spacing while using autoplacement feature https://github.com/OpenTTD/OpenTTD/issues/10450
11:52:47 <andythenorth> was it lunch?
11:54:58 *** belajalilija has joined #openttd
11:54:58 <belajalilija> Baby dont hurt me
11:55:51 <debdog> hrrhrr
11:55:59 <andythenorth> does anyone use objects?
11:56:01 <andythenorth> ever?
11:58:42 <ahyangyi> Are objects ever objectionable?
12:04:06 <peter1138> Not had lunch yet.
12:04:19 <peter1138> Although I did have a sausage roll at the cafe stop.
12:08:58 <andythenorth> I had an egg custard thing at bouldering
12:10:05 *** kamnet has joined #openttd
12:10:05 <kamnet> I've not yet had breakfast. But is it breakfast when I've been awake for 12 hours?
12:10:53 <alfagamma7> belajalilija: *"What is love" plays in background*
12:12:39 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160187936516624437/image.png?ex=6533c037&is=65214b37&hm=06c1a55c369eb18ab5a7f6359d31808f7d4a97faef5b4e1cd961247726482b53&
12:12:39 <andythenorth> lot of objects going in CHIPS to deal with corner slopes πŸ˜›
12:12:54 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160187998357438475/image.png?ex=6533c046&is=65214b46&hm=d71e03dfa6e31855e6519ebbfd303650ad134eb1cb2a4ca837d0bf4453525b29&
12:13:06 <andythenorth> goes it build non-track station tiles on corner slopers?
12:13:15 <talltyler> I use objects a lot. Those look nice. πŸ™‚
12:13:53 <andythenorth> kind of wondering why station grf needs objects
12:14:10 <andythenorth> is there any other case beside corner slopers?
12:14:25 <peter1138> kamnet, if you haven't broken your fast... then yes.
12:14:43 <peter1138> Station GRFs do not need objects.
12:15:41 <andythenorth> it's the only way to build stations on corner slopers
12:15:49 <andythenorth> I can't see any other reason
12:16:29 <andythenorth> I guess sometimes you might want to fill the gap between 2 stations
12:19:10 <_glx_> https://cdn.discordapp.com/attachments/1008473233844097104/1160189577227665489/image.png?ex=6533c1be&is=65214cbe&hm=d60fefcb594a5d6acedce494ad3d1cb8875fe7e47526ed55e6c37e109acc2001&
12:19:10 <_glx_> so this is because not using extended action1 ?
12:19:33 <andythenorth> is that FIRS?
12:19:37 <_glx_> it is
12:19:51 <andythenorth> yes, I have to specify different spritesets for different spritelayouts
12:19:58 <andythenorth> I should have automated that though, it's not hard
12:20:09 <andythenorth> the manual way is silly
12:20:26 <_glx_> if you want to try #309 it should not be needed at all
12:20:29 <andythenorth> I automated it for CHIPS now
12:20:39 <andythenorth> oh 309 πŸ™‚
12:20:43 <andythenorth> nice
12:21:43 <_glx_> btw you could have use [] for padding
12:22:18 <andythenorth> yes
12:23:03 <emperorjake> why not allow non-track tiles on corner slopes?
12:23:47 <andythenorth> _glx_: do I need to now use `const` for constants?
12:24:07 <andythenorth> `sprite: GROUNDSPRITE_ROAD_X` is unrecognised identifier
12:24:15 <andythenorth> (with 309)
12:24:21 <andythenorth> I'll test master though
12:24:35 <_glx_> oh maybe I forgot to rebase
12:24:46 <andythenorth> eh it's not ideal that I run a locally patched nmlc most of the time
12:24:52 <andythenorth> so I don't pull master often
12:25:08 <andythenorth> but the only way to get rid of the stupid palette check is my local patch
12:25:16 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #309: Change: Use extended Action1s https://github.com/OpenTTD/nml/pull/309
12:25:21 <andythenorth> palette check is insanely slow and totally redundant
12:25:32 <kamnet> andythenorth: Because it frees up a NewGRF slot and will likely eliminate the need to use at least two duplicate Objects sets.
12:25:45 <_glx_> I have too many nml branches
12:25:52 <andythenorth> πŸ˜›
12:26:19 <andythenorth> kamnet: expand on this? πŸ™‚ It sounds like an implementation reason, not a gameplay reason? πŸ™‚
12:29:06 <kamnet> The objects are already loaded and the player can learn how to make more interesting and useful stations. And if they don't ever open up objects, having it there isn't doing them any harm or getting in their way. It's just simpler on a player, really.
12:29:12 <_glx_> 7 open PRs, some may conflict with each other
12:30:05 <andythenorth> kamnet: is there a reason to build station objects instead of just stations?
12:30:06 <kamnet> I see absolutely no downside from the player's perspective to having a station set also generate objects.
12:30:24 <_glx_> objects don't extend station catchement
12:30:33 <kamnet> Infrastructure costs?
12:30:37 <andythenorth> oh do some servers limit station size?
12:30:48 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160192504650543154/image.png?ex=6533c478&is=65214f78&hm=c6fcc83f02aff53f7942e21acc0c39fdf8b6fabead712bba4229d86a2c418745&
12:31:34 <_glx_> I can see how non track station tiles not showing any cargo could be replaced with objects
12:32:19 <andythenorth> andythenorth: I need to stop seeing that the gold text colour doesn't match the orange +/- disclosure widgets πŸ˜›
12:32:22 <andythenorth> my eyes
12:33:04 <kamnet> My eyesight it shot, so it doesn't much matter to me πŸ˜›
12:33:12 <_glx_> put +/- in the font ?
12:33:23 <andythenorth> peter1138: has various patches that make them look better
12:33:31 <andythenorth> "patch for that"
12:33:51 <andythenorth> kamnet: your story prompted me to get an eye test recently
12:33:53 <andythenorth> thanks
12:35:24 <kamnet> You're welcome! Latest result of recovery, left eye is between 20/60 and 20/30 vision and should keep improving towards 20/30.
12:38:12 <andythenorth> good to hear
12:38:22 <andythenorth> ok so the object question
12:38:34 <andythenorth> it's trivial to generate the objects in the station grf
12:38:44 <andythenorth> but I have to organise them somehow into classes
12:39:10 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160194609088049202/image.png?ex=6533c66e&is=6521516e&hm=daa442160dd1f562cb51d94567ae9c358b8faa35d79f3932866e93b7585873f8&
12:39:10 <andythenorth> CHIPS 3 is organised by ground tile type
12:39:12 <talltyler> Or we could just patch the game to allow non-track station tiles on corners
12:39:52 <talltyler> Just to keep all options in mind, not saying it’s the best one πŸ™‚
12:40:08 <andythenorth> open field of options
12:40:21 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160194908322271283/image.png?ex=6533c6b5&is=652151b5&hm=62d5f51b9b7dbefef28981ec8799296e0ec46067f16a35cb27577209ffa8244d&
12:40:21 <andythenorth> I don't know what I'd call the object classes
12:40:37 <andythenorth> They're not stations eh
12:40:47 <andythenorth> But they're intended for use at stations
12:41:45 *** brickblock19280 has joined #openttd
12:41:45 <brickblock19280> Chips a g c and d
12:41:48 <DorpsGek> [OpenTTD/OpenTTD] kaomoneus opened issue #11356: [Bug]: Release(Linux) workflow fails if cache is disabled https://github.com/OpenTTD/OpenTTD/issues/11356
12:42:26 <_glx_> talltyler: non-track stations have hidden track, and default station as fallback if grf is not present
12:43:04 <peter1138> Well
12:44:14 <peter1138> Patch the game to allow track station tiles on slopes. Then non-track station tiles just work too.
12:44:59 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #11356: [Bug]: Release(Linux) workflow fails if cache is disabled https://github.com/OpenTTD/OpenTTD/issues/11356
12:45:29 <DorpsGek> [OpenTTD/OpenTTD] kaomoneus opened pull request #11357: Do not merge! Disabled vcpkg cache to highlight problem https://github.com/OpenTTD/OpenTTD/pull/11357
12:46:32 <DorpsGek> [OpenTTD/OpenTTD] kaomoneus commented on issue #11356: [Bug]: Release(Linux) workflow fails if cache is disabled https://github.com/OpenTTD/OpenTTD/issues/11356
12:50:35 <DorpsGek> [OpenTTD/OpenTTD] kaomoneus commented on issue #11356: [Bug]: Release(Linux) workflow fails if cache is disabled https://github.com/OpenTTD/OpenTTD/issues/11356
12:51:24 <truebrain> so basically he is reporting a vcpkg issue, right _glx_ ?
12:51:35 <_glx_> looks like it yes
12:59:51 <andythenorth> peter1138: disconnecting trains though?
13:00:13 <andythenorth> sloped stations? πŸ˜›
13:01:43 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on issue #11356: [Bug]: Release(Linux) workflow fails if cache is disabled https://github.com/OpenTTD/OpenTTD/issues/11356
13:01:46 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain closed issue #11356: [Bug]: Release(Linux) workflow fails if cache is disabled https://github.com/OpenTTD/OpenTTD/issues/11356
13:01:50 *** Tirili has joined #openttd
13:02:28 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11357: Do not merge! Disabled vcpkg cache to highlight problem https://github.com/OpenTTD/OpenTTD/pull/11357#issuecomment-1751707385
13:02:31 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain closed pull request #11357: Do not merge! Disabled vcpkg cache to highlight problem https://github.com/OpenTTD/OpenTTD/pull/11357
13:03:06 <truebrain> if only we had infinite resources to fix all issues πŸ˜„
13:06:20 <truebrain> that said, it is a bit annoying vcpkg breaks this easily for our base image .. they do run CI on some linux targets, but for some reason ours is a bit more special πŸ˜„
13:07:42 <DorpsGek> [OpenTTD/OpenTTD] kaomoneus commented on pull request #11357: Do not merge! Disabled vcpkg cache to highlight problem https://github.com/OpenTTD/OpenTTD/pull/11357#issuecomment-1751708661
13:18:14 <DorpsGek> [OpenTTD/OpenTTD] kaomoneus commented on issue #11356: [Bug]: Release(Linux) workflow fails if cache is disabled https://github.com/OpenTTD/OpenTTD/issues/11356
13:22:16 <DorpsGek> [OpenTTD/nml] andythenorth commented on pull request #309: Change: Use extended Action1s https://github.com/OpenTTD/nml/pull/309#issuecomment-1751712035
13:24:33 <truebrain> Python3 dragging in X11 dependencies .. that is just so weird πŸ˜›
13:24:41 <truebrain> I miss the days software did one thing, and one thing only πŸ˜„
13:25:51 <_glx_> just started a master release on my fork (guess you did the same)
13:26:24 *** michi_cc[d] has joined #openttd
13:26:24 <michi_cc[d]> Don't worry, just wait a bit more and then the only software you need anyway is a copy of Electron πŸ˜›
13:26:57 <truebrain> yum!
13:26:58 <truebrain> πŸ˜„
13:28:05 <truebrain> _glx_: I did not; I just looked at the logs he provided
13:29:41 <andythenorth> isn't everything just a WASM app in future?
13:29:44 <andythenorth> and your OS is chrome?
13:33:57 <merni> truebrain: is it because of tkinter?
13:36:22 <truebrain> No clue
13:57:52 *** peter1138[d] has joined #openttd
13:57:52 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1160214413589106738/rn_image_picker_lib_temp_da62d7b0-6a82-4e10-89e6-efcd3244aeca.jpg?ex=6533d8df&is=652163df&hm=dcf48c861e0360fcf1846850920fb827729c168417add784ae6daa25181993a3&
13:57:52 <peter1138[d]> Lol, just the manuals disc...
13:59:42 <truebrain> lol
14:01:39 <andythenorth> Did CD ROMs have different speed compatabilities?
14:01:54 <andythenorth> I remember something about 4x vs 8x
14:03:08 <michi_cc[d]> I can't remember seeing anything like that on actual CD-ROMs. On drives of course, and for the write speed of CD-Rs, too.
14:04:36 <belajalilija> yeah i think it was the write speed
14:07:45 <andythenorth> That was it
14:08:22 <andythenorth> I owned one CD-RW disc also, they were like gold dust
14:08:28 <andythenorth> Also pointless
14:08:50 <andythenorth> External hard drives were less trouble
14:37:20 *** gelignite has joined #openttd
14:43:15 <_glx_> nice I still have access to logs from a 13.4 test release (3 months old)
14:46:53 <_glx_> https://gist.github.com/glx22/e2b7e39e53ef6e3e09f1b800ab4f3f64
14:48:21 <truebrain> Before you fall in an endless pit, be mindful 13.4 might not build anymore at all
14:48:37 <alfagamma7> michi_cc[d]: Oh dear
14:48:55 <truebrain> Even with cache, that is πŸ™‚
14:49:46 <_glx_> yeah but master fails, while my 13.4 test built fine in july
14:50:09 <truebrain> Vcpkg changes πŸ™‚
14:50:27 <truebrain> I fixed at least 2 upstream vcpkg issues in the last few months πŸ˜›
14:50:47 <_glx_> also 13.X doesn't have the same exact deps as master
14:51:20 <truebrain> Just be careful not to spend a lot of time on 13.x. we won't have another release anymore πŸ˜‰
14:51:41 <_glx_> not my intention, I was just comparing logs
14:51:48 <truebrain> Good πŸ™‚
15:01:40 <_glx_> and updated gist keeping only the important part (vcpkg installation plans)
15:02:43 <_glx_> of course it won't help πŸ™‚
15:04:28 <andythenorth> anyone who can review nml 309? πŸ™‚
15:04:38 <andythenorth> otherwise I have to stack patches on top of that branch πŸ˜›
15:04:56 <andythenorth> https://github.com/OpenTTD/nml/pull/309#issuecomment-1751712035
15:05:08 <_glx_> well 309 and the 6 other ones πŸ˜‰
15:05:34 <andythenorth> πŸ™‚
15:05:56 <_glx_> we don't have enough nml devs
15:14:03 <peter1138[d]> Has anyone rewritten it in c++ or rust yet?
15:16:33 <andythenorth> Truebrain wrote the industry part in rust
15:16:46 <_glx_> but it's not nml
15:18:44 <peter1138> Urgh, tired legs :/
15:22:45 <LordAro> peter1138: yup
15:28:09 *** Flygon has quit IRC (Read error: Connection reset by peer)
15:48:29 <_glx_> of course doing `./vcpkg install dbus` in a fresh vcpkg clone inside wsl works fine
16:08:04 <peter1138> Hmm, am I riding tomorrow...
16:12:00 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160248171969118310/image.png?ex=6533f850&is=65218350&hm=7b4777d274892a1d0795407ef40d48ce00ed2c8d7325c7dfa4999ef4d4be444d&
16:12:00 <andythenorth> how should I organise these cranes as objects?
16:12:29 <andythenorth> the stations are 2 tiles, and each tile has two orientations, ne_sw and nw_se
16:13:00 <andythenorth> 1 object 4 view? 4 objects? 2 objects, 2 views each?
16:13:32 <andythenorth> I don't use object views in FIRS objects, they make it hard to find things
16:14:12 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160248723243290775/image.png?ex=6533f8d4&is=652183d4&hm=6e4e67dd2208b7df4b9879b5d8e7dd66556dd96dbfb38d5312f870a1c9edf537&
16:14:12 <andythenorth> "hmm"
16:16:01 <talltyler> Views only for rotations, IMO
16:16:17 <talltyler> Using them for styles are confusing
16:16:39 <talltyler> I don’t hate crane rails with/without crane though
16:17:48 *** virtualrandomnumber has joined #openttd
16:17:59 *** virtualrandomnumber has quit IRC ()
16:19:06 <DorpsGek> [OpenTTD/OpenTTD] kaomoneus commented on issue #11356: [Bug]: Release(Linux) workflow fails if cache is disabled https://github.com/OpenTTD/OpenTTD/issues/11356
16:19:47 *** kaomoneus has joined #openttd
16:21:38 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160250596067123291/image.png?ex=6533fa92&is=65218592&hm=a3675f8f91e772b993c17633c0d5ddcd6c70f97a7119588bfdefb4b9f54dec7d&
16:21:38 <andythenorth> FIRS just does this for rotations, it's the most obvious
16:22:22 <merni> eek
16:22:23 <andythenorth> but the number of objects in each class is short
16:26:14 <andythenorth> meh station objects are dull πŸ™‚
16:35:55 *** kaomoneus has quit IRC (Quit: Page closed)
16:40:56 <peter1138> Yes, rotations should be done as views, and views should only be rotation.s
16:42:30 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160255844278083654/image.png?ex=6533ff75&is=65218a75&hm=ff11ad883ee4d732081c616331d0bf233a19b52795799e22bdcb7a07d2a353a2&
16:42:35 <andythenorth> consistent with stations I guess
16:42:51 <andythenorth> it's quite hard to understand the other orientation exists, but eh
16:43:00 <andythenorth> yolo
16:50:19 <LordAro> peter1138: i'm spending the evening at a whisky festival, so... probably not
16:51:53 <peter1138> Good idea.
16:52:07 <peter1138> I have some whisky, I could have a private festival.
16:54:12 <peter1138> My Dad's doing a New Forest ride tomorrow, Gridiron 100km. I only found out today, but
16:54:25 <peter1138> Bit annoyed as it would've been nice to do it with him.
17:04:33 <andythenorth> found the 'paste from clipboard history' key combo in my text editor
17:04:36 <andythenorth> this is life changing
17:05:39 <_glx_> ah yes the nice windows+V πŸ™‚
17:07:00 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160262011700117544/image.png?ex=65340534&is=65219034&hm=f162479db36ab74ae812fdcf1cbd5649c8b4eb0b949e6c1cc3b77445ce390a30&
17:07:00 <andythenorth> ok did a thing
17:07:15 <andythenorth> those objects probably shouldn't exist, but eh
17:17:39 <peter1138> Well
17:24:46 <peter1138> `[bugprone-easily-swappable-parameters]` is a kinda right but also kinda annoying to report :)
17:24:52 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160266508014993458/image.png?ex=65340964&is=65219464&hm=c6a81dfefa373bde583d75d56d8ec93054061eeacedef30e43bbe2c3f4bb5ab2&
17:24:52 <andythenorth> my road stop efforts are lacking
17:25:18 <peter1138> Is it common to build truck loading bays under silos?
17:26:20 <andythenorth> sort of https://media.istockphoto.com/id/539645210/photo/cement-silo.jpg?s=170667a&w=0&k=20&c=4z-sLRhodnzEYk5n7170tJc6KXaMVt6PyPxtRc6L69s=
17:26:35 <_glx_> I saw some in farming videos
17:26:52 <andythenorth> dunno, I don't have many truck stop ideas yet
17:27:00 <andythenorth> just trying out the feature
17:27:24 <andythenorth> wonder how it looks with large dump trucks?
17:29:29 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160267667945574540/image.png?ex=65340a78&is=65219578&hm=e509b9b1e59954d7f29619c7a4407c1e22ff47cd14b2c6b28876fd2f121cb2d0&
17:29:29 <andythenorth> better than I expected
17:30:22 <andythenorth> goes it bay version?
17:30:37 <andythenorth> didn't someone want bay RV stops removed?
17:31:12 <talltyler> The proverbial β€œsomeone”
17:31:29 <andythenorth> was it TB?
17:32:02 <talltyler> You might check out whoever made road stops for JGRPP (Fridamon?), as they have a lot of options
17:32:16 <talltyler> I think that grf is JGRPP only for now, though
17:33:49 <andythenorth> got it ta
17:34:19 <andythenorth> oh there are lots πŸ™‚
17:34:34 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160268947120205934/image.png?ex=65340ba9&is=652196a9&hm=8b89aca03a9656dfe69dd388ca87d400b033e9ccad1dad3f7ce96fa155e95eb5&
17:34:34 <andythenorth> some CHIPS ones already
17:35:50 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160269268743635015/image.png?ex=65340bf6&is=652196f6&hm=6abcab2bfdbebbc3dc189a0753ade74c1965960da2992098ab190e3ac93212e5&
17:35:50 <andythenorth> also bare ground
17:36:00 <andythenorth> so trucks could just drive 'into' industry
17:36:10 <andythenorth> hard to use though, no indication of alignment
17:37:23 <kamnet> https://cdn.discordapp.com/attachments/1008473233844097104/1160269658004406352/image.png?ex=65340c53&is=65219753&hm=fb18975e6bed1549524a4b7ce7dbf6fceb861e84785a79c0b148b9b0c6805ff6&
17:37:52 <kamnet> https://cdn.discordapp.com/attachments/1008473233844097104/1160269778989109310/image.png?ex=65340c70&is=65219770&hm=3f15b00ee120a8bc28f8c533bfe58423091f5bb58de2af3bf4acd1a125c1c352&
17:38:04 <ahyangyi> andythenorth: nice
17:38:11 <kamnet> https://cdn.discordapp.com/attachments/1008473233844097104/1160269859733643448/image.png?ex=65340c83&is=65219783&hm=605451e6f1e96518a50e122425a4f570b860eb2735781781b26e4ba3d72d7da9&
17:38:29 <andythenorth> ok well that's lots of ideas
17:38:37 <andythenorth> not sure what I'll include though
17:38:52 <talltyler> Ground tile with stripes to mark the road edges could be nice
17:39:31 <talltyler> There’s a road set that had FIRS Concrete roads like that, not sure which grf
17:40:54 <andythenorth> pipes and crap
17:40:58 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160270555962945677/bulk-freight-ebook-1.png?ex=65340d29&is=65219829&hm=679c5caa4b47a2c265190aba7c33f52cf6886b4fb3079c36c770593f30773b2a&
17:40:58 <andythenorth> tanker loading would be one obvious type
17:41:09 <andythenorth> pipes and crap
17:42:02 <talltyler> CHIPS could use that for trains too, I use the ISR one all the time
17:42:24 <andythenorth> ++
17:42:28 <peter1138> Hmm, does NRVO mean I can just return a std::vector and not worry much?
17:43:56 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160271305048866939/chips.grf?ex=65340ddb&is=652198db&hm=a2fa935e9d6a91911c2e2e7fcc68015e1ffcf21598a435ec2232466b8b90fee5&
17:43:56 <andythenorth> recent build of CHIPS if anyone wants to try
17:44:10 <peter1138> https://stackoverflow.com/questions/15704565/efficient-way-to-return-a-stdvector-in-c
17:44:17 <peter1138> Okay, works for me :D
17:52:07 <peter1138> If "original_dos" and "original_windows" and "OpenMSX" still play with my changes to music.cpp and midifile.cpp, then it's good, right? :D
17:55:28 <peter1138> Hmm, not sure about scope though.
18:03:01 <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #11358: Fix: [CI] Missing dependency in release-linux workflow https://github.com/OpenTTD/OpenTTD/pull/11358
18:04:20 <peter1138> Doesn't vcpkg sort out those dependencies?
18:08:40 <peter1138> Good ol' dependency hell.
18:22:20 <michi_cc[d]> Well, the package glx added isn't in vcpkg but in the underlying linux.
18:30:15 <peter1138> Yeah, I suppose
18:37:51 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/84201a85202a4ddb972f953c97e2d4f90be1c1e1
18:37:52 <DorpsGek> - Update: Translations from eints (by translators)
18:49:37 <_glx_> Main issue is we build releases on a very old linux
19:28:08 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #11358: Fix: [CI] Missing dependency in release-linux workflow https://github.com/OpenTTD/OpenTTD/pull/11358#issuecomment-1751800465
19:38:08 <peter1138> Is there a way to tell CMake that I don't want it to use SDL2, even though it's installed?
19:42:42 <_glx_> we don't have options for that, but you can tell openttd to not use sdl2 with `-v`
19:43:01 <peter1138> I want to use SDL1.
19:43:15 <_glx_> ah yeah that's a problem
19:43:38 <peter1138> With SDL 2 running in a debugger, it captures the mouse and window focus while paused, so I can't actually debug.
19:43:42 <peter1138> With SDL 1, that works fine.
19:44:32 <_glx_> https://cmake.org/cmake/help/latest/variable/CMAKE_DISABLE_FIND_PACKAGE_PackageName.html
19:44:56 <peter1138> Ah ha
19:45:10 <_glx_> so -DCMAKE_DISABLE_FIND_PACKAGE_SDL2=TRUE
19:46:08 <_glx_> of course you need to clear the cache too
19:46:16 <peter1138> Perfect
19:47:36 <peter1138> I had removed SDL2-dev, but installing Fluidsynth-dev reinstalls it.
20:03:52 <peter1138> SmallArray is anything but.
20:14:00 <andythenorth> I'm kind of used to traditional road stops, these new fancy ones will take time to get used to πŸ˜›
20:21:16 <talltyler> Yes, it's taken me a while also
20:28:58 <peter1138> Okay
20:49:12 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11358: Fix: [CI] Missing dependency in release-linux workflow https://github.com/OpenTTD/OpenTTD/pull/11358#issuecomment-1751815068
20:55:16 <truebrain> I remain pleasently surprised how quickly vcpkg fixes issues they introduced .. yet annoyed they don't have a CI target that detects these πŸ˜„
20:55:24 <truebrain> their linux target just has too many shit pre-installed πŸ˜›
20:57:09 <truebrain> _glx_: btw, what I noticed last time, not sure if it is still the case: I think we don't update our vcpkg package, so it is using the version of what-ever was installed the first time the cache was created
20:58:27 <_glx_> yeah I'm not sure if vcpkg auto updates when "reinstalling"
20:58:53 <truebrain> the upside is that the builds are more stable this way; the downside some dependencies might be a bit old by now
21:02:13 <_glx_> indeed I have zlib 1.2.13 installed and 1.3 is available and "zlib:x64-windows-static is already installed" when doing "vcpkg install zlib:x64-windows-static"
21:03:36 <truebrain> yeah, I believe there is a `reinstall -U` or something?
21:03:37 <truebrain> can't remember
21:12:13 <peter1138> Is touching YAPF-related code taboo?
21:12:45 <_glx_> if you know what you're doing it's fine
21:13:04 <truebrain> please don't make that a requirement .. nothing will get done anymore! πŸ˜›
21:15:13 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:24:35 <peter1138> > 6 files changed, 38 insertions(+), 203 deletions(-)
21:24:41 <peter1138> That much in YAPF-only code is scary ;)
21:24:53 <_glx_> doing some test, but "vcpkg x-set-installed" my be an option (not needed for builds using default github images, as the vcpkg versions are fixed in them)
21:30:41 <truebrain> what does x-set-installed do?
21:34:04 <_glx_> it sets the installed list to the passed list using latest version, but that won't work for us as we use 2 vcpkg install commands (python3 then all others)
21:42:54 <_glx_> oh but we can also do a "vcpkg upgrade" after the "vcpkg install"
21:48:40 <peter1138> error: static_cast from '__gnu_cxx::__alloc_traits<std::allocator<unsigned char>, unsigned char>::value_type *' (aka 'unsigned char *') to 'char *' is not allowed
21:48:43 <peter1138> Oh
21:51:34 <peter1138> C-style cast is not not allowed, heh.
21:54:03 <andythenorth> is naptime?
21:54:16 * andythenorth had lots of station ideas, but not enough sleep :P
22:00:11 <andythenorth> stations don't have `relative_pos`? The correct aproach is to use something like `platform_position_from_start` with `PLATFORM_SAME_SECTION` or similar?
22:00:51 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1160335959511015434/image.png?ex=65344a12&is=6521d512&hm=df3a837ed23a74d56a2082d43bc55a68f1f81769326bedcf8846a0f3f8b70cde&
22:00:51 <andythenorth> I want fewer cranes (replacing every other one with empty crane track)
22:20:22 *** tokai has joined #openttd
22:20:23 *** ChanServ sets mode: +v tokai
22:21:49 <peter1138> Ah, needs reinterpret_cast instead of static_cast. Hmm
22:24:21 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:27:06 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
22:50:20 <_glx_> andythenorth: use some modulo
23:28:59 *** Flygon has joined #openttd