IRC logs for #openttd on OFTC at 2025-01-08
        
        
        
            ⏴ go to previous day
02:02:59  *** herms has quit IRC (Quit: bye)
 
03:14:41  *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
 
03:19:59  *** debdog has quit IRC (Ping timeout: 480 seconds)
 
03:37:01  *** Wormnest has quit IRC (Quit: Leaving)
 
04:42:14  <DorpsGek>   - Update: Translations from eints (by translators)
 
05:18:15  *** Flygon has quit IRC (Read error: Connection reset by peer)
 
06:24:33  *** keikoz has quit IRC (Ping timeout: 480 seconds)
 
07:23:22  <truebrain> OpenTTD just got forked by a bunch of bots ... curious what that will lead to 😛
 
07:25:27  <truebrain> A lot of these guys. Suspicious ...
 
07:26:06  <andythenorth> it's too obvious as a way to make a poisoned client?
 
08:01:37  *** KenjiE20 has quit IRC (Quit: WeeChat 4.1.1)
 
08:21:25  *** KenjiE20 has joined #openttd
 
08:33:25  *** gelignite has joined #openttd
 
09:05:10  *** gelignite has quit IRC (Quit: Stay safe!)
 
09:05:17  <LordAro> "Another way to avoid this would be to leave a ring of sea tiles all around the map, and prevent these from being terraformed."
 
09:05:30  <LordAro> All this happened before, and it will happen again
 
09:06:10  <pickpacket> nooooo... every tile must be terraformable!
 
09:14:31  <peter1139> "CleanuP: Remove freeform edges"
 
09:17:47  <LordAro> "Task Manager (Not Responding)"
 
09:17:50  <LordAro> well that's not good.
 
09:23:50  <LordAro> reboot fixed it, other than somehow my taskbar ended up on the left side of my screen
 
09:23:56  <LordAro> which is definitely odd.
 
09:24:12  <pickpacket> LordAro: queue mandatory comment about linux being better than windows
 
10:16:03  <peter1139> 50% of time played has water on the edges?
 
10:16:10  *** peter1138 has quit IRC (Quit: User went offline on Discord a while ago)
 
10:16:37  <peter1139> freeform_edges = true is 98.8%
 
10:17:37  <peter1139> water_borders = 15 (all water) is 50.6%
 
10:18:56  <peter1139> So there's a "50/50 split" between black null tiles and water null tiles.
 
10:19:36  <LordAro> how about infinite water on sides that are water, infinite black everywhere else? :p
 
10:19:46  <LordAro> it could update if you terraform the edge ;)
 
10:20:56  <peter1139> Water null tiles where the edge tile is water, and black null tiles where the edge tile is anything else?
 
10:21:24  <LordAro> and good luck working out what to do at the corners
 
10:22:05  <peter1139> There's only 1 tile on a corner.
 
10:22:42  <peter1139> Presumably JGRPP has already perfected whatever all this is. I don't know if this patch backports this or reimplements it.
 
10:28:56  *** peter1139 is now known as peter1138
 
10:34:22  <bohaska> is peter1138 and peter1139 the same person
 
10:34:54  <LordAro> no one's ever figured it out
 
10:35:49  <ahyangyi> Let's ask peter1140 about that.
 
10:36:33  <kuhnovic> Github avoids this issue by calling him PeterN, where N stands for number
 
10:41:16  <ahyangyi> LordAro: That suddenly makes me wonder if anybody wanted wraparound terrain heights and wraparound travel (which are two separate functionalities)
 
10:41:43  <ahyangyi> (wraparound travel would, obviously, break everything though)
 
10:42:34  <peter1138> I mean, I've thought about it and think it could be neat.
 
10:48:49  <kuhnovic> Zooming out on small maps would be fun. The map would have to be drawn several times.
 
11:20:31  *** gelignite has joined #openttd
 
11:32:08  <peter1138> Seems like a minor problem.
 
11:57:47  <kuhnovic> Just one of many I guess
 
13:11:54  *** gelignite has quit IRC (Ping timeout: 480 seconds)
 
13:44:49  *** kuka_lie has joined #openttd
 
13:48:54  *** D-HUND is now known as debdog
 
