IRC logs for #openttd on OFTC at 2024-03-28
⏴ go to previous day
00:08:29 *** nielsm has quit IRC (Ping timeout: 480 seconds)
01:15:56 *** jinks has quit IRC (Ping timeout: 480 seconds)
01:19:53 <johnfranklin> What are the advantages to move a repo to an "organization" or something similar (I don't know if it is called "organization")
01:46:25 <silent_tempest> Huh this why the prefer sprite option isn't working after getting the font picker working
01:46:29 <silent_tempest> ``if (!_fcsettings.prefer_sprite && GetFontCacheSubSetting(fs)->font.empty()) {``
01:48:33 *** ChanServ sets mode: +v tokai
01:54:29 *** Wormnest_ has quit IRC (Quit: Leaving)
01:55:34 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
02:04:58 *** Leopold_ has quit IRC (Remote host closed the connection)
02:05:15 *** Leopold_ has joined #openttd
02:29:36 <audigex> johnfranklin: On Github etc?
02:29:36 <audigex> The main reasons I like it are
02:29:36 <audigex> - It keeps everything together, you can find all the OpenTTD projects just by going to the OpenTTD organisation
02:29:36 <audigex> - It makes it easier to manage permissions, require everyone with Push/PR Merge permissions to have 2FA, that kind of thing
02:29:36 <audigex> - For myself, it keeps community projects separate from my own personal projects (Eg I have the BRTrains org, and other open source/community orgs like OpenSpaceProgram). This is especially useful if the orgs have a bunch of projects each and you have a big personal repository list
02:29:38 <audigex> - From the opposite side of the same consideration, it just looks nicer to have the project's stuff together rather than them being scattered between different people's accounts and stuck between their personal projects
02:29:38 <audigex> - It gives more of a community feel and less of a sense of "This is MY project" if the repository name is BRTrains/BRTrainsv2 rather than Audigex/BRTrainsV2
02:29:40 <audigex> Eg imagine if OpenTTD's 51 repositories were mixed in with GLX, JGR, Planetmaker, TrueBrain..... etc etc's personal repositories? It would be messy for them and messy for anyone looking for OpenTTD stuff
02:34:01 *** gelignite has quit IRC (Quit: Stay safe!)
03:04:19 <_glx_> also allows us to have our own forks
03:18:44 <reldred> I use it at work mostly for granting access to repositories in a much simpler fashion
03:22:24 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
03:28:25 *** Leopold___ has joined #openttd
03:28:44 *** Leopold_ has quit IRC (Ping timeout: 480 seconds)
03:32:57 *** tokai|noir has joined #openttd
03:32:57 *** ChanServ sets mode: +v tokai|noir
03:39:24 *** tokai has quit IRC (Ping timeout: 480 seconds)
04:41:03 <DorpsGek> - Update: Translations from eints (by translators)
06:01:47 *** misterbungus has joined #openttd
06:27:05 <rau117> Is it possible to set a console command or console aliases on a hotkey?
06:27:05 <rau117> ctrl+shift+ [=] —> "set fast_forward_speed_limit = 0"
06:27:05 <rau117> ctrl+shift+ [-] —> "fast_forward_speed_limit = 32000"
06:47:25 *** juzza1 has quit IRC (Remote host closed the connection)
07:36:48 *** HerzogDeXtEr has joined #openttd
08:54:31 *** Leopold___ has quit IRC (Ping timeout: 480 seconds)
09:21:50 <_zephyris> Turing complete, right? So how big a map for doom?
09:25:01 *** matusguy has joined #openttd
10:47:13 <LordAro> not sure how compressed you can make the logic gates, but i think you'd run out of trains first
11:09:05 *** gelignite has joined #openttd
11:58:09 <Eddi|zuHause> surely you'd be able to implement doom in a game script
12:02:20 *** jinks has quit IRC (Remote host closed the connection)
12:03:00 *** gelignite has quit IRC (Quit: Stay safe!)
12:18:00 *** SigHunter has joined #openttd
12:57:43 <peter1138> Hmm, what happened to that Direct3D blitter...
12:59:33 <merni> Is it desirable to make console command help texts translatable?
13:13:23 <Eddi|zuHause> how much work do you want to put upon translators without technical background to translate technical text which next to noone will ever see?
13:21:48 <merni> There are lots of texts which are very rarely seen though... some of those error messages are very obscure
13:21:54 <merni> more so than console commands imo
13:23:14 <merni> If the intention is that console is to be used only by devs, it makes sense to be english-only. But since we have commands like `resetengines` and `font` in there whic regular players also use, I think it makes sense to translate the help texts. (Of course not the command syntax/outputs/usage lines.)
13:26:12 <peter1138> Regular players shouldn't really be using `resetengines` either.
13:27:21 <merni> Perhaps. The case I come across it is when enabling 'vehicles never expire' in-game
13:33:01 <Eddi|zuHause> but that's a person who a) forgot to put the setting in from the start, and b) has to ask online how to bring back the engines which disappeared
13:33:58 <peter1138> That might be "changing vehicles never expire should do the equivalent of resetengines as well"
13:34:23 <Eddi|zuHause> there are cases where i'd want to enable "never expire" without bringing back the already expired ones
13:35:32 <Eddi|zuHause> besides, "resetengines" has some side effects on randomisation and stuff, which a person clicking a setting to just see what it does maybe doesn't want
13:36:21 <merni> Eddi|zuHause: jgrpp has a setting "No vehicles expire after: (year)"... maybe that's what's needed for this case? could also be a bit overcomplicated though
13:36:44 <merni> Actually not sure if it's "after" or "before"
13:45:35 <peter1138> To answer the original question, I have no objection to making console text translatable.
13:45:36 <merni> * branch HEAD -> FETCH_HEAD
13:45:36 <merni> No common parent found for this merge commit (max-depth of 256 reached)
13:45:36 <merni> Error: Process completed with exit code 1.
13:45:51 <merni> commit checker fails with this
13:46:08 <peter1138> It needs to be rebased against master.
13:46:08 <talltyler> You need to rebase from master
13:47:12 <merni> Okay, now *that* is my fault
13:47:21 <peter1138> Heh, that `+ 3` is a nasty hack imho.
13:48:35 <peter1138> Relies on the UTF-8 encoding of colour change codes being 3 bytes.
13:49:31 <peter1138> And assumes there is always one.
13:49:51 <merni> Now I am incurring TB's wrath with repeated force pushes
13:50:30 <merni> peter1138: But does it work? :P
13:51:13 <LordAro> that comment should definitely be kept if the "+3" is still necessary
13:53:10 <merni> Also, the debug message on the terminal was/is just "Game load failed". Would it be worth adding the detailed reason to that?
13:56:52 <peter1138> Hmm, I wonder if runtime scaling sprites would be better then pre-scaling sprites.
13:59:09 <merni> Doing `openttd.exe /?` on windows gives this little throwback of a window 👀
14:11:51 <truebrain> merni: Do as often as you like. The CI will abort older pushes anyway, so all good 🙂
14:13:26 <merni> About... seven hours ago
14:36:08 *** gelignite has joined #openttd
15:39:01 *** Wormnest_ has joined #openttd
15:40:47 <merni> Er, what's the `std::string` version of `strcat`?
15:41:35 <_jgr_> The `+=` operator, usually
16:38:26 <andythenorth> peter1138: goes it flat push pull?
16:38:35 <andythenorth> you have an svn branch for that?
16:42:13 <peter1138> Someone else might, pretty sure someone had previously done work on it.
16:42:29 <peter1138> Probably the "consist" stuff is useful.
16:56:55 <talltyler> Michi had a WIP branch for consists
16:57:09 <talltyler> Solve consists and I’ll do the rest 🙂
16:57:37 <andythenorth> I just want a garratt that randomly reverses on build 😛
17:16:58 *** gelignite has quit IRC (Quit: Stay safe!)
17:40:40 <kuhnovic> A friend of mine asked Suno AI to write a openttd theme song, this is what came out
17:44:10 *** digitalfox has joined #openttd
17:44:10 <digitalfox> kuhnovic: That needs to be the intro menu song 😂
17:44:23 <xarick> the AI will claim copyright in the future
17:48:08 <silent_tempest> Funny but let's not ever add that to the game.
17:52:19 <silent_tempest> Font Settings is coming along:
17:52:35 <silent_tempest> Most of this actually works right now. But I need to clean this up still
17:57:51 <jfs> maybe the "use default sprite font" option should be per font type, really?
17:58:15 <jfs> or at least make sure the window works properly if the user has a mix of font set and not set
17:58:49 <jfs> also, no group for the monospace font? ("text file reader font" perhaps)
17:59:36 <silent_tempest> Mono space is only used for certain parts of the UI
17:59:51 <silent_tempest> Parts I feel like people aren't going to read that often.
18:00:15 <silent_tempest> I have thought about it. But basically haven't written any code for it yet
18:01:06 <silent_tempest> I could make the sprite and aa settings per font settings
18:01:39 <silent_tempest> AA is actually per font already while sprite is a global font setting
18:06:20 *** matusguy has quit IRC (Remote host closed the connection)
18:08:50 <silent_tempest> Looks better...
18:23:33 <silent_tempest> Completely arbitary decision to have 14 font size options on the slider but everything looks readable now?
18:28:51 *** nielsm has quit IRC (Ping timeout: 480 seconds)
18:30:33 <peter1138> I don't think the slider font should be different.
18:31:04 <peter1138> A bit of sample text in the appropriate font style would make more sense.
18:31:18 <silent_tempest> Yeah I wasn't sure if it should be or shouldn't be
18:31:33 <silent_tempest> One sample would be good though
18:31:40 <silent_tempest> Maybe on the button?
18:32:50 <locosage> you can probably replace numbers with a preview
18:33:06 <merni> silent_tempest: You can set individual fonts to sprite (via the console command at least, if not via the settings gui)
18:33:19 <rau117> silent_tempest: Will it be possible with a command to change fonts outside the specified sizes?
18:33:24 <locosage> they don't really mean much anyway as I suppose they're scaled by ui size anyway
18:33:35 <merni> rau117: That already exists...
18:33:39 <silent_tempest> rau117: Yes it would
18:34:00 <silent_tempest> But opening the pane in the UI would reset it to the be within the bounds of the slider as I have it coded right now...
18:34:09 <silent_tempest> Which I not what I want to do it just is
18:39:19 <silent_tempest> Well not by opening the pane... but by using the UI elements on the pane
18:45:15 <truebrain> _glx_: btw, if you want a signed binary, just push the branch to upstream, and build with the branch selected. I do that too from time to time
18:45:22 <truebrain> just don't forget to remove the branch again when build is done
18:48:13 <_glx_> oh yeah I use this trick on the fork, didn't think about doing it on upstream
19:02:16 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
19:05:29 <silent_tempest> silent_tempest: Nope this is wrong. It would trigger a size change on the pane loading if the current setting is outside the bounds of the slider.
19:17:00 <truebrain> seems some people just can't find the close button on their own 😛
19:46:27 <truebrain> merni: stop using my name like that!!!! 😛
20:02:48 *** Smedles has joined #openttd
20:30:02 <_glx_> so 14.0 should be fine after backport
20:35:48 *** Smedles has joined #openttd
20:37:35 *** dan has quit IRC (Remote host closed the connection)
20:37:43 *** Smedles has joined #openttd
20:38:28 <michi_cc> Speaking of bugs, any interest in #12369?
20:39:46 *** Smedles has joined #openttd
20:42:58 <andythenorth> no I just need to be better at git
20:48:41 <peter1138> michi_cc: Yes, but reviewing the changes is... difficult.
20:50:20 <_glx_> andythenorth: I just rebased it 4 days ago
21:15:47 *** jinks has quit IRC (Ping timeout: 480 seconds)
21:15:47 *** jinks_ is now known as jinks
21:16:54 *** gelignite has joined #openttd
21:17:18 <peter1138> Spelling is hard :S
21:53:31 *** Smedles has joined #openttd
21:58:51 *** Smedles has joined #openttd
22:28:52 *** gelignite has quit IRC (Read error: Connection reset by peer)
23:13:48 <kamnet> kuhnovic: When the new video for OpenTTD 14 is created, this needs to be the song played. That's it.
23:20:56 *** nielsm has quit IRC (Ping timeout: 480 seconds)
23:46:53 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
23:59:27 *** Wormnest_ has quit IRC (Ping timeout: 480 seconds)
continue to next day ⏵