⏴ go to previous day00:18:29 <LordAro> peter1139: shine like a star?00:18:38 <LordAro> think i like purple better00:21:08 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #13243: Codechange: use existing functions of NWidgetCore https://github.com/OpenTTD/OpenTTD/pull/13243#pullrequestreview-252843904600:28:02 <peter1139> Would you believe I found another side quest.00:28:22 <LordAro> peter1139: yes.00:35:27 *** aperezdc has joined #openttd00:41:26 <DorpsGek> [OpenTTD/OpenTTD] glx22 dismissed a review for pull request #13240: Fix: IntSettingDesc may have a callback for default value https://github.com/OpenTTD/OpenTTD/pull/13240#pullrequestreview-252827711500:41:29 <DorpsGek> [OpenTTD/OpenTTD] glx22 updated pull request #13240: Fix: IntSettingDesc may have a callback for default value https://github.com/OpenTTD/OpenTTD/pull/1324000:41:32 <_glx_> made it more complete01:18:21 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13240: Fix: IntSettingDesc may have a callback for default value https://github.com/OpenTTD/OpenTTD/pull/13240#pullrequestreview-252846149201:29:21 *** gelignite has quit IRC (Quit: Stay safe!)03:19:58 *** gnu_jj_ has joined #openttd03:22:12 *** godbed has joined #openttd03:22:14 *** godbed_ has joined #openttd03:23:06 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)03:25:34 *** debdog has quit IRC (Ping timeout: 480 seconds)03:25:39 *** D-HUND has quit IRC (Ping timeout: 480 seconds)03:37:06 *** Wormnest has quit IRC (Quit: Leaving)04:43:27 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/3852a2a0b48c5f8c6d5a9b9961bc9a736bbdd4a504:43:28 <DorpsGek> - Update: Translations from eints (by translators)05:17:14 *** keikoz has joined #openttd06:43:38 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1324629226523066398/image.png?ex=6778d89a&is=6777871a&hm=7a4fc882592240f4cb11d93f91f5b6e7ed1bdd0e136061943c7ca1d25d9e01c2&06:43:38 <andythenorth> suppose I should file an issue about the key colour not matching the chart colour 🙂06:43:55 <andythenorth> probably a FIRS problem though06:43:58 <andythenorth> most things are 😛07:44:57 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13241: Codefix: replace 0 with STR_NULL https://github.com/OpenTTD/OpenTTD/pull/1324107:49:40 *** Flygon has joined #openttd07:56:16 *** keikoz has quit IRC (Ping timeout: 480 seconds)07:56:56 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13244: Codechange: add and use SetSprite over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/1324408:12:45 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13245: Codechange: add and use GetString over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/1324508:25:04 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #13240: Fix: IntSettingDesc may have a callback for default value https://github.com/OpenTTD/OpenTTD/pull/13240#issuecomment-256884418409:13:50 <peter1139> andythenorth, probably https://github.com/OpenTTD/OpenTTD/pull/1322609:16:27 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #13243: Codechange: use existing functions of NWidgetCore https://github.com/OpenTTD/OpenTTD/pull/1324309:17:34 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13246: Codechange: add and use GetToolTip instead of direct access https://github.com/OpenTTD/OpenTTD/pull/1324609:35:13 *** nielsm has joined #openttd09:45:45 *** kuka_lie has joined #openttd09:48:06 <peter1139> If I needed to remove colour codes from some strings, should I update translations too?09:48:37 <peter1139> I don't know if eints can do it automatically.09:49:34 *** gelignite has joined #openttd09:55:41 <andythenorth> LLM 😛09:58:18 <_glx_> Eints will just mark the translations outdated if colour codes are removed IIRC09:59:06 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13245: Codechange: add and use GetString over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/13245#pullrequestreview-252881932310:01:42 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13244: Codechange: add and use SetSprite over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/13244#pullrequestreview-252882208610:02:12 <xarick> hi10:02:30 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13246: Codechange: add and use GetToolTip instead of direct access https://github.com/OpenTTD/OpenTTD/pull/13246#pullrequestreview-252882376210:04:18 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13243: Codechange: use existing functions of NWidgetCore https://github.com/OpenTTD/OpenTTD/pull/13243#pullrequestreview-252882622710:08:24 *** ialokin has quit IRC (Read error: Connection reset by peer)10:08:29 *** ialokin has joined #openttd10:09:02 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #13242: Change: Merge Game Options and Game Settings together. https://github.com/OpenTTD/OpenTTD/pull/13242#pullrequestreview-252880660610:09:49 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13242: Change: Merge Game Options and Game Settings together. https://github.com/OpenTTD/OpenTTD/pull/13242#pullrequestreview-252883330610:09:53 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13243: Codechange: use existing functions of NWidgetCore https://github.com/OpenTTD/OpenTTD/pull/1324310:10:08 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13246: Codechange: add and use GetToolTip instead of direct access https://github.com/OpenTTD/OpenTTD/pull/1324610:11:05 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13245: Codechange: add and use GetString over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/1324510:13:13 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #13244: Codechange: add and use SetSprite over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/13244#pullrequestreview-252883775310:13:14 *** nielsm has quit IRC (Ping timeout: 480 seconds)10:13:20 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13244: Codechange: add and use SetSprite over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/1324410:18:13 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13242: Change: Merge Game Options and Game Settings together. https://github.com/OpenTTD/OpenTTD/pull/13242#issuecomment-256899492910:26:29 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13247: Codechange: add and use SetString over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/1324710:28:42 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13247: Codechange: add and use SetString over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/13247#pullrequestreview-252885876410:29:28 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #13235: Codechange: split widget data https://github.com/OpenTTD/OpenTTD/pull/1323510:36:07 <peter1139> I love all this activity:D10:36:24 <peter1139> "OpenTTD is dead"10:38:57 <Rubidium> 40k here we come, right? ;)10:40:17 <Rubidium> 5 more commits and we're are 31k already :D10:41:54 <peter1139> https://www.tt-forums.net/viewtopic.php?p=1272824#p1272824 Starting things up with xinit. Very retro.10:42:08 *** godbed_ has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)11:01:26 <andythenorth> 40k is flat docks? 😛11:05:28 <xarick> I have some river gen branches I'd like to PR, but the number of changes are prohibitive11:05:39 <peter1139> You know, the whole station/object/etc picker refresh was a side-quest because I didn't want to have to reimplement it all again for the dock picker.11:06:05 <peter1139> xarick, see what Rubidium is doing? Break it down into small pieces.11:06:51 <xarick> I see11:07:03 <truebrain> peter1139: do you actually have a main-quest? Or is it just all a collection of side-quests? 😄11:07:31 <peter1139> https://mastodon.nz/@gtw/11374938839755269111:07:33 <peter1139> Uh... well.11:07:33 <xarick> some changes are dependant on one another11:07:51 <xarick> gonna see what I can separate11:08:04 <Rubidium> xarick: you think my changes were not dependant on eachother?11:11:23 <xarick> how do you solve that11:12:47 <xarick> the changes I have are based upon 1319311:14:27 <xarick> it's the starting point11:14:58 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13247: Codechange: add and use SetString over directly accessing widget_data https://github.com/OpenTTD/OpenTTD/pull/1324711:15:00 <xarick> hmm gonna try my best to separate this11:21:41 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13248: Codechange: remove (unused) tooltip from function to set matrix dimensions https://github.com/OpenTTD/OpenTTD/pull/1324811:22:09 *** SigHunter has quit IRC ()11:23:39 *** keikoz has joined #openttd11:25:07 *** SigHunter has joined #openttd11:31:29 *** aperezdc has quit IRC (Ping timeout: 480 seconds)11:56:47 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13249: Codefix: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/1324912:00:04 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13250: Codechange: set sprite once for group UI https://github.com/OpenTTD/OpenTTD/pull/1325012:01:59 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13249: Codefix: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/13249#pullrequestreview-252897492912:02:40 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on pull request #13249: Codefix: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/13249#pullrequestreview-252897577612:03:27 <peter1139> That was an actual question for the "team", rather than a request.12:03:51 <peter1139> (Team in quotes because of course anyone can answer.)12:04:17 <truebrain> someone (not pointing fingers) once renamed all `color` to `colour` already 😛12:05:35 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13251: Codefix: SetToolTip(STR_NULL) is a pointless https://github.com/OpenTTD/OpenTTD/pull/1325112:05:39 <peter1139> Point fingers!12:05:52 <peter1139> I'm aware there are other CENTERs, some of them are even my fault.12:06:04 <peter1139> Stupid HTML/CSS :s12:06:20 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #13249: Codefix: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/1324912:06:35 <peter1139> Hehe, well...12:07:42 <Rubidium> should it then become centred or centered?12:08:29 <peter1139> Yes. Centred is correct, even if it does look weird.12:08:49 <peter1139> STR_SPRITE_ALIGNER_CENTRE_OFFSET :{BLACK}Offset centred12:08:55 <peter1139> STR_SPRITE_ALIGNER_CENTRE_OFFSET :{BLACK}Offset centered12:09:05 <peter1139> english_US.txt difference :)12:10:00 <peter1139> SA_CENTER is entirely my doing, and also entirely 'mis-appropriated' later.12:10:20 <peter1139> (as StringAlignment is used for aligning more than strings.)12:10:50 <Rubidium> lets rename that to StuffAlignment while we're busy? ;D12:11:40 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13249: Codefix: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/13249#pullrequestreview-252898742212:14:00 <Rubidium> who reviewed this: house.h: HZ_ZON5 = 1U << HZB_TOWN_CENTRE, ///< center of town12:15:59 <peter1139> Hehe12:17:02 <xarick> `*(uint*)user_data` is it worth changing these to `*static_cast<uint> *(user_data)` ?12:17:10 <xarick> or whatever12:17:15 <peter1139> No becuase that wouldn't be correct.12:17:23 <peter1139> No, because.12:17:36 <peter1139> `static_cast<uint *>(user_data)`12:17:36 <xarick> i suck12:17:45 <xarick> ay, that!12:17:50 <peter1139> It's worth touching if you're already in there.12:18:32 <xarick> oki12:18:32 <peter1139> I probably had a patch to touch more of them that I forgot about?12:19:21 <xarick> `uint height_lake = *static_cast<uint *>(user_data);` does it look right?12:20:18 <xarick> `uint height_lake = *(static_cast<uint *>(user_data));` maybe?12:20:59 <peter1139> No need for the extra brackets.12:21:16 <xarick> cool, after lunch12:24:42 <xarick> oh, one place has it user_data, another has it data12:24:46 <xarick> rename?12:29:17 <peter1139> `user_data` is usually correct. That's almost a standard convention for "holds whatever you want".12:29:40 <xarick> CircularTileSearch(&tile, radius, RiverMakeWider, (void *)&path->key.tile)12:29:40 <xarick> how to fix this?12:30:01 <xarick> static_cast<void *> ?12:34:59 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13252: Codefix: use SetToolTip(..) instead of SetStringTip(STR_NULL, ..) https://github.com/OpenTTD/OpenTTD/pull/1325212:54:51 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13249: Codefix: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/1324913:06:15 *** gelignite has quit IRC (Quit: Stay safe!)13:12:48 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13251: Codefix: SetToolTip(STR_NULL) is pointless https://github.com/OpenTTD/OpenTTD/pull/13251#pullrequestreview-252906379513:15:54 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13251: Codefix: SetToolTip(STR_NULL) is pointless https://github.com/OpenTTD/OpenTTD/pull/1325113:16:34 *** godbed is now known as debdog13:17:02 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13252: Codefix: use SetToolTip(..) instead of SetStringTip(STR_NULL, ..) https://github.com/OpenTTD/OpenTTD/pull/13252#pullrequestreview-252906903613:18:07 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13250: Codechange: set sprite once for group UI https://github.com/OpenTTD/OpenTTD/pull/13250#pullrequestreview-252907040613:19:02 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13252: Codefix: use SetToolTip(..) instead of SetStringTip(STR_NULL, ..) https://github.com/OpenTTD/OpenTTD/pull/1325213:19:38 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13250: Codechange: set sprite once for group UI https://github.com/OpenTTD/OpenTTD/pull/1325013:23:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13250: Codechange: set sprite once for group UI https://github.com/OpenTTD/OpenTTD/pull/13250#issuecomment-256921690613:25:18 *** aperezdc has joined #openttd13:26:20 <Rubidium> peter1139: what do you mean with that? The rail/road toolbars do not use += as far as I can find. They do use SetSprite in the constructor, but that's the way everything should be doing it now13:26:49 <peter1139> The group UI is the only window setting the base sprite in the WindowDesc, and then modifies it in the constructor.13:26:53 <peter1139> This causes direct widget_data access that can easily be avoided.13:27:13 <peter1139> They do the first bit in the PR's description, not the second bit though.13:27:40 <peter1139> (It's probably in OnInit() though, which is basically the same thing but better organised.)13:30:15 <Rubidium> yeah, I haven't looked at setting the widget_data and then setting it again. This was mostly about applying += on the widget_data directly13:30:52 <peter1139> So it was more about the += than the setting-it-twice. Ok :)13:33:30 <Rubidium> yes. I reckoned `wid->SetSprite(wid->GetSprite() + vehicle_type)` would not have been accepted13:36:22 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13253: Codechange: make STR_NULL the default for all widget construction functions https://github.com/OpenTTD/OpenTTD/pull/1325313:43:37 <peter1139> Indeed, that's a bit too circular and error-prone.13:44:07 <peter1139> This is now Rubidium has so many commits. A massive sudden spree :D13:46:00 <Rubidium> yeah, people are more likely to review small PRs than huge PRs, so better to make more smaller PRs13:47:48 <Rubidium> only problem is that you need to efficiently order PRs, so they do not have much conflict with eachother13:49:34 * Rubidium has a graph with depth 4 of (prospective) PRs13:51:24 <peter1139> Try that with SVN...13:51:30 <Rubidium> #13248, replacing last usage of SetDataTip, #13235, make widget_data/tool_tip protected13:52:53 <peter1139> There's probably a git addon to manage this workflow, but... git alone works well enough for me.13:53:26 <Rubidium> git rebase with ref updating works fairly well13:53:35 <peter1139> Just a shame that github itself doesn't really understand dependencies.13:54:19 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #13235: Codechange: split widget data https://github.com/OpenTTD/OpenTTD/pull/1323513:55:09 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #13240: Fix: IntSettingDesc may have a callback for default value https://github.com/OpenTTD/OpenTTD/pull/13240#issuecomment-256925614214:02:00 <peter1139> Hah, I forgot about Ctrl-Shift in vehicle list windows.14:04:01 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13248: Codechange: remove (unused) tooltip from function to set matrix dimensions https://github.com/OpenTTD/OpenTTD/pull/13248#pullrequestreview-252913254114:04:51 <peter1139> Hmm, can't delete accidental comments.14:05:14 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13248: Codechange: remove (unused) tooltip from function to set matrix dimensions https://github.com/OpenTTD/OpenTTD/pull/1324814:06:00 <DorpsGek> [OpenTTD/OpenTTD] glx22 merged pull request #13240: Fix: IntSettingDesc may have a callback for default value https://github.com/OpenTTD/OpenTTD/pull/1324014:09:28 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13254: Codechange: replace last usage of SetDataTip with specific variant https://github.com/OpenTTD/OpenTTD/pull/1325414:10:28 <truebrain> GitButler and Jujutsu (jj) both have pretty decent support for multiple PR that depend on each other. Slowly you see tools that supply in this workflow, as it is not as uncommon as git wants you to believe 😄14:11:54 <peter1139> PRs that depend on each other is a bit of problem though.14:12:35 <truebrain> You don't like circles?14:13:32 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13253: Codechange: make STR_NULL the default for all widget construction functions https://github.com/OpenTTD/OpenTTD/pull/13253#issuecomment-256927990414:13:47 <peter1139> Not in dependencies.14:14:01 <peter1139> I've had that fun with services and dependency injection :)14:19:24 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #13253: Codechange: make STR_NULL the default for all widget construction functions https://github.com/OpenTTD/OpenTTD/pull/13253#issuecomment-256928772514:28:49 <xarick> oh, it's already merged14:31:15 <xarick> i missed the data -> user_data rename14:35:16 <xarick> and a t2 to t14:35:29 <peter1139> No problem, do that as a PR.14:37:39 <peter1139> ... another PR, of course.14:40:58 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13255: Codefix 6222ced: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/1325514:41:09 *** bohaska has joined #openttd14:41:09 <bohaska> does the IRC relay bot automatically give participants in IRC a cat avatar14:54:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13255: Codefix 6222ced: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/13255#pullrequestreview-252921767114:55:55 <Rubidium> bohaska: I guess someone decided the avatars generated by set4 of robohash.org were cute or something ;)14:57:04 <xarick> I'm gonna trust Copilot: Replace C-style cast with C++-style static_cast for type safety14:57:46 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #13255: Codefix 6222ced: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/1325514:58:55 <peter1139> You haven't yet got the hang of small and descrete steps then.14:58:59 <peter1139> discrete?15:00:01 <xarick> nope, I tend to fixup everything15:00:25 <xarick> i end in an incoherent amount of unrelated changes per commit 😦15:00:43 <xarick> I solve it by just merge everything into 1 commit15:00:45 <xarick> 😛15:01:15 <xarick> so now I'm trying to working backwards, dismantling it piece by piece15:03:38 <peter1139> You did one step, that's good,.15:03:57 <peter1139> Then you added another step onto it and changed a simple one-step PR instead of two steps.15:04:04 <peter1139> There was no need for that.15:05:02 *** gelignite has joined #openttd15:06:43 <xarick> should have done the casting changes into a PR of its own?15:08:07 <peter1139> Yes. It's completely different to changing the names of variables for consistency.15:08:59 <xarick> hmm15:09:01 <xarick> ok15:09:42 <Rubidium> though to be honest you asked xarick about changing to static_cast in that PR. But, there is a difference between changing static_cast in a line you already need to change for renaming and doing static_cast everywhere in the file15:10:01 <peter1139> I did, just for that one line.15:10:29 <peter1139> And an answer of "I've got a separate PR for that" would be perfectly fine.15:12:26 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #13255: Codefix 6222ced: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/1325515:14:28 <xarick> now I wait for the merge?15:15:00 <xarick> my PR would require it15:17:52 <Rubidium> you look for the next small part of your quest that does not conflict with this PR, and you prepare that for PR, review it yourself to see where you can approve and make the PR15:18:49 <Rubidium> if you only have things that conflict, work in a new branch on top of the PR/branch you depend upon, prepare a small PR, review it yourself and wait until the dependencies get merged15:21:50 <Rubidium> and if you got a lot of 'depth' in the branches, it might be useful to make a draft PR to show the direction of the whole stack. That way we get an idea where you want to go15:22:27 <peter1139> Hmm, to release or not...15:23:15 <peter1139> No: It's Friday. Yes: It's a bug affecting a user, the fix is tiny, and there are no other merges since the last release before xmas.15:25:58 <Rubidium> are there users in the weekend?15:28:07 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on pull request #13255: Codefix 6222ced: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/13255#pullrequestreview-252926893715:28:58 <Rubidium> or alternatively, do you want to be called upon in the weekend when fecal matter hits the rotary impeller ;)15:32:13 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13256: Codefix: Replace C style cast with C++ style static_cast for type safety https://github.com/OpenTTD/OpenTTD/pull/1325615:33:07 <xarick> whichever gets merged first will conflict with the other15:42:42 <andythenorth> "that's sofware"15:45:39 <peter1139> I'm more likely to called upon if I don't deploy, tbh. It's a one-liner.15:46:14 <peter1139> Unlike the Companies House website, we don't turn off access out of work hours :D15:52:14 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13257: Codechange: Remove macros and use direct methods instead https://github.com/OpenTTD/OpenTTD/pull/1325715:53:48 <xarick> part of me just wants to do all these tiny changes in 1 big step 😦15:54:00 <xarick> must resists16:19:09 <xarick> actually, it's +510 −24016:26:49 <_glx_> "the fix is tiny", because nobody ever broke everything with a one line change 🙂16:35:44 <peter1139> +240 -510 would be more appealing.16:36:26 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13257: Codechange: Remove macros and use direct methods instead https://github.com/OpenTTD/OpenTTD/pull/13257#pullrequestreview-252938414916:45:18 *** nielsm has joined #openttd17:13:45 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13257: Codechange: Remove macros and use direct methods instead https://github.com/OpenTTD/OpenTTD/pull/1325717:14:08 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13255: Codefix 6222ced: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/13255#pullrequestreview-252943570817:15:54 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13253: Codechange: make STR_NULL the default for all widget construction functions https://github.com/OpenTTD/OpenTTD/pull/13253#pullrequestreview-252943796117:20:12 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #13255: Codefix 6222ced: Rename variables to adhere codestyle https://github.com/OpenTTD/OpenTTD/pull/1325517:25:01 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13258: Codechange: Optimize FindSpring https://github.com/OpenTTD/OpenTTD/pull/1325817:27:15 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #13258: Codechange: Optimize FindSpring https://github.com/OpenTTD/OpenTTD/pull/13258#issuecomment-256957678317:28:19 *** Wolf01 has joined #openttd17:32:55 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #13231: [Bug]: Impossible to know what is mine or not https://github.com/OpenTTD/OpenTTD/issues/1323117:32:58 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #13256: Codefix: Replace C style cast with C++ style static_cast for type safety https://github.com/OpenTTD/OpenTTD/pull/1325617:36:19 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13258: Codechange: Optimize FindSpring https://github.com/OpenTTD/OpenTTD/pull/13258#issuecomment-256958676617:40:39 <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #13259: Codechange: Make GetDefaultValueCallback() more similar to other setting override callbacks https://github.com/OpenTTD/OpenTTD/pull/1325917:41:49 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13256: Codefix: Replace C style cast with C++ style static_cast for type safety https://github.com/OpenTTD/OpenTTD/pull/13256#pullrequestreview-252947357417:44:07 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #12164: Add: Highlight in white all pieces of company owned infrastructure in the viewport https://github.com/OpenTTD/OpenTTD/pull/12164#pullrequestreview-252946330817:52:27 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #13256: Codefix: Replace C style cast with C++ style static_cast for type safety https://github.com/OpenTTD/OpenTTD/pull/1325617:55:21 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13256: Codefix: Replace C style cast with C++ style static_cast for type safety https://github.com/OpenTTD/OpenTTD/pull/13256#pullrequestreview-252949099717:56:08 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13254: Codechange: replace last usage of SetDataTip with specific variant https://github.com/OpenTTD/OpenTTD/pull/13254#pullrequestreview-252949185218:00:06 <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #13260: Change: Disable service interval widgets for non-owned vehicles https://github.com/OpenTTD/OpenTTD/pull/1326018:01:51 <_glx_> also noticed it seems it's now impossible to disable service interval, probably related to the proper percent/days/minute handling18:03:10 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13260: Change: Disable service interval widgets for non-owned vehicles https://github.com/OpenTTD/OpenTTD/pull/13260#pullrequestreview-252950019218:03:32 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #13260: Change: Disable service interval widgets for non-owned vehicles https://github.com/OpenTTD/OpenTTD/pull/13260#pullrequestreview-252950160718:03:40 <talltyler> Heh18:05:28 *** ahyangyi_ has joined #openttd18:06:08 *** ahyangyi_ has quit IRC ()18:06:09 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13261: Codechange: Optimize MakeLake https://github.com/OpenTTD/OpenTTD/pull/1326118:10:42 <xarick> hmm, RiverMakeWider has the most changes. I think I'll leave it for last18:19:46 <_glx_> ok disabling is broken since 12.0 (it's fine in 1.11.2)18:24:34 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13262: Codechange: Optimize FlowsDown https://github.com/OpenTTD/OpenTTD/pull/1326218:32:53 <xarick> I'll do some benchmark runs after dinner18:38:50 <DorpsGek> [OpenTTD/OpenTTD] glx22 merged pull request #13260: Change: Disable service interval widgets for non-owned vehicles https://github.com/OpenTTD/OpenTTD/pull/1326018:47:34 *** tokai has joined #openttd18:47:34 *** ChanServ sets mode: +v tokai18:49:02 <truebrain> unbenchmarked PRs with the title "optimize". You got to love it.18:51:53 <andythenorth> what does our perf test suite show for it?18:54:14 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)18:55:43 *** ahyangyi_ has joined #openttd18:57:22 *** ahyangyi_ has quit IRC ()19:00:50 <_glx_> ok after some git bisect it's <https://github.com/OpenTTD/OpenTTD/commit/be28c95b30eb433de5e7b9831657af551ef236f9>19:17:53 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #13263: Change: When player joins network company, use its name instead of number in chat https://github.com/OpenTTD/OpenTTD/pull/1326319:28:36 *** SigHunter has quit IRC ()19:31:06 *** SigHunter has joined #openttd19:40:19 *** SigHunter has quit IRC ()19:42:48 *** SigHunter has joined #openttd19:44:39 <truebrain> https://copilot-workspace.githubnext.com/OpenTTD/OpenTTD/issues/12912?shareId=39b52b41-f203-489b-8329-47ad403da0f419:44:39 <truebrain> Copilot Workspaces is becoming usable 🙂 I didn't type a single letter myself, just pressed buttons 😛 I think this solution is fine, except it should bump the savegame version. I could tell him that. I didn't 😛19:45:08 <truebrain> (Copilot Workspace helps you execute tasks by using AI; it came up with a plan and executed it on its own)19:48:20 <peter1139> BUG: soft lockup - CPU#11 stuck for x!19:48:22 <peter1139> Well, that's nice.19:52:00 *** efessel has joined #openttd19:52:00 <efessel> Peter where do you see that? I'm interested since I've seen some CPU spike issues the past few days19:55:19 *** Wormnest has joined #openttd19:57:03 <peter1139> Where? In my kernel logs.19:57:33 <efessel> ooo thought there was a openttd issue, nm then.19:57:52 <peter1139> No, nothing to do with OpenTTD.19:58:16 <andythenorth> Workspace eh20:00:02 <peter1139> Hmm, my MP3 version of OpenSFX is a year+ old.20:12:45 *** Wormnest has quit IRC (Ping timeout: 480 seconds)20:13:47 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13264: Codechange: Optimize FlowRiver https://github.com/OpenTTD/OpenTTD/pull/1326420:18:58 <xarick> now benchmarks20:50:08 *** kuka_lie has quit IRC (Quit: Lost terminal)20:56:12 <_glx_> ok I think I understand what gone wrong, when bisecting I only tested changing service interval from main menu (which the commit broke)20:56:41 <_glx_> but actually the commit unified behaviour between ingame and main menu20:56:54 <_glx_> and ingame was broken before it21:13:29 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #13265: Change: Convert Magic Bulldozer to settings https://github.com/OpenTTD/OpenTTD/pull/1326521:17:51 <_glx_> lol in 1.11 it's possible to set in range 5-800 (and of course disabled) independant of is_percent in main menu, but ingame you are limited to 30-800 days or 5-90%, and if the value from main menu was not in proper range you're stuck21:27:40 <xarick> I am disappointed with my benchmarks21:28:15 <xarick> it's not apples to apples when it generates rivers in different places 😐21:42:02 *** Wormnest has joined #openttd22:00:53 <_glx_> setting handling is annoying when min and max are dynamic22:01:36 <xarick> MakeLake so far is disappointing 😦22:06:59 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #13266: Add: Setting to allow placing houses manually in-game https://github.com/OpenTTD/OpenTTD/pull/1326622:10:39 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13266: Add: Setting to allow placing houses manually in-game https://github.com/OpenTTD/OpenTTD/pull/13266#pullrequestreview-252978007522:11:08 <peter1139> I did of course already have a patch for that, but was working on the UI side of having settings in the sandbox menu.22:15:12 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #13265: Change: Convert Magic Bulldozer to settings https://github.com/OpenTTD/OpenTTD/pull/13265#pullrequestreview-252978325722:15:44 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13266: Add: Setting to allow placing houses manually in-game https://github.com/OpenTTD/OpenTTD/pull/13266#pullrequestreview-252978165522:16:28 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13265: Change: Convert Magic Bulldozer to settings https://github.com/OpenTTD/OpenTTD/pull/13265#pullrequestreview-252978405322:17:16 <talltyler> Do you have a patch for protecting houses built by the player? I am about to start that project next. 🙂22:18:37 <_glx_> I think I need to add a GetRange() callback for settings with conditional min/max/step22:21:53 <talltyler> My plan is to add a map bit to indicate that a house is protected, set manually by a toggle in the house placer GUI or automatically by the house spec, to work the same as current house protection: players may demolish, but towns will not. I would also add the protection state to the tile inspector.22:25:01 <truebrain> btw talltyler , I think 13265 should only land in combination with peter's work on adding settings to the sandbox window. Otherwise the PR is more "how to annoy your end-user in 2 simple steps" than an improvement 😄 (imo, ofc 😄 )22:25:11 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13254: Codechange: replace last usage of SetDataTip with specific variant https://github.com/OpenTTD/OpenTTD/pull/1325422:25:30 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13253: Codechange: make STR_NULL the default for all widget construction functions https://github.com/OpenTTD/OpenTTD/pull/1325322:25:58 <talltyler> truebrain: Fair enough, yeah22:26:26 <talltyler> I just like the idea of splitting object and industry bulldozing, and allowing each in network games 🙂22:27:04 <truebrain> for me, the idea is fine 🙂 But removing it from the sandbox window might just be a bridge too far 😄22:27:21 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #13235: Codechange: split widget data https://github.com/OpenTTD/OpenTTD/pull/1323522:30:24 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13267: Change: Log changes to sandbox settings. https://github.com/OpenTTD/OpenTTD/pull/1326722:36:18 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13266: Add: Setting to allow placing houses manually in-game https://github.com/OpenTTD/OpenTTD/pull/13266#pullrequestreview-252979735022:38:32 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13266: Add: Setting to allow placing houses manually in-game https://github.com/OpenTTD/OpenTTD/pull/13266#pullrequestreview-252979901222:44:09 <peter1139> Citymania-style preview?22:47:40 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on pull request #13264: Codechange: Optimize FlowRiver https://github.com/OpenTTD/OpenTTD/pull/13264#issuecomment-256990585022:48:19 <xarick> MakeLake disappoints for reasons I don't comprehend22:49:17 <truebrain> for shit and giggles I asked CoPilot Workspaces to do something similar as #13265 does. It failed horribly 😛 Most likely a failure of my prompting, I am sure 🙂22:49:47 <truebrain> `SLV_REMOVE_MAGIC_BULLDOZER_ChunkHandler`22:49:52 <truebrain> that doesn't feel right 😄22:50:13 <xarick> I honestly expected better from FlowsDown22:50:44 *** keikoz has quit IRC (Ping timeout: 480 seconds)22:50:52 <peter1139> Would it make sense to move all appropriate cheats to setting in one go?22:51:31 <peter1139> Although the act of splitting one cheat to two settings makes that not as clear cut.22:53:00 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)22:54:28 <xarick> benchmark results!22:54:48 <xarick> I gotta say... there's only a clear winner22:55:58 <peter1139> Makes separatae PRs.22:56:13 <peter1139> Benchmarks them all and puts result into one PR.22:56:53 <xarick> hmm, all of them together give decent gains22:56:57 * andythenorth benchmarks andythenorth23:00:08 <peter1139> MakeLake seems slower in all cases.23:01:31 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1324875318082666567/image.png?ex=6779bdca&is=67786c4a&hm=95a0bd2c364e52c2638cbbae2eaadf24e00696b82a5d7b611155b10bb3caf395&23:01:31 <xarick> gonna put this here as I'm editing23:04:58 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13268: Change: Add sandbox-style settings to the Sandbox Options window. https://github.com/OpenTTD/OpenTTD/pull/1326823:08:05 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on pull request #13262: Codechange: Optimize FlowsDown https://github.com/OpenTTD/OpenTTD/pull/13262#issuecomment-256991904923:08:09 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13267: Change: Log changes to sandbox settings. https://github.com/OpenTTD/OpenTTD/pull/13267#pullrequestreview-252981527123:10:31 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on pull request #13261: Codechange: Optimize MakeLake https://github.com/OpenTTD/OpenTTD/pull/13261#issuecomment-256992062723:12:53 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13267: Change: Log changes to sandbox settings. https://github.com/OpenTTD/OpenTTD/pull/1326723:13:04 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on pull request #13258: Codechange: Optimize FindSpring https://github.com/OpenTTD/OpenTTD/pull/13258#issuecomment-256992216323:13:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13268: Change: Add sandbox-style settings to the Sandbox Options window. https://github.com/OpenTTD/OpenTTD/pull/1326823:16:44 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13259: Codechange: Make GetDefaultValueCallback() more similar to other setting override callbacks https://github.com/OpenTTD/OpenTTD/pull/13259#pullrequestreview-252981966723:17:50 <DorpsGek> [OpenTTD/OpenTTD] glx22 merged pull request #13259: Codechange: Make GetDefaultValueCallback() more similar to other setting override callbacks https://github.com/OpenTTD/OpenTTD/pull/1325923:18:10 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13235: Codechange: split widget data https://github.com/OpenTTD/OpenTTD/pull/13235#pullrequestreview-252982031023:21:34 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #13235: Codechange: split widget data https://github.com/OpenTTD/OpenTTD/pull/13235#pullrequestreview-252982166323:22:12 <_glx_> https://cdn.discordapp.com/attachments/1008473233844097104/1324880526988804177/image.png?ex=6779c2a4&is=67787124&hm=56e9baabae17d8cc7a62f3e7789d9f261337088efd68e3e4ae514185a075e3c0&23:22:12 <_glx_> yeah will definitely need callbacks for everything23:24:24 <_glx_> oh nice it doesn't even access the correct one23:24:43 <peter1139> ?23:24:55 <peter1139> Oh, and size_t / uint again :S23:25:11 <peter1139> Should I update from Debian Stable to ... something.23:25:25 <_glx_> I'm in main menu, values are very different to what I see in settings window23:25:56 <peter1139> Ah, you mean the settings access from the console don't match the gui? A useful bit of context ;-)23:26:46 <_glx_> values feel random too23:28:02 <_glx_> https://cdn.discordapp.com/attachments/1008473233844097104/1324881992029831208/image.png?ex=6779c402&is=67787282&hm=0b3078a9ad3cfc2fda8627792e0d91f02b3a8fe7bae35a0bae7d1996e4110fa1&23:29:29 <_glx_> well after new game, I get the same values, so it's consistent23:34:19 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13268: Change: Add sandbox-style settings to the Sandbox Options window. https://github.com/OpenTTD/OpenTTD/pull/1326823:55:19 <peter1139> Oops.23:55:24 <peter1139> These updates :Dcontinue to next day ⏵