13:54:01  <peter1138> More keys going wrong on this keyboard :(
 
13:59:26  *** gelignite has joined #openttd
 
14:19:31  *** gelignite is now known as Guest5338
 
14:19:35  *** gelignite has joined #openttd
 
14:25:51  *** Guest5338 has quit IRC (Ping timeout: 480 seconds)
 
15:35:31  *** gelignite has quit IRC (Quit: Stay safe!)
 
15:58:38  <andythenorth> maybe we should replace the player interface to PBS
 
15:58:42  <andythenorth> and call it 'stopping places'
 
15:58:54  <andythenorth> and mark 'stopping tiles' and 'no-stopping tiles'
 
16:01:35  <johnfranklin> peter113'8' in IRC?
 
16:25:49  *** Wormnest has joined #openttd
 
16:28:56  <peter1138> In its rightful place.
 
16:50:44  <_zephyris> Water water everywhere, not a drop to drink.
 
17:00:52  <xarick> tron and truelight, do they still exist?
 
17:01:34  <LordAro> what would it change if they did?
 
17:03:11  <xarick> the blame falls on them two
 
17:03:18  <xarick> for this little thing I found
 
17:03:53  <LordAro> blaming individuals is not a helpful attitude
 
17:05:10  <xarick> tron forgot to update those two to TileDiffXY
 
17:06:05  <LordAro> regardless, pointing fingers isn't helpful
 
17:06:11  <LordAro> either fix it, or leave them alone
 
17:08:02  <xarick> they should give the tool another name
 
17:08:43  <LordAro> mm, svn has blame, praise & annotate
 
17:16:03  <xarick> there has been multiple fix attempts
 
17:19:31  <xarick> `tile_cur -= TileDiffXY(0, 1);` or `tile_cur += TileDiffXY(0, -1);` ?
 
17:19:37  <xarick> which style should I go?
 
17:19:55  <LordAro> i feel like the former is clearer
 
17:28:51  *** toktik has quit IRC (Remote host closed the connection)
 
17:29:24  <peter1138> Hmm, this is disappointing. Not getting much of a signal with my SDR. I moved it and the antenna into the loft connected via a RaspberryPi, and it's a bit better but loads of noise. And it's kinda slow.
 
17:29:55  <peter1138> My external antenna is not going much useful either, might have to check the cable, but it's cold and damp and excuses.
 
17:47:46  <peter1138> Oh, I better double check those recent changes...
 
17:52:30  *** gelignite has joined #openttd
 
17:53:50  <xarick> should I fix the ugly code reported yesterday?
 
18:01:10  <LordAro> peter1138: would a different constant be more appropriate?
 
18:05:12  <peter1138> It's a bit of a silly spec.
 
18:06:38  <peter1138> My description is wrong, it is not a D800 string ID.
 
18:06:59  <peter1138> It's a return value of 0x800-0xBFF, which is translated to 0x0-0x3FF.
 
18:09:06  <peter1138> This function is shit too.
 
18:10:46  <xarick> is changing the code style a Codefix, Cleanup or Codechange
 
18:11:16  <xarick> gonna read codingstyle again
 
18:12:37  <peter1138> Maybe (callback & 0x3ff) would make it clearer.
 
18:18:39  <xarick> i could do less identation i guess
 
18:47:02  *** tokai|noir has joined #openttd
 
18:47:02  *** ChanServ sets mode: +v tokai|noir
 
18:48:04  <LordAro> peter1138: guess you need to open a PR now :p
 
18:51:39  <peter1138> Oh, it's MTB night. Oh, I didn't plan on doing it anyway.
 
18:52:00  <michi_cc> LordAro: guess you need to approve a PR now :p
 
18:53:54  *** tokai has quit IRC (Ping timeout: 480 seconds)
 
18:56:31  <LordAro> can't, build's broken :p
 
19:10:57  <truebrain> always nice, if the regression set is ratting you out 😛
 
19:13:05  <truebrain> that original if statement ... 3 assignments inside the if-statement .. who approved that?! 😛
 
19:13:24  <LordAro> truebrain: some guy called truelight apparently
 
19:14:03  <truebrain> LordAro: See, I am more useful, pointing out where peter1138 went wrong 😛
 
19:15:36  <truebrain> Would you have seen that during a review? 😛 😛
 
19:16:24  <truebrain> I think peter just hates trees
 
19:16:31  <truebrain> he wanted smaller savegames!
 
19:16:36  <truebrain> I see what he did there!
 
19:30:51  <peter1138> Build is broken as well? Hmm.s
 
19:31:10  <peter1138> Much smaller saves.
 
19:32:29  <truebrain> I see we switched back to cleanup 😛
 
19:32:35  <truebrain> I would think this is just a codechange, but okay 😄
 
19:33:49  <truebrain> how ever it might be, it is a nice code improvement 😄
 
19:34:09  <truebrain> it still makes me laugh how random our tree placement is .. "just try it somewhere, and see what happens!" 😛
 
19:36:05  <peter1138> I dunno, someone said Cleanup earlier.
 
19:36:14  <peter1138> I guess this one is a bit different.
 
19:36:20  <LordAro> that was in context of "code style fixes"
 
19:36:34  <truebrain> Also, that PR was originally marked "Codefix", which it wasn't 😛
 
19:36:58  <truebrain> but what is in the name 🙂 It just made me giggle 😛
 
19:37:06  <peter1138> Dunno, I normally don't pay attention to things.
 
19:37:23  <truebrain> so just go back to your Codechanges, it is fine 😛
 
19:37:40  <truebrain> It isn't a Feature! It's a CODE CHANGE! 😄
 
19:42:15  <peter1138> That'll do the tests again but whatever.
 
19:42:23  <peter1138> I don't trust myself to mess up the squash :p
 
19:55:21  *** kuka_lie has quit IRC (Remote host closed the connection)
 
19:55:35  *** kuka_lie has joined #openttd
 
20:19:14  *** kuka_lie has quit IRC (Quit: Lost terminal)
 
20:36:01  <truebrain> a solution without any mouse capture? Does that work well? 😄
 
21:21:50  <xarick> hmm, discord doesnt run
 
21:21:57  <xarick> i'm on the browser version now
 
21:56:24  <peter1138> So should I remove no_mouse_capture?
 
21:57:39  <_glx_> xarick: no and it's annoying because some people request access and we can't see who because it's not enabled
 
22:02:09  <truebrain> peter1138: if it still looks & plays good enough, that might be a good solution
 
22:02:37  <truebrain> at least, how I read your change, it enabled no-mouse-capture always 😛
 
22:03:02  <truebrain> but less special code == better 😄
 
22:03:19  <peter1138> Yeah, I'm not sure if that has any other implications.
 
22:03:33  <truebrain> if you played around with it a bit and it feels fine
 
22:03:37  <truebrain> it might be worth trying
 
22:03:37  <peter1138> But I was having to add more code to work around what is effectively a work around already.
 
22:03:43  <truebrain> we have been going around solutions for this anyway 😄
 
22:04:21  <peter1138> "Seems to work for me".
 
22:04:29  <peter1138> It can always be undone if not, right?
 
22:05:12  <truebrain> And to be honest, the % of Linux users is really small 🙂
 
22:05:25  <truebrain> I wonder about the `#ifdef SDL_HINT_MOUSE_AUTO_CAPTURE`, whether that is still needed/wanted
 
22:05:35  <truebrain> as we now kinda depend on that it exists 😛
 
22:05:56  <truebrain> before that hint, SDL did mouse capture on button press, not?
 
22:05:59  <peter1138> If it doesn't exist, then auto-capture will stay enabled.
 
22:06:02  <truebrain> and you now kinda don't want that behaviour 😛
 
22:07:23  <peter1138> If it's not present then the mouse will stay captured on button press, but that doesn't affect the relative motion.
 
22:07:40  <truebrain> what I mean more: we now disable mouse capture for everyone
 
22:07:48  <truebrain> except if you compile with an SDL older than SDL_HINT_MOUSE_AUTO_CAPTURE
 
22:07:59  <truebrain> so I wonder if it wouldn't be easier for us, for diagnosing issues
 
22:08:02  <truebrain> to just make it mandatory
 
22:08:44  <peter1138> Perhaps I should leave the comment about why we disable it. Yeah.
 
22:09:10  <truebrain> the hint got added 3 years ago
 
22:09:56  <truebrain> in 2.0.22 .. that took a while to find 😛
 
22:11:57  <truebrain> 2.30.11 is used for Linux Generic Builds
 
22:12:08  <truebrain> not unimportant to check 😛
 
22:12:10  <peter1138> 2.26 on my Debian Stable.
 
22:12:39  <truebrain> okay, so we can just leave the `#ifdef` in, and if people use an SDL that old ... if you shoot yourself in the foot
 
22:12:56  <peter1138> It only really affects you if you are debugging.
 
22:13:33  <truebrain> okay, this makes the solution a lot cleaner at least 😄
 
22:13:52  *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
 
22:13:58  <truebrain> will give the PR a test soon; but code-wise it looks fine to me 🙂
 
22:26:12  <truebrain> Did I ever tell you how much I hate Wayland? 😛
 
22:26:52  <peter1138> Pointer jumps back... that sounds like warping is actually doing something on Wayland now... Hmm.
 
22:32:33  <peter1138> Hmm, clamping at the border with non-locked moving seems odd.
 
22:34:56  <peter1138> Because non-locked tracks the pointer, which is then outside the window.
 
22:36:43  *** keikoz has quit IRC (Ping timeout: 480 seconds)
 
22:37:39  <peter1138> Oh because we are not capturing the cursor automatically, only when we decide to use locked scrolling.
 
22:38:07  <peter1138> So maybe we do want to keep no_mouse_capture around after all.
 
22:46:13  <peter1138> Why is a tree flashing in this world...
 
22:46:52  <peter1138> Ah, it's an AI trying to game the town rating.
 
22:52:18  *** nielsm has quit IRC (Ping timeout: 480 seconds)
 
continue to next day ⏵