IRC logs for #openttd on OFTC at 2022-08-17
⏴ go to previous day
00:59:08 *** Tirili has quit IRC (Ping timeout: 480 seconds)
01:28:24 *** Wormnest has quit IRC (Quit: Leaving)
02:44:05 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:46:44 *** Speedy` has joined #openttd
03:06:08 *** D-HUND is now known as debdog
03:16:25 *** Montana has joined #openttd
03:17:41 *** Tirili has quit IRC (Ping timeout: 480 seconds)
03:18:43 *** wallabra_ has joined #openttd
03:24:35 *** wallabra has quit IRC (Ping timeout: 480 seconds)
03:24:35 *** wallabra_ is now known as wallabra
03:30:16 *** Montana has quit IRC (Ping timeout: 480 seconds)
03:30:27 *** Montana has joined #openttd
05:24:02 *** HerzogDeXtEr has joined #openttd
07:44:02 *** ely-the-kitsune has quit IRC (Remote host closed the connection)
07:44:18 *** sla_ro|master has joined #openttd
07:46:14 *** ely-the-kitsune has joined #openttd
08:15:20 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
08:18:23 *** WormnestAndroid has joined #openttd
09:52:58 *** sla_ro|master has quit IRC ()
11:13:33 *** ely-the-kitsune has quit IRC (Ping timeout: 480 seconds)
12:10:42 *** sla_ro|master has joined #openttd
12:48:03 <glx> as if I didn't received notifications for updates on my issue :)
12:56:11 <LordAro> i kinda like James' completely context-free messages
13:07:10 *** ckb has quit IRC (Quit: leaving)
13:18:46 <glx> and of course updating to VS2022 17.3.1 doesn't change anything
13:20:02 <peter1138> Even in their assembly output it only does inc rax...
13:22:22 <peter1138> I wonder if '*q = '\r'; q++;' works.
13:23:00 <peter1138> (Or the other way around as necessary)
13:35:30 *** virtualrandomnumber has joined #openttd
14:09:23 *** ely-the-kitsune has joined #openttd
14:25:10 *** virtualrandomnumber has quit IRC (Quit: virtualrandomnumber)
14:48:46 <glx> did a quick test without \r insertion, not a good idea, \r is required
14:54:49 <nielsm> how about using a stringstream instead of fixed buffer
14:55:46 <glx> in the end it goes to windows API, and this one is still in C
14:56:49 <glx> with the A and W variant implying convert_to_fs
14:58:33 <glx> we sure can work around the compiler bug, but this bug should not exist :)
14:59:16 <nielsm> it might be causing more miscompilations elsewhere too
15:00:14 <glx> and in this case the buffer is full of 0 at start, but it could also be full of garbage
15:52:52 <andythenorth> hmm can I chain nfo procedure calls?
15:52:55 <andythenorth> thought I could 😛
15:54:36 <andythenorth> probably I caused it 😛
16:03:21 <glx> a procedure can be a chain of switches
16:04:42 <glx> and I don't think anything prevents calling a procedure in a procedure
16:09:46 *** sla_ro|master has quit IRC ()
16:22:49 *** virtualrandomnumber has joined #openttd
16:24:30 *** virtualrandomnumber has quit IRC ()
16:29:05 *** virtualrandomnumber has joined #openttd
16:29:09 *** virtualrandomnumber has quit IRC ()
16:40:25 *** Wormnest has joined #openttd
16:59:25 * andythenorth bisecting for where the error was introduced :P
17:05:56 <peter1138> Amazon thinks I might like a new Piano or Keyboard. Uh oh.
17:09:08 <andythenorth> lol when you assume you broke a thing in the obvious way
17:09:20 <andythenorth> but it's an edge case you broke in a way you never considered 😛
17:17:12 <andythenorth> lol so my commit here was to prevent setting invalid action 0 props for trailing articulated parts 😛
17:17:49 <andythenorth> but not setting one of the properties causes trailing wagon parts to be treated as 'steam engine' for company colour purposes
17:17:56 <andythenorth> want to place bets on which one?
17:20:01 <andythenorth> I got it on 2nd guess
17:20:25 <frosch> oh, refit_mask is not even part of the diff 🙂
17:21:45 <andythenorth> issue looks like this
17:22:03 <andythenorth> part 1 and 3 have no capacity
17:24:36 <andythenorth> I thought I broke it with changes to fetching random bits
17:24:42 <andythenorth> then I thought it might be engine class
17:24:59 <andythenorth> power has to be explicitly 0
17:25:20 <andythenorth> it is in the specs, so eh
17:31:08 <frosch> ah, i found the special magic
17:33:34 <frosch> andythenorth: guess what, it's about dual-headness 🙂
17:34:23 <andythenorth> dual-head has the best surprises
17:34:31 <andythenorth> almost as though it's a side hack
17:35:10 <frosch> it would also have worked, if you had set the dualhead property to zero 🙂
17:35:25 <andythenorth> dualhead trailing parts
17:36:13 <andythenorth> ok docs say I should set dual_headed to 0 for trailing parts
17:37:11 <andythenorth> existing code for it
17:37:45 <andythenorth> ha I 'optimised it'
17:37:54 <andythenorth> double conditional
17:50:23 *** gelignite has joined #openttd
18:03:11 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
18:37:33 *** sla_ro|master has joined #openttd
19:51:13 *** gelignite has quit IRC (Quit: Stay safe!)
20:03:06 *** ely-the-kitsune has quit IRC (Ping timeout: 480 seconds)
20:06:26 *** esselfe has quit IRC (Quit: rebooting)
20:11:37 *** esselfe has joined #openttd
21:39:37 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
22:03:36 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:05:04 *** Samu has quit IRC (Quit: Leaving)
22:10:24 *** NGC3982 has quit IRC (Ping timeout: 480 seconds)
22:30:26 *** nielsm has quit IRC (Ping timeout: 480 seconds)
22:38:36 *** NGC3982 has joined #openttd
22:58:06 *** ckb has quit IRC (Quit: leaving)
23:00:41 *** ely-the-kitsune has joined #openttd
23:03:11 *** sla_ro|master has quit IRC ()
23:54:15 *** wallabra has quit IRC (Ping timeout: 480 seconds)
continue to next day ⏵