IRC logs for #openttd on OFTC at 2026-07-17
            
00:30:10 <peter1138> https://fuzzle.org/~petern/ottd/coastalrocks.png
00:30:11 <peter1138> Hmm.
00:42:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #15869: Change: Add plain and coastal rock tiles https://github.com/OpenTTD/OpenTTD/pull/15869
00:52:18 <talltyler> Moar rocks for reldred ā¤ļø
00:56:47 <reldred> Moar rocks moar rocks
00:57:04 <reldred> Feel like it needs some bespoke graphics though.
01:42:15 *** Wormnest has quit IRC (Quit: Leaving)
02:26:35 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #15730: Feature: Create new folders from the save dialog https://github.com/OpenTTD/OpenTTD/pull/15730#pullrequestreview-4718920270
02:38:43 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #15730: Feature: Create new folders from the save dialog https://github.com/OpenTTD/OpenTTD/pull/15730#pullrequestreview-4718925260
02:48:47 *** Flygon has joined #openttd
03:13:59 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #15730: Feature: Create new folders from the save dialog https://github.com/OpenTTD/OpenTTD/pull/15730#pullrequestreview-4719081573
03:30:21 *** MinchinWeb[m] has quit IRC (Read error: No route to host)
03:31:43 *** MinchinWeb[m] has joined #openttd
03:41:00 *** Phileman has joined #openttd
03:44:06 *** Philemon has quit IRC (Ping timeout: 480 seconds)
04:12:27 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
04:12:50 <Izzybee> _jgr_: 0.72.4 builds and runs as expected unmodified on PPC and PPC64! :D Can't host multiplayer for something that feels like an endian issue but I'll do some more testing and file an actual bug report this time x3
04:13:05 *** MinchinWeb[m] has joined #openttd
04:16:36 *** Smedles_ has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
04:16:46 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
04:17:31 *** MinchinWeb[m] has joined #openttd
04:17:55 *** Smedles has joined #openttd
04:45:26 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
04:46:27 *** MinchinWeb[m] has joined #openttd
05:01:45 *** tokai|noir has joined #openttd
05:01:45 *** ChanServ sets mode: +v tokai|noir
05:08:21 *** tokai has quit IRC (Ping timeout: 480 seconds)
06:36:44 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/6892b8a46353ecfe49fd523be795178f728ad5dd
06:36:45 <DorpsGek> - Update: Translations from eints (by translators)
07:34:37 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #15869: Change: Add plain and coastal rock tiles https://github.com/OpenTTD/OpenTTD/pull/15869
07:43:26 <andythenorth> rocky mcrockface
08:01:12 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #15869: Change: Add plain and coastal rock tiles https://github.com/OpenTTD/OpenTTD/pull/15869#issuecomment-5000443055
08:14:43 *** MinchinWeb[m] has quit IRC (Remote host closed the connection)
08:14:43 <peter1138> Not that anyone asked for it, ah well.
08:14:55 *** MinchinWeb[m] has joined #openttd
08:26:53 <LordAro> increasingly looks like it needs dedicated sprites for the coasts
08:27:30 <LordAro> and of course, ship pathfinder will need to take rocky water into account :p
08:29:16 <peter1138> Well the nature of pathfinders means it won't pathfind through a tile when there is no path through it.
08:29:32 *** mmtunligit has joined #openttd
08:29:32 <mmtunligit> new ship based disaster, news headline that pops up is [SHIP NAME] has been dashed against the rocks! billions drown off the coast of [LOCAL AUTHORITY]
08:29:34 <peter1138> But I added a TODO for to test the region pathfinder.
08:29:43 <LordAro> peter1138: i am shocked
08:30:06 <LordAro> i mean, some sort of low chance if the route passes next to them might not be the worst thing in the world
08:30:22 <peter1138> I decided to go with the "add new watertiletypes" route, because that ends up with less special casing than adding a "has rocks" bit.
08:31:22 <peter1138> And yes, separate rocky sprites might be wanted, but having existing overlays means I can build this without having to add new crappy programmer-graphics just for testing.
08:32:14 <peter1138> And I don't think it's horrible anyway, though it might not make much sense.
08:34:00 <peter1138> Rocky coasts are treated as fully rocky for pathfinding, so having rocks in the half-water tiles is intentional.
08:34:19 <peter1138> (And, to be fair, that argument applies both ways)
08:35:29 <andythenorth> sharks watertiletype
08:35:37 <andythenorth> abyss watertiletype
08:36:03 <andythenorth> 4 char standardised watertiletype schema
08:36:05 <andythenorth> `JAWS`
08:36:15 <andythenorth> let's retcon it and get in early before the realisms folks
08:36:22 <LordAro> peter1138: sure, though the overlapping with the actual shore doesn't look great to me. would benefit from something specific imo
08:36:52 <reldred> Tis fine for proof of concept
08:37:12 <andythenorth> DOGR, HUMBR, THMS, DOVR, PTLD
08:37:22 <reldred> Ogfx1 probably has the least intrusive sprite for this purpose
08:37:39 <LordAro> andythenorth: :D
08:37:42 <LordAro> reldred: oh for sure
08:37:55 <reldred> A savvy pixelsmith can do more with it I’m sure
08:39:41 <peter1138> You can barely see the rocks with Ogfx1.
08:39:48 <andythenorth> can the lighthouse placer find rocky tiles? šŸ˜›
08:40:12 <mmtunligit> i think itd be more the rock placer finding lighthouses
08:40:44 <andythenorth> classic game ass backwardness šŸ™‚
08:40:50 <peter1138> For my test I just make the lighthouse placer also place rocks randomly.
08:41:01 <mmtunligit> thats probably the best way of doing it
08:41:48 <peter1138> Problem with "place near rocks" is the game already has enough trouble finding suitable spots for lighthouses. So making sure it's near rocks too limits them even more.
08:42:32 <mmtunligit> its always funny to me loading up a heightmap and seeing a cluster of like 30 lighthouses all in one spot
08:43:03 <peter1138> Hmm, no lighthouses in sub-tropic landscape type.
08:43:21 <peter1138> I think the clustering was fixed, I could be wrong though.
08:44:05 <mmtunligit> i think it was
08:44:25 <mmtunligit> 4:45am i should probably sleep huh
08:44:54 <mmtunligit> love my mid afternoon to late evening job, it definently doesnt fuck with my schedule at all
08:45:02 <peter1138> So for coasts and water tiles, should we have new rocky overlays, or a new set of non-overlay ground sprites...
08:45:59 <peter1138> (Overlays can of course cover the entire sprite anyway)
08:47:27 <peter1138> Hmm, use existing overlay if new overlays not provided by baseset.
09:02:36 *** Flygon has quit IRC (Read error: Connection reset by peer)
09:27:12 *** Wolf01 has joined #openttd
10:03:45 <peter1138> Urgh, I moved my home directory to a new partition and for some reason my Codium settings have... changed? Hmm.
10:04:56 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
10:25:42 <peter1138> Ah well, at least I have free space now.
10:26:26 <peter1138> I'm wondering how best to resize my / partition though.
10:31:44 *** Wolf01 has joined #openttd
10:58:59 <LordAro> dd-more-space-please
11:38:35 *** shoshonite7060 has joined #openttd
11:38:35 <shoshonite7060> peter1138: Partition? Buy more drives. Build RAID1. Have single partition 🤪. Have all the space and a fraction the stability!
11:46:54 <andythenorth> do we still need data? Won't ChatGTA just hallucinate what we need on demand?
11:49:26 <kuhnovic> peter1138: The regions are built up using the ship track follower. This ensures it plays by the same rules as the low level pathfinder. So things should work just fine if rock tiles don't have traversable tracks for ships. Doesn't hurt to test of course.
11:59:35 <locosage> https://cdn.discordapp.com/attachments/1008473233844097104/1527645940260012202/Screencast_from_2026-07-17_16-58-37.webm?ex=6a5b6aa6&is=6a5a1926&hm=e6be265046e8f5cf1cd60a1da8806f6b7b71275b61ff9b0453a718e5ce185557&
11:59:35 <locosage> does this count as a bug?
12:17:01 <peter1138> kuhnovic, yeah, the to-do it just to verify it :)
12:17:13 <peter1138> Sounds like it should be good :D
12:17:51 <kuhnovic> "Should"
12:22:41 *** ngc3982 has quit IRC (Ping timeout: 480 seconds)
12:49:51 <peter1138> Hmm, I need to unroll Timberwolf's massive thread and anonymously send it to management...
12:53:55 <LordAro> locosage: looks like it
12:55:08 <DorpsGek> [OpenTTD/OpenTTD] metablaster started discussion #15870: Are vehicle unit numbers unique? https://github.com/OpenTTD/OpenTTD/discussions/15870
13:00:17 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on discussion #15870: Are vehicle unit numbers unique? https://github.com/OpenTTD/OpenTTD/discussions/15870
13:28:56 <peter1138> I have no idea what that video clip is trying to show.
13:29:53 <peter1138> 3rd watch, I think I get it.
13:30:21 <peter1138> Sometimes a (moving) picture isn't worth a thousand words...
13:31:10 *** Tirili has joined #openttd
13:43:30 <locosage> well, I was also wondering how self-evident it is
13:43:52 <locosage> but basically station building tool doesn't get highlight if selection window from it's previous usage is still open
13:46:09 <locosage> also it closes station selection if "keep building tools after usage" is off which I'm not sure it should as station is still being built
14:12:44 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
14:13:20 *** MinchinWeb[m] has joined #openttd
14:49:00 <DorpsGek> [OpenTTD/OpenTTD] Rito13 opened pull request #15871: Codefix: Compilation fails on VS2022 https://github.com/OpenTTD/OpenTTD/pull/15871
14:51:50 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #15871: Codefix: Compilation fails on VS2022 https://github.com/OpenTTD/OpenTTD/pull/15871#pullrequestreview-4723714096
14:57:43 <LordAro> the fact that Set returns something is already somewhat of an oddity
14:58:30 <DorpsGek> [OpenTTD/OpenTTD] Rito13 updated pull request #15871: Codefix: Compilation fails on VS2022 https://github.com/OpenTTD/OpenTTD/pull/15871
14:59:12 <peter1138> https://en.cppreference.com/cpp/utility/bitset/set
15:05:44 <LordAro> I didn't say it was your oddity :p
15:06:07 <LordAro> rito12_13: don't suppose explicitly casting to (void) helps?
15:06:19 <LordAro> or perhaps even providing a void returning function overload
15:06:31 <LordAro> removes the renaming bikeshedding at least
15:08:35 <peter1138> You can't overload on return value.
15:08:40 <peter1138> s/value/type/
15:12:02 *** Wormnest has joined #openttd
15:13:22 <LordAro> ah, damn
15:37:53 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
15:38:55 *** MinchinWeb[m] has joined #openttd
16:14:39 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
16:15:37 *** MinchinWeb[m] has joined #openttd
16:16:09 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
16:16:21 *** MinchinWeb[m] has joined #openttd
16:19:50 <rito12_13> LordAro: Unfortunately not, the problem is a cast done inside the Set function before it returns. However if it is replaced with a dynamic_cast it seams to work https://godbolt.org/z/YsGsKqrMo
16:23:56 <peter1138> dynamic_cast seems like the wrong thing here.
16:24:21 <peter1138> dynamic_cast has a runtime check.
16:28:38 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #15869: Change: Add plain and coastal rock tiles https://github.com/OpenTTD/OpenTTD/pull/15869
16:49:25 <peter1138> Supports additional sprites now, if they're loaded.
16:53:41 *** gelignite has joined #openttd
17:05:49 <rito12_13> The static_cast to exactly the same type works and the return type can be specified with templates https://godbolt.org/z/b79YvbW39
17:08:30 <peter1138> You're still using SetNoReturn though?
17:12:13 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #15872: Codechange: expose saveload.h less to the rest of the game https://github.com/OpenTTD/OpenTTD/pull/15872
17:13:38 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #15872: Codechange: expose saveload.h less to the rest of the game https://github.com/OpenTTD/OpenTTD/pull/15872#pullrequestreview-4724683497
17:13:56 <peter1138> Oh, docs.
17:30:36 *** Flygon has joined #openttd
17:41:54 <DorpsGek> [OpenTTD/OpenTTD] nielsmh commented on pull request #15869: Change: Add plain and coastal rock tiles https://github.com/OpenTTD/OpenTTD/pull/15869#issuecomment-5005887041
17:54:04 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #15872: Codechange: expose saveload.h less to the rest of the game https://github.com/OpenTTD/OpenTTD/pull/15872
18:00:30 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #15869: Change: Add plain and coastal rock tiles https://github.com/OpenTTD/OpenTTD/pull/15869#issuecomment-5006034741
18:18:15 <DorpsGek> [OpenTTD/OpenTTD] Rito13 updated pull request #15871: Codefix: Compilation fails on VS2022 https://github.com/OpenTTD/OpenTTD/pull/15871
18:18:21 <DorpsGek> [OpenTTD/OpenTTD] Rito13 commented on pull request #15871: Codefix: Compilation fails on VS2022 https://github.com/OpenTTD/OpenTTD/pull/15871#issuecomment-5006212836
18:32:38 *** Tirili has quit IRC (Remote host closed the connection)
19:11:25 *** Tirili has joined #openttd
19:11:28 *** Tirili has quit IRC (Remote host closed the connection)
19:14:59 *** Flygon has quit IRC (Remote host closed the connection)
19:31:07 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #15871: Codefix: Compilation fails on VS2022 https://github.com/OpenTTD/OpenTTD/pull/15871#pullrequestreview-4725547944
19:39:19 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #15871: Codefix: Compilation fails on VS2022 https://github.com/OpenTTD/OpenTTD/pull/15871#pullrequestreview-4725598800
19:54:27 <LordAro> could do with a comment on the function too explaining why it's "weird"
19:54:44 <LordAro> (not logged in on phone)
19:55:00 <LordAro> (why it's doing weird things with templates*)
20:50:29 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #15868: Codechange: add compile time type sanity checks for the saveload variables https://github.com/OpenTTD/OpenTTD/pull/15868
20:57:33 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #15868: Codechange: improve compile time type sanity checks for the saveload variables https://github.com/OpenTTD/OpenTTD/pull/15868
20:58:49 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #15868: Codechange: improve compile time type sanity checks for the saveload variables https://github.com/OpenTTD/OpenTTD/pull/15868
21:04:05 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #15873: Codechange: use std::array over C-style arrays for saved data https://github.com/OpenTTD/OpenTTD/pull/15873
21:22:54 <peter1138> > The initial TTD default for all vehicles is 20.
21:23:15 <peter1138> Does this mean the default for new vehicles outside of the original vehicle range should also have this default value?
21:25:06 <peter1138> NML part of the spec says "default vehicles use 20" which isn't quite the same as "default value is 20".
21:34:43 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:34:59 <_glx_> would be better to say "never rely on possible default values"
21:43:42 <_glx_> IIRC only original vehicles have default values, and I don't think there's a complete list for them anywhere
21:48:48 <talltyler> Anything beyond original vehicle range is undefined, as far as I’m concerned.
22:09:24 <peter1138> Hmm, disable additional rocks on rivers I suppose.
22:13:37 *** jinks has quit IRC (Quit: ZNC - http://znc.in)
22:13:57 *** jinks has joined #openttd
22:16:10 <jfkuayue> Default of what is 20? reliability decay speed?
22:17:23 <andythenorth> such naptime
22:17:43 <jfkuayue> wherezzz
22:18:41 <jfkuayue> I am tempted to zzz on the sleeper of caledonian sleeper. I now have reasons to spend that big money. I graduated šŸŽ‰
22:29:44 *** WormnestAndroid has quit IRC (Remote host closed the connection)
22:29:48 *** WormnestAndroid has joined #openttd
23:06:32 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #15869: Change: Add plain and coastal rock tiles https://github.com/OpenTTD/OpenTTD/pull/15869
23:19:56 <_zephyris> Interesting.
23:20:47 <_zephyris> Presumably a slightly submerged + white water would be the preferred wet rock appearance
23:21:24 <peter1138> That's up to you.
23:22:35 <peter1138> For coastal rocky overlays it needs to cope with the different landscape types of course.
23:25:01 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #15869: Change: Add plain and coastal rock tiles https://github.com/OpenTTD/OpenTTD/pull/15869#issuecomment-5008473218
23:25:43 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
23:26:11 *** MinchinWeb[m] has joined #openttd
23:26:56 <peter1138> Hmm, seems we don't provide toyland rock overlays at all.
23:29:25 <peter1138> Oh well, that's a shame.