IRC logs for #openttd on OFTC at 2024-08-15
            
00:37:44 <DorpsGek> [OpenTTD/nml] glx22 opened pull request #335: Add: Support for station properties 0E and 0F https://github.com/OpenTTD/nml/pull/335
00:39:07 <_glx_> should work, but may need improvements
00:50:30 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #335: Add: Support for station properties 0E and 0F https://github.com/OpenTTD/nml/pull/335
01:00:21 <DorpsGek> [OpenTTD/OpenTTD] audigex commented on discussion #12886: Push-pull: What if trains could back up? https://github.com/OpenTTD/OpenTTD/discussions/12886
01:39:01 *** Flygon has joined #openttd
01:43:15 <DorpsGek> [OpenTTD/nml] PeterN commented on pull request #335: Add: Support for station properties 0E and 0F https://github.com/OpenTTD/nml/pull/335#pullrequestreview-2239487382
02:11:17 <DorpsGek> [OpenTTD/nml] glx22 commented on pull request #335: Add: Support for station properties 0E and 0F https://github.com/OpenTTD/nml/pull/335#pullrequestreview-2239512165
02:15:50 *** debdog has joined #openttd
02:19:14 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
02:49:37 *** XYZ has joined #openttd
02:53:08 *** gnu_jj_ has joined #openttd
02:56:14 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
04:11:50 *** keikoz has joined #openttd
04:44:00 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/f14c152c72e444f5451100820c08343cb02a152c
04:44:01 <DorpsGek> - Update: Translations from eints (by translators)
05:12:48 *** SigHunter has quit IRC (Read error: Connection reset by peer)
05:13:50 *** SigHunter has joined #openttd
05:21:54 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
05:22:03 *** SigHunter has joined #openttd
05:36:05 <andythenorth> slow Horse compile is slow
05:36:16 <andythenorth> I suspect the per-variant name string handling
05:37:03 <andythenorth> 19326 instances of `STR_PARENTHESES` in iron-horse.nml
05:40:33 <andythenorth> hmm not a very significant difference
06:13:42 <andythenorth> ok approx 35% of the compile time is due to intense use of vehicle variants
06:14:24 <andythenorth> ~7000 vehicles in Horse, of which ~5000 are variants
06:15:08 <andythenorth> knocking those out of the grf reduces compile time from ~40s to ~25s
06:17:43 <andythenorth> "all working as expected"
06:57:01 *** HerzogDeXtEr has joined #openttd
07:38:36 *** verzide68 has joined #openttd
07:38:36 <verzide68> dumb question - where can I find the road "tileset" for the game?
07:43:14 <_pruple> between sprites 1313 and 1405 in trg1r.grf
07:43:20 <_pruple> or perhaps somewhere in https://github.com/OpenTTD/OpenGFX/tree/master/sprites/png
07:44:25 <_pruple> https://github.com/OpenTTD/OpenGFX/blob/master/sprites/png/infrastructure/infra06.png
08:18:05 <verzide68> thanks
08:24:10 *** mindlesstux has quit IRC (Quit: The Lounge - https://thelounge.chat)
08:25:12 *** mindlesstux has joined #openttd
08:31:57 *** SigHunter_ has joined #openttd
08:33:54 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
08:41:34 *** SigHunter_ has quit IRC (Ping timeout: 480 seconds)
08:41:59 *** SigHunter has joined #openttd
09:00:54 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
09:04:36 *** SigHunter has joined #openttd
09:28:50 *** SigHunter_ has joined #openttd
09:31:39 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
09:32:54 <DorpsGek> [OpenTTD/OpenTTD] Brickblock1 commented on discussion #12886: Push-pull: What if trains could back up? https://github.com/OpenTTD/OpenTTD/discussions/12886
09:37:39 *** SigHunter_ has quit IRC (Ping timeout: 480 seconds)
09:42:21 *** SigHunter has joined #openttd
09:47:30 <andythenorth> push pull eh
09:47:33 <andythenorth> does Horse?
09:56:50 <peter1138> Step 1: make reversing trains work properly at all...
10:04:05 <andythenorth> I think we should add lots of flags for magic
10:04:22 <andythenorth> preferably ones that aren't orthogonal and have surprise combinatory effects
10:04:33 <andythenorth> or we could just reverse the whole consist
10:04:38 <andythenorth> 'just' ๐Ÿ˜›
10:04:45 <andythenorth> it will all be done by christmas?
10:06:42 <peter1138> Curves
10:08:28 <reldred> reversing trains reversing trains reversing trains
10:08:40 <reldred> finally ill be able to build terminus stations again
10:11:30 <johnfranklin> Sometimes we feel computers do whatever they wantโ€ฆ
10:13:21 *** akimoto has joined #openttd
10:15:13 <peter1138> The reversing issue is partly "what tile is an engine actually on?"
10:22:41 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1273587664565571594/moving.gif?ex=66bf2871&is=66bdd6f1&hm=f75dc7e4c5dcc22bb15c5760527dd53bef8f77be724bf26e6669f555657306a0&
10:22:41 <peter1138> Very moving.
10:25:10 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1273588289445695549/image.png?ex=66bf2906&is=66bdd786&hm=a5dabcf1939220a93e7f0fdc32907f3180c1b5b4fa8eaabc68227c0d5d7602cf&
10:25:10 <peter1138> Very illegal
10:25:23 *** mindlesstux has quit IRC (Ping timeout: 480 seconds)
10:26:56 <peter1138> To fix this, train movement code needs to track front and rear position (maybe only of the consist) explicitly instead of only the vehicle centres.
10:29:15 *** mindlesstux has joined #openttd
10:30:19 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1273589583371567114/image.png?ex=66bf2a3a&is=66bdd8ba&hm=1b8b136e08567e74ea601c5f6df30b2a62e3a7b85e751b852ed1ad40761a3723&
10:30:19 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1273589583602389022/image.png?ex=66bf2a3a&is=66bdd8ba&hm=e5537feb70c1958df95a5a1107968762235805e8a8d755130a9771c1f20122a6&
10:30:19 <peter1138> Which track is the train on?
10:30:19 <andythenorth> can vehicles do that relative to consist?
10:30:59 <peter1138> Only the middle vehicles can be moved.
10:31:47 <peter1138> Moving the first and last vehicles could place the vehicles on different tiles.
10:36:32 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1273591150426718229/image.png?ex=66bf2bb0&is=66bdda30&hm=caf87938abce042dc532786a40f5d7efb892306bdb88a6f2be02742420b6ad8d&
10:36:32 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1273591150632243200/image.png?ex=66bf2bb0&is=66bdda30&hm=375da044e4000695a73a6d3c0a71ea0899a8df707e76c720a2c9e5c875db7818&
10:36:32 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1273591151043149844/image.png?ex=66bf2bb0&is=66bdda30&hm=7b0c403bb22cb30eae955f127743ced10b49822fd32c113109f4c5c9a29297b4&
10:36:46 <peter1138> The train is... not on the water tile.
10:38:35 <andythenorth> such boom
10:39:52 <peter1138> Also in terms of v->tile, all 3 of those vehicles are on the same tile.
10:40:09 <peter1138> But the train is 1.25 tiles long
10:42:20 <andythenorth> so it's not just a one line change to do this? ๐Ÿ˜ฎ
10:43:32 <reldred> andythenorth: if it was then I would have done it ๐Ÿ˜›
10:43:41 <FLHerne> in C everything can be a one-line change, just remove all the newlines
10:43:58 <reldred> disgusting, I love it
10:44:00 <FLHerne> this is why Python is a bad language
10:44:33 <FLHerne> *C++
10:45:17 <verzide68> i'm curious, are separate parts of the rail considered different, because if not how would the trains pathfind across? at least where can i find the code that deals with that?
10:48:43 <gwyd4016> FLHerne: Strong agree
10:49:09 <gwyd4016> White space should mean nothing outside of a string
10:49:50 <peter1138> <https://en.wikipedia.org/wiki/Whitespace_%28programming_language%29>
10:50:24 <_jgr_> There are plenty of things to not like about Python, but the indentation/whitespace is just a non-issue
10:50:48 <FLHerne> I mostly agree /;#]**************
10:50:49 <FLHerne> #]*
10:51:06 <FLHerne> this keyboard :-/
10:51:22 <FLHerne> I mostly agree, although whitespace-only blocks make it painfully easy to
10:51:34 <andythenorth> lol those who still get bothered by python
10:51:47 <andythenorth> and then everyone else, getting things done
10:51:53 <FLHerne> ... get code in the wrong place
10:52:10 <FLHerne> I only complain about it for the purposes of bad humour though
10:52:44 <gwyd4016> I complain about it because it is the singular issue that I have built my life around
10:53:20 <FLHerne> verzide68: question isn't very clear, but yes, the different segments of rail on each tile are represented by `trackbits`, see e.g. src/pathfinder/follow_track.hpp
10:54:03 <peter1138> IIRC python would get upset by mixed tabs and spaces.
10:54:17 <peter1138> But then again, it is perfectly normal to get upset by that.
10:55:07 <FLHerne> the actual pathfinding is in src/pathfinder/yapf/ which is notoriously obtuse
10:55:34 <andythenorth> `black src`
10:55:38 <andythenorth> enjoy a big diff
10:56:16 <peter1138> So new map array?
10:56:29 <verzide68> FLHerne: thanks
10:56:32 <FLHerne> again, if people would simply sed s/\n//, all diffs would be one-line changes as well
10:56:39 <FLHerne> peter1138: yes please :D
10:57:07 <peter1138> Lets get rid of the map array.
10:57:21 <peter1138> Keep it in `std::list`
10:57:57 <peter1138> So a 4096x4096 map could require 2^24 pointer transversals ๐Ÿ˜„
11:36:32 *** SigHunter has quit IRC ()
11:36:48 <peter1138> Hmm, maybe I will have to just build a PC.
11:39:38 *** SigHunter has joined #openttd
13:39:13 <DorpsGek> [OpenTTD/OpenTTD] audigex commented on discussion #12886: Push-pull: What if trains could back up? https://github.com/OpenTTD/OpenTTD/discussions/12886
13:46:35 <peter1138> > Chats are temporarily unavailable
13:48:35 <peter1138> Thanks MS Teams...
13:51:51 *** nielsm has joined #openttd
14:08:13 <Rubidium> FLHerne: the C++ compiler might not require newlines, but the preprocessor requires them so compiling OpenTTD without newlines is not going to work
15:09:52 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1273659934042492999/image.png?ex=66bf6bbf&is=66be1a3f&hm=5b954b8d7c5ec3b4b009ebaf11af5c3a350b49714625cf754ab3a64480498543&
15:09:52 <andythenorth> did a thing
15:09:59 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1273659966158540960/image.png?ex=66bf6bc7&is=66be1a47&hm=1cac2e046f287c0d829afbdcf8d5666ec9c187bfffcdb0062af1b74209f3aa91&
15:10:06 <andythenorth> should I bug report that?
15:10:21 <andythenorth> it's cb results, rather than action 0, not sure those are searched
15:11:26 <peter1138> The callback result is not persisted.
15:11:47 <peter1138> So sorting or filtering would need to execute the callback result again for every item.
15:11:53 <peter1138> Probably not that much of a problem.
15:12:21 <peter1138> Oh, Minecraft is trying to do bundles again, eh?
15:33:46 *** alfagamma0007 has joined #openttd
15:33:46 <alfagamma0007> peter1138: damn, never knew you can do the *stuff* by literally flooding it around
15:47:52 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #335: Add: Support for station properties 0E and 0F https://github.com/OpenTTD/nml/pull/335
15:52:12 <DorpsGek> [OpenTTD/nml] glx22 commented on pull request #335: Add: Support for station properties 0E and 0F https://github.com/OpenTTD/nml/pull/335#issuecomment-2291587078
17:03:01 *** Flygon has quit IRC (Read error: Connection reset by peer)
17:20:17 <FLHerne> Rubidium: fair
18:01:24 *** XYZ has quit IRC (Ping timeout: 480 seconds)
18:30:57 *** scramjet has quit IRC (Quit: User went offline on Discord a while ago)
18:52:45 *** XYZ has joined #openttd
19:50:58 *** keikoz has quit IRC ()
20:12:37 *** keikoz has joined #openttd
20:36:43 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:03:58 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
21:28:38 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:41:49 *** akimoto has quit IRC (Remote host closed the connection)
21:45:23 *** tokai has joined #openttd
21:45:23 *** ChanServ sets mode: +v tokai
21:52:13 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)