IRC logs for #openttd on OFTC at 2019-12-14
            
00:00:00 *** frosch123 has quit IRC
00:00:20 *** andythenorth has left #openttd
00:07:19 *** tokai has joined #openttd
00:07:19 *** ChanServ sets mode: +v tokai
00:11:56 *** Flygon has joined #openttd
00:14:16 *** tokai|noir has quit IRC
00:17:43 *** Progman has quit IRC
00:26:48 *** Laedek has quit IRC
00:27:40 *** supermop_work has quit IRC
00:28:06 *** supermop_work has joined #openttd
00:29:47 *** Wolf01 has quit IRC
00:30:53 *** Samu has quit IRC
00:58:20 *** supermop_work has quit IRC
01:00:27 *** supermop_work has joined #openttd
01:30:42 *** supermop_work has quit IRC
01:32:40 *** supermop_work has joined #openttd
02:02:51 *** supermop_work has quit IRC
02:07:35 *** supermop_work has joined #openttd
02:33:39 *** lpx has joined #openttd
02:37:49 *** supermop_work has quit IRC
02:38:33 *** supermop_work has joined #openttd
02:46:31 *** asymptotically has quit IRC
02:59:02 *** Laedek has joined #openttd
03:08:47 *** supermop_work has quit IRC
03:09:22 *** supermop_work has joined #openttd
03:35:01 *** Thedarkb-X40 has joined #openttd
03:39:35 *** supermop_work has quit IRC
03:41:17 *** supermop_work has joined #openttd
03:51:37 *** Pikka has joined #openttd
04:11:29 *** supermop_work has quit IRC
04:13:22 *** supermop_work has joined #openttd
04:24:58 *** D-HUND has joined #openttd
04:28:22 *** debdog has quit IRC
04:43:36 *** supermop_work has quit IRC
04:44:10 *** supermop_work has joined #openttd
05:14:24 *** supermop_work has quit IRC
05:14:53 *** supermop_work has joined #openttd
05:37:54 *** glx has quit IRC
05:45:08 *** supermop_work has quit IRC
05:46:01 *** snail_UES_ has joined #openttd
05:49:09 *** supermop_work has joined #openttd
05:57:48 *** Wormnest has quit IRC
05:58:29 *** Ttech has quit IRC
05:59:57 *** Wormnest has joined #openttd
06:19:24 *** supermop_work has quit IRC
06:20:51 *** supermop_work has joined #openttd
06:33:32 *** Thedarkb-X40 has quit IRC
06:41:21 *** snail_UES_ has quit IRC
06:51:04 *** supermop_work has quit IRC
06:52:47 *** supermop_work has joined #openttd
07:23:02 *** supermop_work has quit IRC
07:24:28 *** supermop_work has joined #openttd
07:43:05 *** HerzogDeXtEr has quit IRC
07:54:41 *** supermop_work has quit IRC
07:55:55 *** supermop_work has joined #openttd
08:26:10 *** supermop_work has quit IRC
08:28:46 *** supermop_work has joined #openttd
08:38:31 *** lugo has joined #openttd
08:51:42 *** lugo has quit IRC
08:52:02 *** lugo has joined #openttd
08:56:08 *** andythenorth has joined #openttd
08:58:59 *** supermop_work has quit IRC
09:00:13 *** supermop_work has joined #openttd
09:03:44 *** Progman has joined #openttd
09:07:10 *** tokai|noir has joined #openttd
09:07:10 *** ChanServ sets mode: +v tokai|noir
09:09:12 <andythenorth> o/
09:12:13 *** D-HUND is now known as debdog
09:12:15 *** arikover has joined #openttd
09:13:06 *** Wormnest has quit IRC
09:14:10 *** tokai has quit IRC
09:16:02 *** sla_ro|master has joined #openttd
09:30:06 *** Wolf01 has joined #openttd
09:30:28 *** supermop_work has quit IRC
09:31:19 *** supermop_work has joined #openttd
09:32:04 *** Wormnest has joined #openttd
09:48:15 <andythenorth> crickets :P
09:51:30 <peter1138> Such
09:51:49 <peter1138> I broke my fast.
09:51:51 *** arikover has quit IRC
09:51:56 <peter1138> It wasn't much of a fast though.
09:54:56 <andythenorth> get breakfast done
10:01:16 *** supermop_work has quit IRC
10:02:20 *** supermop_work has joined #openttd
10:04:43 <lugo> andythenorth, so i checked out firs git repository, got nml running and now i have no clue how to go about compiling firs
10:07:16 <lugo> executing makefile doesn't really do anything :/
10:11:37 *** nielsm has joined #openttd
10:13:48 <andythenorth> have you got a python environment?
10:14:36 <lugo> yes
10:15:26 <andythenorth> ok
10:15:35 <andythenorth> do you have the firs python dependencies?
10:16:12 <andythenorth> http://bundles.openttdcoop.org/firs/releases/LATEST/docs/html/code_reference.html
10:16:22 *** nielsm has quit IRC
10:16:40 *** nielsm has joined #openttd
10:32:35 *** supermop_work has quit IRC
10:33:07 *** supermop_work has joined #openttd
10:38:57 <andythenorth> hmm FIRS makefile doesn't work
10:38:59 <andythenorth> oof
10:40:43 <peter1138> Hmm, when your server backup has gone missing again. Hmm.
10:40:52 <andythenorth> oof
10:40:55 <andythenorth> https://github.com/andythenorth/firs/blob/v4-release-track/Makefile#L73
10:41:13 <andythenorth> ^ make finds no changes when pngs have changed
10:41:33 <andythenorth> L74 is irrelevant and copied from other projects
10:41:58 <andythenorth> L74 needs deleted, but I really don't understand make, it's the most baffling development tool I've ever used
10:42:47 <andythenorth> I need nmlc to build the project if pngs have changed, but I have NFI how to do that
10:45:51 <andythenorth> I mean, this works https://github.com/andythenorth/firs/commit/f753b7e1bd5ee23d4e0dc670c77f186e433f8973
10:45:53 <andythenorth> but why?
10:45:59 <andythenorth> all I'm doing is moving string around
10:46:09 <andythenorth> this makes no sense, it's just piling crap on top of cra
10:46:10 <andythenorth> crap
11:03:22 *** supermop_work has quit IRC
11:06:09 *** supermop_work has joined #openttd
11:07:45 *** Progman has quit IRC
11:17:49 <andythenorth> well it appears to work, so eh
11:17:55 <andythenorth> 'next'
11:36:23 *** supermop_work has quit IRC
11:36:50 *** supermop_work has joined #openttd
11:57:23 *** asymptotically has joined #openttd
12:07:34 *** supermop_work has quit IRC
12:10:26 *** supermop_work has joined #openttd
12:25:42 <Pikka> oof
12:27:10 <andythenorth> bob
12:32:31 <LordAro> obo
12:34:50 <LordAro> andythenorth: FIND_FILES (presumably) returns a list of all files with the specified extensions. adding these files as "dependencies" of the GRF_FILE rule means that if any of the dependencies have changed (or have a newer timestamp) than the grf file, make will rerun the commands specified in the rule and regenerate the grf file
12:35:04 * LordAro likes make
12:40:41 *** supermop_work has quit IRC
12:42:47 *** supermop_work has joined #openttd
12:51:07 *** frosch123 has joined #openttd
13:13:06 *** supermop_work has quit IRC
13:13:34 *** supermop_work has joined #openttd
13:16:53 <andythenorth> LordAro: thanks
13:17:06 <andythenorth> I kind of get it, but it seems to work by piling on string
13:17:11 *** lugo has quit IRC
13:17:28 <andythenorth> if I want to declare dependencies I have to add more junk to the file
13:17:46 <andythenorth> I guess that's just how it works
13:19:15 *** lugo has joined #openttd
13:20:59 <LordAro> more or less, yes
13:24:25 <LordAro> the idea is that once it's set up, it only rarely needs changing after that
13:43:47 *** supermop_work has quit IRC
13:44:14 *** supermop_work has joined #openttd
13:47:41 *** tokai has joined #openttd
13:47:41 *** ChanServ sets mode: +v tokai
13:48:32 *** HerzogDeXtEr has joined #openttd
13:54:38 *** tokai|noir has quit IRC
14:01:33 *** Flygon has quit IRC
14:06:20 <lugo> now i'm right here https://www.tt-forums.net/viewtopic.php?t=41607&start=4320#p1201195
14:06:57 <lugo> should have read that before i started ;)
14:09:02 <lugo> oh there´s a FIRS 4 now, christmas is early this year :D
14:12:04 <lugo> suggestion: how about ctrl-clicking "move up"-button in newgrf-windows to move a newly added grf to the top?
14:14:25 *** supermop_work has quit IRC
14:16:11 *** supermop_work has joined #openttd
14:17:57 *** HerzogDeXtEr1 has joined #openttd
14:19:10 <Pikka> hmm I should try civi 20 with FIRS 4
14:23:36 *** HerzogDeXtEr has quit IRC
14:26:46 <andythenorth> teach it steeltown
14:28:55 <Pikka> it all seriousness, I don't want it to get into complex industrial chains. it's meant to stay out of players' way
14:29:00 <Pikka> I might teach it to fish though ;)
14:29:52 <Pikka> BTW today I fixed the "building lines to the wrong station" bug :)
14:30:33 <Pikka> it's amazing how much of a genius you feel when you solve a problem that your own stupidity created ;)
14:46:26 *** supermop_work has quit IRC
14:46:54 *** supermop_work has joined #openttd
15:17:08 *** supermop_work has quit IRC
15:17:29 *** supermop_work has joined #openttd
15:22:58 <andythenorth> Pikka: can you make it build roads to nearby industries? :P
15:23:05 <andythenorth> Migrations GS does that
15:24:23 <andythenorth> it's actually really annoying because it blocks stations, but looks really cool
15:26:50 <Eddi|zuHause> https://www.twitch.tv/eddijk <-- i'm not convinced i know what i'm doing
15:28:10 <Eddi|zuHause> also, in this game streaming drops my fps to a half
15:37:06 <Pikka> hmmmmmm
15:37:09 <Pikka> tomorrow ;)
15:37:12 *** Pikka has quit IRC
15:37:17 <Eddi|zuHause> i don't think i can stream this game
15:44:33 <Eddi|zuHause> ok, i will stop this :p
15:47:47 *** supermop_work has quit IRC
15:48:55 *** supermop_work has joined #openttd
16:01:38 *** Wormnest_ has joined #openttd
16:07:18 *** WormnestAndroid has quit IRC
16:08:05 *** Wormnest has quit IRC
16:18:14 *** Progman has joined #openttd
16:19:09 *** supermop_work has quit IRC
16:20:07 *** supermop_work has joined #openttd
16:28:46 *** WormnestAndroid has joined #openttd
16:36:11 *** glx has joined #openttd
16:36:11 *** ChanServ sets mode: +v glx
16:45:38 *** snail_UES_ has joined #openttd
16:50:21 *** supermop_work has quit IRC
16:50:56 *** supermop_work has joined #openttd
17:01:30 *** Wormnest has joined #openttd
17:03:14 <snail_UES_> just curious, anyone here uses gimp?
17:05:15 *** WormnestAndroid has quit IRC
17:06:41 <frosch123> it's the obvious choice on linux
17:07:55 *** Wormnest_ has quit IRC
17:08:34 <snail_UES_> ok, I’m trying it out for macos...
17:08:48 <snail_UES_> haven’t quite figured out how to set the palette yet
17:09:17 <frosch123> ogfx+landscape is even using gimp in the build process to compose sprites from multiple parts
17:09:43 <frosch123> snail_UES_: menu->image->mode->indexed
17:10:28 <frosch123> then load the paeltte from file (it will actually remember the last one used) and make sure to unselect "remove unused/duplicate colors"
17:11:24 <frosch123> in the toolbox you can add a tab "colormap"
17:11:46 <snail_UES_> alright, thanks… let me try it out
17:15:07 <snail_UES_> how can I add that tab in the toolbox?
17:15:45 <frosch123> do you have the toolbox opened?
17:16:32 <snail_UES_> I have a tab on the right, which looks like it
17:17:02 <frosch123> ctrl+b to open the toolbox
17:17:08 <frosch123> or menu->windows->toolbox
17:17:19 <frosch123> there are a bunch of tools at the top, and then some tabs below
17:17:32 <frosch123> the tabbox has some kind of menu-button on the right
17:17:39 <frosch123> there you can select add tab->colormap
17:18:41 <snail_UES_> oh got it
17:18:42 <snail_UES_> thanks
17:21:10 *** supermop_work has quit IRC
17:23:27 *** supermop_work has joined #openttd
17:25:23 *** WormnestAndroid has joined #openttd
17:30:48 <Wolf01> andythenorth: so it begins, BL blocking ip mocs
17:34:41 <peter1138> BL?
17:35:02 <nielsm> okay let's try TF2 as a proper free game instead of campaign
17:35:07 <nielsm> and on a large map
17:36:57 <Wolf01> <peter1138> BL? < BrickLink
17:39:45 <andythenorth> Wolf01: inevitable
17:42:13 <Wolf01> Yes but it's like... 98% of the mocs?
17:45:46 <andythenorth> ebay
17:53:41 *** supermop_work has quit IRC
17:56:44 *** supermop_work has joined #openttd
18:26:59 *** supermop_work has quit IRC
18:27:37 *** supermop_work has joined #openttd
18:57:52 *** supermop_work has quit IRC
18:58:22 *** supermop_work has joined #openttd
19:05:18 *** WormnestAndroid has quit IRC
19:05:45 *** WormnestAndroid has joined #openttd
19:11:22 <DorpsGek_III_> [OpenTTD/OpenTTD] glx22 opened pull request #7860: Fix: [MinGW] undefined references when _FORTIFY_SOURCE > 0 https://git.io/JeQZm
19:28:37 *** supermop_work has quit IRC
19:29:07 *** supermop_work has joined #openttd
19:29:17 <snail_UES_> https://www.tt-forums.net/viewtopic.php?f=67&t=84269&start=78 :D
19:44:43 <peter1138> Urgh. nVidia Surround is bollocks :/
19:55:51 <andythenorth> nice depots snail_UES_
19:56:06 <snail_UES_> thanks :)
19:59:22 *** supermop_work has quit IRC
20:01:49 *** supermop_work has joined #openttd
20:15:06 *** WormnestAndroid has quit IRC
20:16:09 *** WormnestAndroid has joined #openttd
20:27:45 *** sd has joined #openttd
20:28:01 <sd> hi
20:28:17 *** sd has quit IRC
20:32:04 *** supermop_work has quit IRC
20:35:19 *** supermop_work has joined #openttd
20:39:21 *** Wormnest has quit IRC
20:39:27 *** snail_UES_ has quit IRC
20:59:25 *** robert[m]2 has joined #openttd
21:05:33 *** supermop_work has quit IRC
21:06:21 *** supermop_work has joined #openttd
21:36:34 *** supermop_work has quit IRC
21:37:09 *** supermop_work has joined #openttd
21:40:17 <andythenorth> oof
21:43:11 <frosch123> more trees sold?
21:45:50 <andythenorth> nah thats all done
21:45:51 <andythenorth> oof tanks
21:59:28 <andythenorth> too addictive
22:04:13 <andythenorth> I should Horse or something
22:07:21 *** supermop_work has quit IRC
22:07:45 *** supermop_work has joined #openttd
22:10:33 <LordAro> andythenorth: maybe you should sell tanks
22:13:55 <andythenorth> https://tanks-alot.co.uk/product/chieftain-tank/
22:13:56 <andythenorth> ?
22:14:31 <frosch123> https://en.wikipedia.org/wiki/List_of_armoured_trains <- compromise horse and tanks?
22:18:55 <andythenorth> no war theme?
22:23:33 <nielsm> oh yes, this is a good station entrance: https://0x0.st/zUFw.jpg
22:27:21 <andythenorth> are there tanks in TF 2?
22:28:16 <nielsm> at least one of the campaign missions involve transporting munitions
22:33:05 <peter1138> There's "trains"
22:33:08 *** WormnestAndroid has quit IRC
22:33:45 *** WormnestAndroid has joined #openttd
22:35:56 <andythenorth> do they have tracks?
22:36:40 <glx> oh of course it's not team fortress :)
22:37:55 <frosch123> haha, i had the same association yesterday :)
22:37:59 *** supermop_work has quit IRC
22:38:05 <nielsm> I'm still looking for the railroading game where you have to build telegraph lines between signal posts that need to communicate, and signal posts can only control signals within reasonable distance and with line of sight or technical installations that lets them monitor the track being protected
22:38:57 <frosch123> sounds like you want a multiplayer game, where every employee must be a player
22:39:15 *** supermop_work has joined #openttd
22:39:20 <frosch123> how many brake operators do you need on early trains?
22:40:22 <peter1138> glx, oh!!
22:41:24 <peter1138> Yes, TF2 is Team Fortress 2. Sorry.
22:41:40 <peter1138> If you have some other new game, that'll have to be long hand, thanks ;p
22:42:34 <nielsm> context sensitive initialisms!
22:42:41 <nielsm> TraFe2
22:43:38 * glx added an iterator for pools
22:44:06 <nielsm> for (Train *t : _trains) ?
22:44:22 <glx> companies for now, but it seems to work
22:44:56 *** snail_UES_ has joined #openttd
22:45:47 <glx> https://github.com/OpenTTD/OpenTTD/compare/master...glx22:iterator
22:46:03 <frosch123> nielsm: c++20 ranges would allow "_vehicles | TrainFilter" or something
22:47:28 <frosch123> hmm, i guess it's tmwftlb to turn those pointers into references
22:48:10 <nielsm> frosch123, 2050 and we'll be on C++20 ? ;)
22:49:35 <nielsm> my cutest bridge: https://0x0.st/zUFR.jpg
22:49:41 <glx> oh C++17 was already an issue when I completed peter1138's cmake branch on grfcodec for MSVC
22:50:46 <glx> not very realistic bridge :)
22:50:46 <frosch123> glx: shouldn't ValidateIndex use first_unused instead of GetPoolSize?
22:50:57 <glx> it can't access it
22:51:36 <frosch123> glx: some operators have incorrect prototypes
22:51:40 <frosch123> == and != should be const
22:51:51 <frosch123> ++ should return a reference
22:52:08 <frosch123> constructor should proabably be explicit
22:52:38 <frosch123> operator* is probably const as well?
22:55:02 <frosch123> glx: ok, but should end() use GetPoolSize then?
22:56:57 <glx> PoolItem::GetPoolSize() is just a wrapper around pool first_unused
23:00:54 <frosch123> oh, i thought they were like size and capacity :)
23:09:28 *** supermop_work has quit IRC
23:09:38 <andythenorth> those pixels are quite realistic nielsm
23:09:55 <andythenorth> I can't see any tanks though
23:10:15 *** supermop_work has joined #openttd
23:10:26 <nielsm> true there's very few tank locos
23:11:39 <andythenorth> there's lots of trains in the tank game https://cdna.artstation.com/p/assets/images/images/007/451/054/large/michael-ivanov-m-ivanov-med-03.jpg?1506239327
23:11:42 <andythenorth> most maps have one
23:21:31 <andythenorth> electric planes grf? https://www.bbc.co.uk/news/business-50738983
23:26:20 *** snail_UES_ has quit IRC
23:31:43 <frosch123> yay, coal powered planes
23:40:28 *** supermop_work has quit IRC
23:41:15 <glx> hmm it will be harder with the stations
23:42:23 *** supermop_work has joined #openttd
23:44:10 <frosch123> it's the same as for vehicles
23:44:26 <glx> not tried vehicule yet :)
23:44:45 <frosch123> https://www.boost.org/doc/libs/1_66_0/libs/iterator/doc/html/iterator/specialized/filter.html
23:45:03 <frosch123> i don't think c++14 has a real solution to the problem, it's all in c++20
23:46:31 <andythenorth> frosch123: buy a wind turbine
23:46:36 <andythenorth> put them around the runway
23:46:49 <frosch123> i guess you could turn PoolIterator into a template which optionally takes a Predicate function
23:47:04 <frosch123> so you can do PoolIterator<void> to iterate over all
23:47:22 <frosch123> or PoolIterator<FilterVehicleType<VT_TRAIN>>
23:47:47 <andythenorth> I looked into wind turbines, installed cost of a good one is £3.35m
23:47:49 <frosch123> similar PoolIterator<FilterStationType<WAYPOINT>>
23:47:53 <andythenorth> out of my price range :|
23:48:30 <frosch123> andythenorth: sell shares in wind turbines :)
23:49:11 <frosch123> wind options: sell the right to get all revenue of the wind turbine on a certain day, like 2020-03-15
23:50:28 <andythenorth> the more serious option is actually buying into a wind coop :P
23:50:32 <andythenorth> it's a lot less money
23:53:01 <andythenorth> https://gridwatch.co.uk/
23:57:38 <frosch123> 12% imports