IRC logs for #openttd on OFTC at 2025-11-16
            
00:03:20 <DorpsGek> [OpenTTD/OpenTTD] certator opened pull request #14781: Feature: Show the number of hidden vehicles on the button https://github.com/OpenTTD/OpenTTD/pull/14781
00:18:35 *** kuka_lie has quit IRC (Quit: Lost terminal)
00:31:45 <DorpsGek> [OpenTTD/OpenTTD] certator commented on issue #8062: Overlapping text in vehicle group window https://github.com/OpenTTD/OpenTTD/issues/8062
01:55:26 <DorpsGek> [OpenTTD/OpenTTD] certator opened pull request #14782: Fix #14755: Remove clicked type selection when not visible https://github.com/OpenTTD/OpenTTD/pull/14782
02:45:26 <DorpsGek> [OpenTTD/OpenTTD] certator updated pull request #14776: Feature: Highlight company infrastructure on the map https://github.com/OpenTTD/OpenTTD/pull/14776
02:54:02 <DorpsGek> [OpenTTD/OpenTTD] certator updated pull request #14776: Feature: Highlight company infrastructure on the map https://github.com/OpenTTD/OpenTTD/pull/14776
02:57:34 *** Wormnest has quit IRC (Quit: Leaving)
03:52:28 *** gnu_jj has joined #openttd
03:56:04 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
04:21:36 *** Zathras has joined #openttd
04:24:56 *** Zathras_11 has quit IRC (Ping timeout: 480 seconds)
04:40:17 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/21329071dfb92d5bc3db23913687f739a8fae319
04:40:18 <DorpsGek> - Update: Translations from eints (by translators)
05:14:50 *** keikoz has joined #openttd
05:25:22 *** tokai has joined #openttd
05:25:22 *** ChanServ sets mode: +v tokai
05:32:16 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
07:06:37 <DorpsGek> [OpenTTD/OpenTTD] Rito13 commented on pull request #14781: Feature: Show the number of hidden vehicles on the button https://github.com/OpenTTD/OpenTTD/pull/14781#pullrequestreview-3469764200
08:09:40 <DorpsGek> [OpenTTD/OpenTTD] certator closed pull request #14782: Fix #14755: Remove clicked type selection when not visible https://github.com/OpenTTD/OpenTTD/pull/14782
08:09:44 <DorpsGek> [OpenTTD/OpenTTD] certator closed pull request #14781: Feature: Show the number of hidden vehicles on the button https://github.com/OpenTTD/OpenTTD/pull/14781
08:09:50 <DorpsGek> [OpenTTD/OpenTTD] certator closed pull request #14776: Feature: Highlight company infrastructure on the map https://github.com/OpenTTD/OpenTTD/pull/14776
08:11:25 <LordAro> well.
08:34:07 <andythenorth> coffee I think
08:34:23 <andythenorth> I can't make sense of anything yet πŸ˜›
08:51:30 <andythenorth> hmm
08:51:32 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1439538367879450714/image.png?ex=691ae214&is=69199094&hm=74e2faea1507642d283da63efa2ae7edcf93e723dbb3d5c81fda99adc7ec77b6&
08:51:49 <andythenorth> station picker always opens roughyl in the middle of my screen
08:52:20 <andythenorth> I can use the square button to preserve the size, although that state seems to be lost when I crash OpenTTD (which is often)
08:52:30 <andythenorth> but the position isn't preservable
08:52:46 <andythenorth> wondering if we could have construction windows dock to left or right of the screen
09:34:29 <DorpsGek> [OpenTTD/OpenTTD] certator commented on pull request #14781: Feature: Show the number of hidden vehicles on the button https://github.com/OpenTTD/OpenTTD/pull/14781#pullrequestreview-3470004700
09:48:29 <DorpsGek> [OpenTTD/OpenTTD] Rito13 updated pull request #14717: Feature: New selection for rail types. https://github.com/OpenTTD/OpenTTD/pull/14717
10:13:49 <peter1138> > 48 files changed, 917 insertions(+), 875 deletions(-)
10:13:51 <peter1138> Oops.
10:31:09 <DorpsGek> [OpenTTD/OpenTTD] github-advanced-security[bot] commented on pull request #14717: Feature: New selection for rail types. https://github.com/OpenTTD/OpenTTD/pull/14717#pullrequestreview-3470035754
10:34:52 *** Flygon has quit IRC (Read error: Connection reset by peer)
10:46:37 <xarick> is this hallucination? I asked copilot to generate commit message. That last phrase seems like hallucination
10:46:37 <xarick> > Update manifest to use asmv3 namespace for Windows settings
10:46:37 <xarick> >
10:46:37 <xarick> > Refactored openttd.manifest to use the asmv3 namespace for trustInfo, application, and windowsSettings elements. This improves compatibility with newer Windows manifest schema requirements.
10:46:45 <xarick> can someone confirm
10:48:16 <xarick> i noticed copilot really likes to use the word refactor
10:56:29 <mmtunligit> I think you should probably understand the words you’re using to describe things and not outsource your thinking to a machine and hope what it spits out makes sense to someone
11:02:19 <xarick> slop machine
11:04:53 <xarick> i kind of scared to make a PR for this
11:05:10 <xarick> there's a fix in the way, but i'm just impatient
11:07:00 <xarick> <https://github.com/SamuXarick/OpenTTD/commit/9659188813cbdc966f66942a501622bc54267857>
11:19:39 <kaji_kaede> xarick: If you need to ask. Stop.
11:20:01 <kaji_kaede> Stop and just ask someone for help who actually knows what they're doing.
11:23:06 <_glx_> Don't touch the manifest, it's fine as it is
11:26:31 <_glx_> Especially when the issue is "broken" compiler inserting invalid stuff inside the manifest
11:27:17 <xarick> ok
11:27:21 <xarick> im not pring
11:31:17 <_glx_> You can use this change locally, but it doesn't need to go in master
12:02:32 * peter1138 ponders order flags.
12:03:46 <peter1138> Some of them are used like bitsets when it doesn't really make sense.
12:28:21 <peter1138> e.g. order_cmd.cpp:668 ensures that either no bits or only one bit is set for unload type.
12:29:17 <peter1138> :654-666 does the same for load type, except there's more of a mix of values.
12:30:33 <peter1138> I wonder if it makes sense to simplfy this, instead of blindly switching to EnumBitSet.
12:33:12 <xarick> I haven't checked the unload flags
12:34:26 <xarick> but there are issues with the unbunch that I tried to fix while I was at it
12:35:38 <xarick> oh, I also noticed non-stop flags had a little problem when set from AIs
12:35:52 <xarick> I fixed it on the AI side
12:38:57 <xarick> don't recall exactly what it was but it's something about non ground vehicle and nonstop to depot orders combinations being passed to the DoCommand as valid only then to fail as a response.
12:39:23 <xarick> So i made it fail before reaching DoCommand
12:41:00 <peter1138> As long as the command itself correctly fails, that's not really a problem. Just sub-optimal for the AI.
12:45:44 <_glx_> The rules about valid flags for a given type are painful to handle
12:46:26 <_glx_> And it's not surprising some are missing on API side
12:52:02 <_glx_> And it's even worse on API side as it's all in one <https://docs.openttd.org/ai-api/classAIOrder#aca4eab6320c32ec982461231f14d1c6e>
12:58:08 <peter1138> Yup.
12:59:13 <peter1138> As Load/Unload types are (almost) mutually exclusive, using a bitmask is weird.
12:59:20 <peter1138> s/bitmask/bitset/
13:12:46 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #9832: Change: Vanilla industry tiles have 8/8 acceptance by default https://github.com/OpenTTD/OpenTTD/pull/9832
13:17:47 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14783: Codechange: Use enum class and EnumBitSet for various order flags. https://github.com/OpenTTD/OpenTTD/pull/14783
13:17:56 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #14708: Feature: Allow placing an area of 1x1 houses https://github.com/OpenTTD/OpenTTD/pull/14708
13:33:22 <xarick> woah over 400 changes
13:54:05 <peter1138> https://www.youtube.com/watch?v=UmcLTw99fDA
14:14:38 <andythenorth> bring back Timberwolf
14:34:14 *** kaibaneddy has joined #openttd
14:34:14 <kaibaneddy> where'd he go?
14:35:17 <belajalilija> Left
14:37:50 <kaibaneddy> what did you do to him?
14:58:23 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14783: Codechange: Use enum class and EnumBitSet for various order flags. https://github.com/OpenTTD/OpenTTD/pull/14783#issuecomment-3538835707
15:06:59 <peter1138> Bleh.
15:07:22 <peter1138> I guess I should split it up.
15:08:42 <rito12_51026> One commit per enum?
15:29:59 <peter1138> The change to OrderLoadFlags/OrderUnloadFlags is more than just a simple enum -> enum class change.
15:37:21 *** Borg has joined #openttd
15:38:01 <Borg> howdy.. is there some kind of real clock in OpenTTD? in ms.. I found _realtime_tick but it seems to be updated when game runs (not paused)
15:38:14 <Borg> I want sth declouped from game logic to handle gui timeout/ hotkey timeout
15:40:07 <andythenorth> naptime
15:44:44 <Borg> oh nevermind. i will hook up directly into loop
15:49:07 <peter1138> There's OnTimeout and OnRealtimeTick window events.
15:53:40 <Borg> hmm but I need it much earlier.. due to how TAB key is handled in Win32
15:53:49 <Borg> anyway.. lets test
16:02:32 <peter1138> - bool force_unload = (order_flags & OUFB_UNLOAD) != 0;
16:02:32 <peter1138> - bool force_transfer = (order_flags & (OUFB_TRANSFER | OUFB_UNLOAD)) != 0;
16:02:42 <peter1138> Hmm, is unload meant to force transfer as well?
16:03:10 <peter1138> Looks like it is.
16:06:41 <Borg> what is forced unload is supposed to do anyway?
16:06:51 <Borg> Transfer and leave empty is clear..
16:07:08 <peter1138> It forces unloading even if the station doesn't accept the cargo.
16:07:42 <Borg> I know..
16:07:46 <peter1138> The difference is a fo "unload" order will unload if it's accepted, a
16:07:46 <Borg> but what is the use case?
16:07:47 <peter1138> ...
16:07:57 <peter1138> Meh, words.
16:08:05 <peter1138> Transfer always transfers.
16:08:12 <kaibaneddy> unload cashes in the cargo if station accepts, transfers if it doesn't. transfer transfers cargo and leaves it on the platform in either case.
16:08:44 <kaibaneddy> afaia
16:08:47 <Borg> imo Force Unload shouldnt exist...
16:08:58 <Borg> but.. I wonder if someone uses it.. and if yes.. what is the use case
16:09:06 <Borg> I either do.. No loading.. or Transfer and leave empty
16:09:11 <Borg> of course nothing for PAX..
16:09:18 <Borg> never ever had to use Force Unloading..
16:09:34 <kaibaneddy> hysterical raisins. before explicit "transfer" was a thing.
16:09:40 <Borg> ah.. ok
16:10:46 <peter1138> The existance of the "force unload" option causes problems for new players who think it's needed for a train to unload.
16:11:57 <Borg> yeah I guess
16:12:10 <xarick> force transfer
16:13:30 <kaibaneddy> but it's an original TTD feature so we're more or less stuck with it πŸ˜„
16:14:24 <kaibaneddy> (and the use case given in the manual is transfers: https://www.manualshelf.com/manual/games-pc/transport-tycoon-deluxe/user-guide-english/page-56.html )
16:23:20 *** Wormnest has joined #openttd
16:33:40 <audigex> kaibaneddy: I vaguely recall he got tired of people making requests/demands/complaints for his newGRFs
16:33:40 <audigex> I suspect he might still have an account here, just not under the TW name
16:47:58 <Borg> okey.. workz.. 200ms delay seems good
16:48:11 <Borg> press TAB. hold it at least 200ms.. fastforward will kick in
17:29:38 <xarick> oh, jgrpp 0.68.1 still doesn't have cloneable lists
17:30:30 <xarick> how do you even pass regression tests
17:33:10 <_jgr_> Cloneable lists is ultra-low priority
17:33:38 <_jgr_> When I get round to merging those commits the regression tests will obviously also be updated as required
17:35:34 <xarick> 😐
17:38:40 <xarick> scary to see copilot automatically write squirrel code
17:39:08 <xarick> and actually doing it correctly
17:41:58 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1439671854951436420/image.png?ex=691b5e66&is=691a0ce6&hm=adcc8c53853c64f475275c6ac7a23779b04c71e24724c0b269a5bd2dc2a2071e&
17:41:58 <xarick> look where my cursor is and the autocomplete
18:01:41 *** jinks has quit IRC (Ping timeout: 480 seconds)
18:02:49 *** lobster has quit IRC (Read error: Connection reset by peer)
18:02:59 *** lobster has joined #openttd
18:09:12 *** jinks has joined #openttd
18:33:21 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14783: Codechange: Use enum class and EnumBitSet for various order flags. https://github.com/OpenTTD/OpenTTD/pull/14783
18:34:11 <peter1138> Hmm.
18:34:37 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14783: Codechange: Use enum class and EnumBitSet for various order flags. https://github.com/OpenTTD/OpenTTD/pull/14783#issuecomment-3539113590
18:38:15 <xarick> testing the several regression tests on safe btree
18:38:37 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1439686109532520588/image.png?ex=691b6bac&is=691a1a2c&hm=ad2d823498d156f821a1ea0f546cc291034bad1b1ed7518329d68be9eb398eab&
18:39:30 <xarick> jgrpp fails the "several" regression test suite
18:39:58 <xarick> openttd-jgrpp-0.68.1-windows-win64
18:40:03 <xarick> this one
18:41:01 <xarick> the fix is easy, I assume
18:42:36 <xarick> again, line 740
18:43:17 <xarick> <https://github.com/JGRennison/OpenTTD-patches/blob/jgrpp/src/script/api/script_list.cpp#L740>
18:43:17 <xarick> change to `if (this->initialized) this->sorter->Remove(item);`
18:43:58 <xarick> how buildable is jgrpp source code with visual studio?
18:44:26 <xarick> haven't tried building
18:45:29 <xarick> gonna try
18:52:17 <andythenorth> jgrpp builds trivially on mac, identical to main
18:52:58 <peter1138> "Identical"
18:53:39 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1439689896414675004/image.png?ex=691b6f33&is=691a1db3&hm=a30ae14bc4bc08badde0c4b6caa52ce4df217f045d9950381e66ba98abb177a2&
18:53:39 <xarick> eh... almost at first try
18:56:30 <_jgr_> xarick: If this is merged into master I'll make any adjustments required when it comes to merging it into my branch
18:57:44 <xarick> it doesn't crash mac
18:57:48 <xarick> so that's a plus
18:59:12 <_glx_> xarick: somehow missing libs
18:59:18 *** gelignite has joined #openttd
19:00:13 <_glx_> vcpkg should have detected them, unless you forgot to configure vcpkg
19:00:37 <xarick> i just clone repository, then open folder and build
19:00:48 <xarick> didn't do any vcpkg
19:01:15 <_glx_> no need to copy vcpkg, but you need the set VCPKG_* vars for cmake
19:01:21 <_glx_> in presets
19:02:32 <_glx_> usual CMAKE_TOOLCHAIN_FILE and VCPKG_TARGET_TRIPLET
19:03:27 <_glx_> same as master
19:11:36 *** Borg has quit IRC (Quit: leaving)
19:25:29 <peter1138> Meep.
19:30:05 <peter1138> Okay, SwapList ... should we just reset iterators?
19:30:39 <peter1138> Or should we try to support swapping lists and iterating. Seems mad.
19:30:50 <peter1138> But the code looks like it attempted it.
19:39:46 <xarick> oh no
19:39:58 <xarick> jgrpp has made some additional changes
19:41:27 <xarick> ah
19:41:37 <xarick> <https://github.com/JGRennison/OpenTTD-patches/commit/632f3986f40d64a3650cee14dca8e68dcb17af83>
19:42:07 <xarick> if i undo this, it may pass the "several" tests
19:42:11 <xarick> gonna test
19:51:00 <xarick> nice! it finally passes
19:57:50 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14648: Feature: Increase rail and road type limit. https://github.com/OpenTTD/OpenTTD/pull/14648
19:58:39 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1439706254774767646/message.txt?ex=691b7e6f&is=691a2cef&hm=04b1367de83ed96278fd53eb5e418abebf54e321df38d2f20de5d3e6373bc3d2&
20:00:16 * andythenorth me plans more railtypes
20:00:26 <andythenorth> 50 shades of red
20:03:26 <audigex> Rails are rarely red
20:05:41 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1439708022464057374/image.png?ex=691b8015&is=691a2e95&hm=5e44e35fd8446a825514a0fdced46cc81a989ad338fd45c4d8e8cbf374c7dc4d&
20:05:41 <xarick> unanimous pass with safe btree map/set!
20:06:55 <xarick> btw why don't you have a windows (Clang) job?
20:07:12 <xarick> costs money?
20:07:55 <peter1138> https://23.social/@leyrer/115559137012685196
20:13:44 <xarick> peter1138: yes
20:14:07 <xarick> seems to be a std::map issue
20:14:33 <xarick> only windows got it right
20:18:03 <_jgr_> xarick: It will be replaced by 14753 as and when that is merged
20:23:48 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1439712581408526376/image.png?ex=691b8453&is=691a32d3&hm=89196c015d33e26a125981504049eb2e4a75898c21a34e177cc9dcb4f741c4b2&
20:23:48 <xarick> clang gcc?
20:23:56 <xarick> aren't they separate
20:27:03 <Rubidium> xarick: what does https://www.whatismybrowser.com/detect/what-is-my-user-agent/ say your 'user agent' is?
20:28:04 <xarick> Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0
20:32:19 <Rubidium> now... why is it that monstrosity? Because browsers are trying to tell that they're behaving like another browser, mostly for backward compat. Similarly clang is actively trying to be gcc-alike so it could be easily used instead of gcc, and looking like gcc is one of those things
20:37:54 <xarick> I see
20:39:13 <xarick> where is mac crashing? <https://github.com/SamuXarick/OpenTTD/actions/runs/19411293805/job/55533052340#step:8:595>
20:43:22 <_glx_> somewhere inside DefSQNonStaticCallback
20:43:54 <xarick> it does not like my implementation of ScriptList
20:44:15 <xarick> even the station_regression fails
20:44:19 *** gelignite has quit IRC ()
20:46:00 <_glx_> both use lists
20:47:42 <xarick> case _OP_CLONE:
20:57:27 <_jgr_> xarick: I do not think that your trial and error approach is going to work for this
21:01:20 <_jgr_> You really must be aware of the iterator invalidation rules, lifetime behaviour, etc for the approach you're using in that PR
21:03:10 <xarick> :/
21:06:13 <xarick> definitely not versed on those
21:23:14 <xarick> have a vague idea what it could be
21:23:23 <xarick> but not how to fix it
21:24:58 <xarick> _glx_: seems that there were 2 crashes
21:25:04 <xarick> but the log is repeated
21:25:27 *** Flygon has joined #openttd
21:25:51 <xarick> not sure which log is it for...
21:26:03 <xarick> regression_stationlist or regression_regression
21:28:10 <talltyler> Oof, I just spent an embarrassingly long time implementing random chance from first principles using `Random()` and bitwise operation. Then I realized `Chance16()` has been sitting there the entire time waiting for me to discover it. πŸ˜›
21:30:56 <xarick> _glx_: it's the regression_regression crash log repeated twice
21:31:32 <xarick> regression_stationlist savegame has vehicles in it, and the company details show no vehicles
21:33:01 <talltyler> https://cdn.discordapp.com/attachments/1008473233844097104/1439730002743787682/swamp.png?ex=691b948d&is=691a430d&hm=ec2ec937789e563a4bbc39e531d324389d462a82b27f7ebe7b678a932a813e99&
21:33:01 <talltyler> Anyway, swamp?
21:35:31 <kuhnovic> I still think rivers need to look a bit less rectangular
21:35:56 <_glx_> xarick: not my fault if cmake runs both at the same time πŸ™‚
21:37:09 <talltyler> OpenGFX+ Landscape has some nice river curves
21:37:52 <_glx_> but yeah second regression run detects crash generated by the first run because they are running in parallel (first thing regression script does is remove any existing crash data)
21:38:40 <talltyler> https://cdn.discordapp.com/attachments/1008473233844097104/1439731421546549358/marsh.png?ex=691b95df&is=691a445f&hm=35c3440c9b90075507d7792837282c137a0150fb59ce42e35c9f5eabcbdc828c&
21:38:40 <talltyler> Also marshes πŸ™‚
21:39:34 <talltyler> PR coming once I clean up the code a bit, but the idea is to provide some more variety in generated landscapes and add interesting construction barriers/challenges
21:39:54 <talltyler> Need to get the edge feathering working again too
21:40:05 <kuhnovic> talltyler: Yes those look really good. But I like opengfx2 a lot too so I'm a bit torn πŸ˜‰
21:40:32 <talltyler> We'll just have to bother _zephyris to make us some curvy rivers πŸ˜›
21:40:35 <kuhnovic> Nice idea, I like it
21:41:07 <kuhnovic> Yup, and he was also one of the authors of OpenGFX+landscape
21:48:55 <locosage> talltyler: don't think openttd needs any more construction "challenges", it's already painful enough to build things with such archaic tools
21:49:08 <locosage> besides, your swamp is just rivers so dynamite and go on
21:54:20 <kaji_kaede> kuhnovic: There's OGFX+ Landscape Minus on the browser, if it's any help.
21:54:41 <kaji_kaede> Either way. Extra landscape variety is *very* exciting to see.
22:09:17 <peter1138> WATER_CLASS_SWAMP?
22:09:29 <mmtunligit> oh dear lord no
22:11:13 <kaji_kaede> oh dear lord YES
22:11:39 <mmtunligit> canoe GRF
22:12:01 *** acs121 has joined #openttd
22:12:01 <acs121> talltyler: Now that's really interesting
22:12:34 <mmtunligit> thats right fuckers, we're getting water vehicles that start in the year -3000 be prepared for the worst long term game of your life
22:13:01 <acs121> I've been thinking about how realistic geomorphological features could be implemented in OTTD haha
22:13:59 <talltyler> I thought about a new water class to put trees in the water, but that feels a bit of scope for the initial implementation πŸ™‚
22:14:08 <mmtunligit> multilayer map PR but the underground layers have different costs based on the type of rock
22:14:32 <kaji_kaede> talltyler: Nah. You gotta spend a week writing the code before it even compiles. That's how you know you're doing it right. :>
22:14:35 <mmtunligit> full plate techtonics sim on worldgen
22:14:41 <mmtunligit> going full dwarf fortress with it
22:14:58 <talltyler> mmtunligit: Shh, I already talked myself out of this last night πŸ˜›
22:15:04 <mmtunligit> LMFAO
22:15:13 <kaji_kaede> oh god this makes me wanna touch tree code. I'm getting stockholm syndrome from my JGRPP pull request-
22:15:13 <mmtunligit> i was making a joooooooke
22:15:24 <mmtunligit> i mean we gotta get multilayer map first
22:15:31 <mmtunligit> then we can go fuck around with it
22:15:51 <mmtunligit> im not doing shit for that kaji_kaede wayyyyy above my paygrade lol
22:15:58 <talltyler> https://cdn.discordapp.com/attachments/1008473233844097104/1439740809489678420/hole.png?ex=691b9e9e&is=691a4d1e&hm=5c94e12bd42792cef49d4a02daa59931186bae16ca4a58017553d73ea45e835d&
22:15:58 <talltyler> Fell into a rabbithole thinking about how to get rid of these silly little holes that rivers flow into
22:16:19 <acs121> mmtunligit: Subterranean airports, 100% crash rate πŸ”₯
22:16:29 <mmtunligit> right now im struggling to figure out how to make equivalent functions for saved groups as exist for items and classes in the pickerwindow
22:16:47 <mmtunligit> mainly jsut to do with what data types i need and how to get them
22:17:43 <talltyler> I have some thoughts on a recursive flood fill algorithm to find disconnected water tiles in TGP (before they even get made into tiles) and change them to land, but I need to at least get swamps into a PR before I start a new project πŸ™‚
22:17:59 <mmtunligit> i *think* its std::string but it might be std::pair and an even smaller chance its std::map but im not certain and dont know how to grab them from all the places they need grabbing
22:20:09 <peter1138> Pretty sure you don't need equivalent functions.
22:20:18 <locosage> I tried at some point to come up with a whole concept for multi-layered terrain in openttd but decided it's tmwftlb
22:21:28 <locosage> like, snow is just an optional layer above everything
22:22:11 <mmtunligit> peter1138: im talking like the buildpickergrouplist, ensureselected groupisvalid and ensureselected group is visible
22:22:24 <mmtunligit> wow i meade a mess of that
22:22:53 <locosage> then there is water stuff like ice/swamp/canal/river/ocean
22:23:04 <locosage> and that somehow combines with grass/rocks/sand/etc
22:24:21 <mmtunligit> i might not need EnsureSelectedGroupIsValid (would only get called when the current group is deleted) but i definently need the other two
22:26:07 <peter1138> Probably not. saved groups should be the same for all picker window types so don't need any type-specific handling.
22:29:58 <mmtunligit> im sure i understand what you mean, id still need to build the list at the very least no? and if you have enough groups that you can scrollaway from the currently selected one, and click another item in it, it should snap back to in view like the class list. and you wouldnt want your house groups to show up in the objects menu
22:30:04 <mmtunligit> *not sure
22:48:52 <xarick> new attempt, reverting some iterator <https://github.com/SamuXarick/OpenTTD/pull/26/checks>
22:50:00 <xarick> next step is reverting back PostErase in
22:50:04 <xarick> if it still fails
22:51:45 <xarick> yep, crashed
22:51:55 <xarick> oh well, cyas goodnight
22:53:46 <peter1138> saved items are already unique per feature, no reason to complicate it by making them not unique.
22:54:55 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:56:55 <mmtunligit> mhm, that helps me narrow down scope a bunch, thanks
23:26:13 *** Zathras_4 has joined #openttd
23:36:00 <talltyler> https://cdn.discordapp.com/attachments/1008473233844097104/1439760950881423503/dutch.png?ex=691bb160&is=691a5fe0&hm=59ccae96e0e9e991fd5a860a3d9d32bc658beb3eb5a991c92e17a1e7167846ca&
23:36:00 <talltyler> Town generation in swamps is fun
23:37:58 <kaji_kaede> Hoooly shit.
23:38:10 <kaji_kaede> I think my mind is being blown by the sheer concept of visual variety in this game.
23:40:34 <mmtunligit> talltyler: dutch town names for the swamp town is a good bit
23:42:26 <kaji_kaede> LMAO