IRC logs for #openttd on OFTC at 2022-11-16
            
00:35:31 <Arastais> How can i grfcodec/nforenum a .nfo file that doesnt have an Action8? I'm trying to "prettyify" the source png/nfo
00:37:50 <glx[d]> maybe we should convert openttd nfo to nml
00:59:00 *** Tirili has quit IRC (Quit: Leaving)
01:42:22 <Arastais> if i am adding (not replacing) new airport related graphics, should I use Action 1 or 5?
01:46:37 *** supermop_Home has joined #openttd
01:48:52 *** DDR has joined #openttd
02:11:38 <DorpsGek> [OpenTTD/OpenTTD] Arastais commented on pull request #10173: Change: Allow building canal by area outside editor https://github.com/OpenTTD/OpenTTD/pull/10173#issuecomment-1316185758
02:47:09 *** tokai has joined #openttd
02:47:10 *** ChanServ sets mode: +v tokai
02:53:50 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
02:59:24 *** Wormnest has quit IRC (Quit: Leaving)
03:41:24 *** D-HUND has joined #openttd
03:48:56 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:39:23 *** Flygon has joined #openttd
05:47:24 *** supermop_Home has quit IRC (Ping timeout: 480 seconds)
06:40:27 *** DDR has quit IRC (Ping timeout: 480 seconds)
07:27:20 *** sla_ro|master has joined #openttd
07:46:09 *** D-HUND is now known as debdog
08:19:14 <petern> Action 3-2-1 chains for new graphics
08:20:37 <petern> Action 5 for airport graphics is to load extra 'missing' sprites for existing airports.
08:22:18 <petern> If you're adding new airports to the base game, skipping NewGRF, then:
08:22:18 <petern> 1) Don't
08:22:18 <petern> 2) Increase `AIRPORTX_SPRITE_COUNT` to reverse more sprite IDs
08:25:22 <petern> reldred: I don't think I did NSFW that image. I did delete & repost as I accidentally hid the whole thing originally...
08:38:26 *** reldred has joined #openttd
08:38:26 <reldred> Yeah it showed up as NSFW filter on my side
08:50:56 <petern> Hmm, so it does, on your side. It's not on mine.
08:55:17 <petern> Federation ๐Ÿ˜„
08:57:56 <petern> Why is it nearly 9am already? ๐Ÿ˜ฆ
09:00:08 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1042363430910300180/image.png
09:00:08 <petern> Need to fix this ;D
09:03:23 <petern> https://cdn.discordapp.com/attachments/1008473233844097104/1042364249701363722/image.png
09:03:23 <petern> ๐Ÿ˜„
09:03:49 <LordAro> :+1:
09:11:32 <petern> Also fixed a long-standing bug with the button in the editbox. Didn't matter so much that 2 pixels were not accounted for when clicking on it, but those 2 pixels are now scaled up, so it's more obvious.
10:03:06 <petern> May not be mountain biking tonight, forecast is heavy rain all evening ๐Ÿ˜ฆ
10:03:17 <petern> OTOH, more time for scaling fixes
10:59:35 <petern> Oof, spare freehub body is ยฃ40+ now :/
11:00:13 <LordAro> :(
11:00:32 <petern> Don't think I need one but can be handy to have a spare in case.
11:00:56 <Eddi|zuHause> typical advertising fraud: nothing that says "free" is ever actually free :p
11:18:30 *** anonymous has joined #openttd
11:20:46 *** anonymous has quit IRC ()
11:21:40 <LordAro> free as in hub, not free as in freedom
11:41:47 <petern> <https://floor796.com/>
11:43:39 <LordAro> that's... something
11:55:45 <Eddi|zuHause> i recognize only a handful of the references
11:57:17 <petern> I didn't really look at that, it's just a work of art.
11:57:27 <petern> Although They Live now pops out immediately.
11:57:45 <petern> Leia and Wolverine? huh
12:01:05 <petern> There's a lot
12:01:29 <Eddi|zuHause> i'm assuming every person is a character from some movie or show
12:06:07 <petern> Or computer game.
12:06:13 <petern> Doomguy is there.
12:06:29 <petern> Or just from a meme.
12:09:59 *** pickpacket9 has joined #openttd
12:10:11 *** pickpacket has quit IRC (Ping timeout: 480 seconds)
12:10:11 *** pickpacket9 is now known as pickpacket
14:30:54 *** gelignite has joined #openttd
14:40:09 <camthesaxman> Can't we just have the UI scale apply to _every_ pixel measurement in the UI?
14:41:15 <petern> Good luck drawing half a pixel.
14:52:22 <petern> Sprites can't be scaled to non-powers-of-two, so where code relies purely on the sprite size it needs to be adjusted.
14:52:30 <petern> Which is what I have been doing.
14:54:04 <petern> Shame the OpenGL blitter doesn't go all the way down.
14:55:17 <petern> But dropping non-OpenGL is not on the cards.
15:14:54 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #10164: [Bug]: In Arabic and Hebrew, the pointer on the interface scale slider is incorrect. https://github.com/OpenTTD/OpenTTD/issues/10164
15:15:57 *** APTX_ has quit IRC (Read error: Connection reset by peer)
15:18:03 *** APTX has joined #openttd
15:30:32 <camthesaxman> petern: Just round it to an integer.
15:31:21 <camthesaxman> 1.5 scale is just multiply by 3 and integer divide by 2.
15:32:16 <petern> I'm not really sure what you are getting at. We are applying UI scale to dimensions, but there isn't just one play for dimensions.
15:54:34 *** WormnestAndroid has quit IRC (Remote host closed the connection)
16:07:39 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10173: Change: Allow building canal by area outside editor https://github.com/OpenTTD/OpenTTD/pull/10173#issuecomment-1317263751
16:24:07 *** wallabra has quit IRC (Ping timeout: 480 seconds)
16:26:41 *** WormnestAndroid has joined #openttd
16:45:05 *** HerzogDeXtEr has joined #openttd
17:04:38 <Arastais> petern: I indeed want to add it to the baseset and thus skip NewGRF. So to clarify, I use action 5, but then change `AIRPORTX_SPRITE_COUNT` to the amount of sprites I have in total for category `10`?
17:05:15 <petern> Yeah
17:28:27 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #10175: Fix #10164: Incorrect slider handle position in RTL. https://github.com/OpenTTD/OpenTTD/pull/10175
17:30:37 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
17:32:23 *** nielsm has joined #openttd
17:49:43 <petern> Oh, why am I so tired suddenly...
17:50:54 <Arastais> petern: Ok, well what if I wanted multiple action 5 sections? Would I just do an offset with `90` for all of them?
17:51:36 <petern> Why would you want to?
17:52:36 <petern> But category 10 allows an offset, so you can have as many as you like, with an appropriate offset.
17:55:29 <Arastais> If category 10 allows for an offset then what's the point of category 90?
17:55:42 *** Wormnest has joined #openttd
17:55:48 <petern> What's category 90?
17:56:35 <petern> Oh I see
17:56:38 <petern> It's not category
17:56:47 <petern> It's category 10, but with bit 7 set.
17:58:17 <petern> 0x10 = 0x00010000, bit 7 is 0x10000000 = 0x10010000 == 0x90
18:02:20 <LordAro> ha
18:02:52 <Arastais> petern: Yeah, didnt know what to call it lol. the wiki it says I need to use 90 for an offset, but if I can use 10 with an offset like you say then what's the difference between the two?
18:19:02 *** sla_ro|master has quit IRC ()
18:20:51 <petern> Hmm, my random album player moved on to the Quake soundtrack.
18:20:56 <petern> O.G. Quake
18:21:20 <petern> It's... pretty ambient.
18:22:40 <andythenorth> so Yogscast Jingle Jam
18:22:45 <andythenorth> is Dec 1
18:23:11 <andythenorth> the opening event will once again be multiplayer OpenTTD
18:23:30 <andythenorth> https://www.jinglejam.co.uk/
18:23:48 <LordAro> we're not going to get 13.0 done by then
18:23:52 <LordAro> 13.0-RC1 maybe
18:24:09 <LordAro> speaking of, beta2?
18:24:10 <andythenorth> I met Lewis today
18:24:29 <andythenorth> he (besides really liking OpenTTD) has some ideas
18:24:36 <andythenorth> which we may or may not have time to support
18:24:56 <andythenorth> but Yogscast can do stuff like take donations via Twitter, for renaming towns or vehicles
18:25:00 <andythenorth> which they do manually
18:25:14 <andythenorth> but maybe we could do things via admin port
18:25:27 <andythenorth> besides being really cool, we could directly help raise money for charity
18:25:49 <andythenorth> * they have a basic profanity filter
18:28:20 <LordAro> https://github.com/Xaroth/libottdadmin2 + https://pypi.org/project/profanity-filter/ ?
18:28:28 <LordAro> no idea about the twitter side though
18:29:46 <nielsm> I think andy is saying that they already have a functional profanity filter, and just need a way to hook up the pre-filtered submissions to in-game actions
18:30:32 <nielsm> additional idea: also allow popping up newspapers
18:33:07 <JGR> Even with a naughty word filter, there needs to be some sort of human filter between user input and stuff being broadcast
18:33:47 <JGR> Even if it's technically possible to skip this, it's very likely not a good idea
18:34:13 <petern> Eh, that's up to them ๐Ÿ™‚
18:34:14 <glx[d]> human can be inventive
18:34:56 <nielsm> definitely, nothing should happen until a moderator has clicked an approve button for every submission
18:48:37 <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/bc5cd4eeda1a4655e2887c3041a6a4af8e42936a
18:48:38 <DorpsGek> - Update: Translations from eints (by translators)
18:53:38 <petern> She's a lady, she's got time
18:59:00 <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #10175: Fix #10164: Incorrect slider handle position in RTL. https://github.com/OpenTTD/OpenTTD/pull/10175#pullrequestreview-1183166201
19:02:55 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #10175: Fix #10164: Incorrect slider handle position in RTL. https://github.com/OpenTTD/OpenTTD/pull/10175
19:02:58 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed issue #10164: [Bug]: In Arabic and Hebrew, the pointer on the interface scale slider is incorrect. https://github.com/OpenTTD/OpenTTD/issues/10164
19:15:26 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
19:49:23 *** sla_ro|master has joined #openttd
19:51:33 *** virtualrandomnumber has joined #openttd
19:51:47 *** virtualrandomnumber has quit IRC ()
19:52:09 <andythenorth> yogscast have a degree of comfort with naughty words
20:02:43 *** nielsm has quit IRC (Remote host closed the connection)
20:08:46 <petern> It is very very wet
20:16:24 <andythenorth> yup
20:16:47 <LordAro> current forecast for tomorrow is: rain
20:16:51 <LordAro> all 24 hours
20:17:48 <FLHerne> I got a "Yellow warning of rain"
20:18:26 <FLHerne> luckily I moved my home today so I don't have to tomorrow
20:18:41 *** Wolf01 has joined #openttd
20:35:22 <Eddi|zuHause> i got told it might snow on friday
20:35:24 *** gelignite has quit IRC (Quit: Stay safe!)
20:48:14 <andythenorth> frosch: used to have a list of high scores for things like NoCarGoal
20:49:06 <andythenorth> wonder if we could make "Yogscast vs..." high score table for goal driven GS
20:49:53 <andythenorth> jfs-: the newspaper idea is nice ๐Ÿ™‚
20:49:58 <andythenorth> arbitrary news message?
20:55:07 <andythenorth> can we recreate head-to-head play somehow? ๐Ÿ˜›
20:55:27 <andythenorth> so everybody could compete against YC in the same goals
21:07:36 <petern> Well
21:14:00 <petern> I've done this and I'm thinking I shouldn't've :/
21:31:09 <petern> `DrawCompanyIcon(i, button->pos_x + button->current_x / 2 - 7 + offset, this->GetWidget<NWidgetBase>(WID_AID_COMPANY_BUTTON_START + i)->pos_y + 2 + offset);`
21:31:13 <petern> Well... I missed that :p
21:32:15 <petern> Weird that it calls GetWidget there, considering that button is already that widget.
21:33:13 <petern> `DrawCompanyIcon(i, button->GetCurrentRect(), i == ai_debug_company);` will probably do...
21:40:24 <andythenorth> anyone played? https://store.epicgames.com/en-US/p/railgrade
21:41:01 <petern> I bet it doesn't have path signals
21:42:55 <andythenorth> I don't have Windows, so I can't try ๐Ÿ˜›
21:48:35 <andythenorth> hmm is it bedtime already? ๐Ÿ˜ฎ
21:48:45 <petern> Nope
21:50:03 <andythenorth> TallTyler: hi hi
21:50:05 <andythenorth> you here? ๐Ÿ˜›
22:13:15 *** m3henry has joined #openttd
22:14:14 <m3henry> Why does the fast-forward key switch to shift instead of tab when building with DEBUG defined?
22:14:29 <glx[d]> because alt-tab
22:15:27 <m3henry> But alt-tab is defended against already
22:15:57 <andythenorth> to trip me up every time I accidentally build debug?
22:16:06 <andythenorth> someone played the long game on trolling me?
22:16:37 <m3henry> lol
22:16:40 <JGR> Clicking the button in the menu bar just works without all the quirks of the key shortcuts
22:16:47 <andythenorth> 'ffwd latches when saving'
22:16:48 <andythenorth> lol
22:17:32 <glx[d]> that happens with shift or tab ๐Ÿ™‚
22:17:59 <glx[d]> because FF status is xored
22:18:01 <petern> Never happens for me
22:18:13 <andythenorth> I want your build ๐Ÿ˜›
22:22:13 <petern> I'm pretty sure you're the only person who's ever mentioned it.
22:23:02 <andythenorth> maybe I need some sock puppets ๐Ÿ˜›
22:24:03 <petern> fast_forward_key_pressed is video system dependent, so it could just be broken on OS X.
22:29:47 <andythenorth> I never actually looked in src
22:29:55 <andythenorth> I've been told where to look about 3 times ๐Ÿ˜›
22:30:34 <andythenorth> not all andythenorths are good
22:31:54 <JGR> It's not mac specific, I just triggered it on purpose on Linux
22:33:27 <JGR> `SaveFileDone` restores the fast forward state that was present when saving started, even if the key has been released in the meantime
22:35:41 <DorpsGek> [OpenTTD/OpenTTD] M3Henry opened pull request #10176: Codechange: Remove shift as fast-forward key when _DEBUG is defined https://github.com/OpenTTD/OpenTTD/pull/10176
22:36:58 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:40:51 *** sla_ro|master has quit IRC ()
22:46:14 <TallTyler> andythenorth: I am now ๐Ÿ‘‹
22:46:35 <TallTyler> Distract me from the infinite loop Iโ€™ve written in my real-job code
22:55:07 *** DDR has joined #openttd
23:03:03 <TallTyler> I guess youโ€™re no longer here ๐Ÿ˜›
23:21:19 <petern> I guess my autosaves are too quick
23:23:17 <JGR> Those 4k maps are useful for something after all ๐Ÿ˜›
23:23:39 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10176: Codechange: Remove shift as fast-forward key when _DEBUG is defined https://github.com/OpenTTD/OpenTTD/pull/10176#issuecomment-1317810396
23:25:26 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #10176: Codechange: Remove shift as fast-forward key when _DEBUG is defined https://github.com/OpenTTD/OpenTTD/pull/10176#issuecomment-1317812376
23:30:16 <petern> Is alt-tab the same on OS X?
23:35:46 <petern> Command-Tab apparently.
23:36:03 <petern> Not sure if Command is the Apple term for Alt, though.
23:36:12 <petern> Cos there's Option as well isn't there?
23:39:25 <glx[d]> I don't know, but it seems all other video drivers use an extra check to prevent unwanted FF
23:49:39 <m3henry> In an ideal world, window managers would hide key events that they interpret
23:50:18 <petern> Maybe on OS X it is.
23:51:35 <m3henry> I am not blessed with the fruit ecosystem to test this
23:53:18 <Eddi|zuHause> i think that's a side effect of this copyright system, that they change minor things like switching keycombos around...
23:54:55 <Eddi|zuHause> everyone must make SOMETHING different, just to have some plausible deniability that you just copied everything
23:58:07 <m3henry> Thinking about it, non-_debug users aren't complaining about fast-forward on window switch at the moment