IRC logs for #openttd on OFTC at 2020-08-07
            
00:08:22 *** HerzogDeXtEr has quit IRC
00:17:54 *** iSoSyS has joined #openttd
00:22:19 *** MrSan has quit IRC
00:22:42 *** sla_ro|master has quit IRC
01:48:30 *** iSoSyS has quit IRC
03:37:20 *** Wormnest has quit IRC
04:25:46 *** D-HUND has joined #openttd
04:29:07 *** debdog has quit IRC
04:39:47 *** snail_UES_ has quit IRC
05:08:36 *** glx has quit IRC
05:09:55 *** Flygon has joined #openttd
07:29:05 *** andythenorth has joined #openttd
08:04:01 *** sla_ro|master has joined #openttd
09:19:57 *** andythenorth has quit IRC
09:21:05 *** andythenorth has joined #openttd
09:25:58 *** iSoSyS has joined #openttd
09:29:16 *** iSoSyS has quit IRC
10:06:58 <andythenorth> oof, the red-white livery on this was fake https://www.grf.farm/iron-horse/dev/html/slug.html
10:07:08 <andythenorth> but I just found https://live.staticflickr.com/632/22897826165_425cf3de44_b.jpg
10:14:31 <dwfreed> andythenorth: i mean, it makes sense from a design standpoint, so i'm not surprised there's a real version of it
10:15:06 <andythenorth> I've found quite a few things IRL that I invented for the game
10:15:11 <andythenorth> copying from me IMHO but eh
10:15:22 <dwfreed> great minds think alike :)
10:16:28 <andythenorth> just found the prototype for this too :P https://www.grf.farm/iron-horse/dev/html/pylon.html
11:29:30 *** tokai has joined #openttd
11:29:31 *** ChanServ sets mode: +v tokai
11:35:28 *** b_jonas has quit IRC
11:36:32 *** tokai|noir has quit IRC
11:43:31 *** dave[m] has joined #openttd
11:53:34 *** sla_ro|master has quit IRC
12:12:43 *** sla_ro|master has joined #openttd
13:19:40 *** osvaldo[m] has joined #openttd
14:18:54 <CornsMcGowan[m]> in the source, where's the file for the tram track GUI
14:18:55 <CornsMcGowan[m]> ?
14:19:33 <andythenorth> in openttd src?
14:19:38 <andythenorth> or opengfx?
14:20:14 <CornsMcGowan[m]> in openttd src
14:20:51 <andythenorth> at least some of it is in here I think https://github.com/OpenTTD/OpenTTD/blob/master/media/baseset/openttd/tramtracks.png
14:21:11 <andythenorth> might be some in here also https://github.com/OpenTTD/OpenTTD/blob/master/media/baseset/openttd/openttdgui.png
14:21:34 <CornsMcGowan[m]> oh
14:21:35 <CornsMcGowan[m]> ah*
14:21:38 <CornsMcGowan[m]> sorry my bad I mean the source code HAHA
14:21:42 <CornsMcGowan[m]> not the images
14:22:07 <CornsMcGowan[m]> seems to be lumped together with the road gui at road_gui.cpp
14:22:25 <andythenorth> might be https://github.com/OpenTTD/OpenTTD/blob/master/src/road_gui.cpp
14:23:44 <CornsMcGowan[m]> yeah thats it
14:23:55 <CornsMcGowan[m]> tram tracks seem to be encoded as just another roadtype
14:35:50 <andythenorth> they are just a roadtype
14:36:01 <andythenorth> there is a different movement model
14:52:04 *** sla_ro|master has quit IRC
15:05:50 *** nielsm has joined #openttd
15:32:26 <CornsMcGowan[m]> y'all were right, YAPF is indeed template hell
15:34:35 <FLHerne> It's the epitome of template hell
15:34:43 <FLHerne> What are you actually trying to do?
15:37:55 <CornsMcGowan[m]> trying to plan out a template class for the routeplanner patch, looking at YAPF for ideas
15:38:58 <CornsMcGowan[m]> cause the rail/road/ship planner will have some common parts (eg the A* algorithm) with their own unique node structure and path elements, i'm trying to reduce the amt of duplicate/similar code
15:46:40 <CornsMcGowan[m]> i also need to make a new icon for the tool...
15:47:23 <CornsMcGowan[m]> putting a half-size cargoflow icon over the rail sprite won't cut it for trunk, i'm guessing
15:50:36 *** sla_ro|master has joined #openttd
15:56:12 <CornsMcGowan[m]> when is OnPlaceObjectAbort() called? i don't understand the comment "The user cancelled a tile highlight mode that has been set."
16:02:47 <nielsm> when the user presses ESC, or something else calls SetObjectToPlace (or what it's called)
16:05:28 <nielsm> or the window that owns the SetObjectToPlace operation is closed
16:09:18 <CornsMcGowan[m]> ah i see, thank you :)
16:09:53 <nielsm> it will actually also be called if you call SetObjectToPlace again yourself, even with the same parameters
17:04:31 *** WormnestAndroid has quit IRC
17:04:44 *** WormnestAndroid has joined #openttd
17:23:09 *** Progman has joined #openttd
18:17:15 *** HerzogDeXtEr has joined #openttd
18:47:50 *** Flygon has quit IRC
19:17:10 *** gelignite has joined #openttd
19:28:58 *** b_jonas has joined #openttd
19:39:37 *** andythenorth has quit IRC
19:58:57 *** Wolf01 has joined #openttd
21:27:38 *** WormnestAndroid has quit IRC
21:27:55 *** WormnestAndroid has joined #openttd
21:42:58 *** urdh has quit IRC
21:45:24 *** andythenorth has joined #openttd
21:53:36 *** andythenorth_ has joined #openttd
21:59:33 *** urdh has joined #openttd
21:59:37 *** andythenorth has quit IRC
22:14:28 *** andythenorth_ has quit IRC
22:15:18 *** andythenorth has joined #openttd
22:18:28 *** andythenorth_ has joined #openttd
22:25:14 *** Progman has quit IRC
22:25:49 *** andythenorth has quit IRC
22:44:56 *** sla_ro|master has quit IRC
23:00:51 *** D-HUND is now known as debdog
23:05:52 *** WormnestAndroid has quit IRC
23:06:02 *** WormnestAndroid has joined #openttd
23:14:40 *** HerzogDeXtEr has quit IRC
23:19:24 *** gelignite has quit IRC
23:24:44 *** nielsm has quit IRC
23:49:36 *** andythenorth_ has quit IRC