Config
Log for #openttd on 11th December 2023:
Times are UTC Toggle Colours
00:03:51  <peter1138> Hmm, quite a bit of effort needed to stop them playing.
00:04:00  <peter1138> Threading is fun ;)
00:06:18  <peter1138> Although it does provide a bit more 'positive feedback'.
00:10:35  <xarick> the way noise increased level is calculated is... flawed?
00:10:59  <xarick> it is always in relation to the center of the town
00:11:38  <xarick> even if the town is gigantic and i place an intercontinental airport in the outskirts, the noise increased is just 1
00:12:40  <xarick> and I can't place more than 64000 stations 😦
00:13:32  <xarick> i may need to tweak the settings a bit
00:17:44  <peter1138> Build over part of the town, instead of around it.
00:17:54  <peter1138> Magic bulldozer etc
00:18:13  <peter1138> Then you can get closer to hit the limit.
00:30:21  <talltyler> I think it’s fine either way. I would expect them to end but not be surprised if they didn’t
00:33:04  <peter1138> > This value is only meaningful in the DOS version, where there are limited mixing channels.
00:33:18  <peter1138> Yeah, actually we only have 8 channels, which I consider limited.
00:36:03  <peter1138> Not that it matters :D
01:06:53  <Eddi|zuHause> 8 is practically infinite :p
01:12:47  *** D-HUND is now known as debdog
01:14:33  <peter1138> Remember when consumer-level soundcards could do hardware mixing...
01:14:51  <peter1138> SB Live etc.
01:37:53  <Eddi|zuHause> but software got faster :p
01:41:24  <peter1138> The menu "beep" sound is 810 bytes.
01:41:25  <peter1138> Hmm
01:53:51  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11552: Change: Replace station cargo filter buttons with a dropdown list. https://github.com/OpenTTD/OpenTTD/pull/11552#issuecomment-1849204452
01:54:11  <peter1138> Also emscripten UI is broken. Nice.
01:54:32  <peter1138> Means initialization order is wrong :/
02:00:07  <peter1138> Hmm, no
02:00:14  <peter1138> It seems like SetupWidgetDimensions() isn't called.
02:03:48  <peter1138> Fix: Don't implicitly ReInit all windows after updating the character width cache.
02:03:53  <peter1138> That broke it. Whew;
02:15:49  <peter1138> Yeah, because of course everything relied on LoadStringWidthTable having side effects beyond doing what it says it does.
02:17:20  *** Flygon has quit IRC
02:17:26  <peter1138> Also there's now two ways for windows to be resized on interface scale change because I forgot I already wrote one, it just didn't work for manual changes.
03:06:27  *** Wormnest has quit IRC
03:07:06  *** urdh has joined #openttd
03:13:01  *** Artea has quit IRC
03:38:26  *** DorpsGek_vi has joined #openttd
03:46:41  *** belajalilija has quit IRC
03:46:41  *** truebrain has quit IRC
03:46:41  *** peter1138[d] has quit IRC
03:49:36  *** georgevb has quit IRC
03:53:36  *** D-HUND has joined #openttd
03:56:19  <peter1138> dbg: [misc] 3:   +ClearFontCache (11)
03:56:26  <peter1138> So we like to clear the font cache I see.
04:01:05  *** debdog has quit IRC
04:03:32  <peter1138> God this is a mess.
04:21:56  *** DorpsGek_vi[1] has joined #openttd
04:30:01  *** DorpsGek_vi[1] has quit IRC
04:31:17  *** keikoz has joined #openttd
04:35:42  *** D-HUND is now known as debdog
06:18:21  *** keikoz has quit IRC
09:12:29  *** keikoz has joined #openttd
09:40:48  *** georgevb has joined #openttd
09:40:48  <georgevb> Where can I get station_list_colour and cargo_payment_list_colour for default cargoes?
09:46:27  <georgevb> https://newgrf-specs.tt-wiki.net/wiki/CargoDefaultProps ?
09:56:12023-12-11T22:39:38  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11561: Fix: Disable airport noise if local authority control is disabled. https://github.com/OpenTTD/OpenTTD/pull/11561#pullrequestreview-1776295690
22:46:10  <talltyler> Heheh
22:57:49  <talltyler> Of course we don't have a boolean button widget and the ones in the Settings menu are special...
22:58:30  <talltyler> Time for a dropdown with two items πŸ™‚
22:59:03  <peter1138> They are not that special?
22:59:20  <peter1138> Oh, Settings menu.
22:59:32  <peter1138> There are toggle buttons in the Game Options window.
23:00:10  <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #10543: Feature: Region-based pathfinder for ships (no more buoys!) https://github.com/OpenTTD/OpenTTD/pull/10543#issuecomment-1851028833
23:01:03  <peter1138> Or you can just use DrawBoolButton()
23:01:26  <peter1138> No particular need if it's real widget though.
23:02:25  <talltyler> Actually, a dropdown is probably better
23:02:33  <peter1138> Maybe I should fix "SETTINGS_BUTTON_WIDTH" and "SETTINGS_BUTTON_HEIGHT" which are... not actually constants.
23:02:51  <peter1138> A bit like the recently deceased FONT_HEIGHT_NORMAL.
23:03:29  <peter1138> Maybe I should stick to what I was doing.
23:03:38  <xarick> is this formula for the perimeter always correct? I'm trying to come up with one
23:03:38  <xarick> `perimeter = 2 * (x + y) - 4`
23:03:54  <peter1138> Perimeter of what?
23:04:51  <_glx_> that's for a rectangle I think
23:05:15  <xarick> something akin to AirportGetNearestTown
23:06:15  <xarick> I wanna iterate only the perimeter tiles, but I'd like to assert in the end that all the tiles iterated are counted correctly
23:07:14  <xarick> x and y are the width and height of the rectangle
23:07:49  <xarick> x * y is the total number of tiles in the rectangle
23:08:50  <xarick> looks like the formula is incorrect 😦
23:09:05  <xarick> for a helipad, x and y are 1
23:09:26  <xarick> 2 * (1 + 1) - 4 = 0, should be 1
23:15:59  <xarick> bing chat doesn't know either 😦
23:18:18  <xarick> screw the assert... I can't do it
23:58:17  <talltyler> I should stop working tonight, I'm just digging a hole for myself tomorrow πŸ˜›

Powered by YARRSTE version: svn-trunk