IRC logs for #openttd on OFTC at 2020-07-13
            
00:01:32 <nielsm> I think the memory representation of the bool might be implementation defined, but conversion from bool to int always results in 0 or 1
00:02:13 <_dp_> I was just thinking of this one: https://stackoverflow.com/questions/54120862/does-the-c-standard-allow-for-an-uninitialized-bool-to-crash-a-program
00:02:20 <_dp_> but it's a slightly different case
00:03:30 *** sla_ro|master has quit IRC
00:05:38 <_dp_> so now I'm watching for landmines every time there is a bool xD
00:05:42 <_dp_> bloody c++ :/
00:07:45 <_dp_> should I still fix those shifts though while I still remember where they are?
00:11:29 *** Samu has quit IRC
00:12:25 <nielsm> the shift of a bool would still be an implicit conversion to int (0 or 1) and then shifting that int
00:12:42 <nielsm> if the bool has an undefined value then you'd be invoking UB regardless
00:14:33 <b_jonas> hey all. can I ask questions about FIRS? in particular, with FIRS, is it still true that FIRS temperate basic is the easiest climate, FIRS arctic basic is medium, tropic basic is hard? or does FIRS do away with that? in particular, what are the condition for town growth with FIRS?
00:16:03 <Eddi|zuHause> FIRS does nothing to change town growth.
00:16:29 <_dp_> nielsm, yeah, I understand that it's correct, just still a weird thing to do imo
00:16:37 <Eddi|zuHause> and there is nothing that prevents you to use tropic basic in temperate climate
00:16:56 <argoneus> how does timetabling determine which vehicle should get which start date?
00:16:58 <b_jonas> Eddi|zuHause: I know that, I'm asking because FIRS does change the food industry
00:17:00 <argoneus> they seem to leave the depot in random order
00:17:55 <b_jonas> and yes, part of the difference between climates is the default train engines and other vehicles
00:18:02 <b_jonas> and that depends on the climate
00:18:18 <b_jonas> but the industry set and town growth can change the difficulty too
00:18:38 <nielsm> towns in arctic and tropic climates might require different cargoes to grow, rather than food and water
00:18:44 <Eddi|zuHause> again. FIRS does NOT change TOWN GROWTH
00:18:58 <b_jonas> ok
00:20:39 <_dp_> I'm actually a bit surprised there were still some ctrl-click features I didn't know xD
00:20:51 * _dp_ did grep _ctrl_pressed
00:22:04 <b_jonas> _dp_: there's actually a wiki article listing them
00:23:03 <b_jonas> _dp_: https://wiki.openttd.org/Hidden_features#Ctrl_features
00:23:15 <b_jonas> I found a few I didn't know about there too
00:23:23 <_dp_> b_jonas, it's far from being complete :p
00:23:33 <b_jonas> probably
00:23:34 <_dp_> I did grep cmclient though, it may have some extras xD
00:24:11 <b_jonas> I use a lot of ctrl features often
00:24:29 <b_jonas> that might be because I'm used to gimp, which has a lot of features bound to holding ctrl and/or shift
00:25:06 <_dp_> b_jonas, who doesn't
00:25:07 <b_jonas> plus it seems to be the only way to create shared orders or clone a vehicle sharing orders
00:25:21 <_dp_> that article is among links I usually send to completely new players xD
00:25:43 <b_jonas> also the tooltips tell about some of the ctrl features
00:25:53 <b_jonas> and there are so many that sometimes I just TIAS
00:26:00 <argoneus> is there a way to determine which vehicle will leave the depot first?
00:26:11 <argoneus> the timetable autoseparation seems broken
00:26:42 *** nielsm has quit IRC
00:26:57 <argoneus> it sets the start dates correctly but e.g. the bus that's meant to be 3rd is 1st
00:27:01 <argoneus> and blocks the others
00:27:03 <b_jonas> more about FIRS, is it possible to directly transport from a Fishing Grounds or Dredging Site industry with train or truck? or are they locked to ships only?
00:27:54 <b_jonas> also, if I'm new to FIRS, is it recommended that I try temperate basic first?
00:28:02 <b_jonas> or is one of the other two basics better?
00:30:08 <b_jonas> these docs at http://bundles.openttdcoop.org/firs/releases/LATEST/docs/html/economies.html and linked pages describing the industry sets are great, but I wish they also mentioned which cargo(es) houses consume and produce
00:31:34 *** WormnestAndroid has quit IRC
00:31:45 *** WormnestAndroid has joined #openttd
00:32:12 *** Wormnest has quit IRC
00:34:51 <b_jonas> oh, so FIRS tropic basic doesn't even have water, that must mean they've changed the town growth
00:38:08 <_dp_> if this works well it may be a good thing to do in vanilla as well: https://github.com/citymania-org/cmclient/commit/7441767ed85108d5b32c9dea1d8910f0db5a1365
00:41:17 <_dp_> I'll be experimenting with moving remove mode to shift
00:43:12 *** HerzogDeXtEr has quit IRC
00:43:14 <_dp_> b_jonas, why do you even care about those town cargos? they are so irrelevant can hardly be counted as "town growth"
00:43:32 <_dp_> they just map to newgrf cargo based on some flags
00:44:34 <b_jonas> _dp_: because towns (on non-temperate) can basically stop growing if you don't transfer them, and town growth matters. on temperate they don't matter, sure, but I'm asking about the other climates.
00:44:57 <b_jonas> _dp_: and I also care about which cargoes are produced and accepted by houses (ordinary town buildings)
00:45:53 <b_jonas> oh also, how ready is FIRS 3? should I play that instead of FIRS 2?
00:46:45 <_dp_> b_jonas, it's so ready it's almost outdated :p
00:47:03 <b_jonas> I should have downloaded that then, thank you
00:47:11 <b_jonas> I'll download now so I don't forget
00:51:49 *** milek7 has left #openttd
00:51:52 *** milek7 has joined #openttd
00:54:58 *** Progman_ has quit IRC
00:56:29 *** Wormnest has joined #openttd
00:56:29 <b_jonas> at least the in-game gui is clear enough about what a town needs for growth
00:56:39 <b_jonas> (and production and acceptance) so I can use that
01:02:24 <b_jonas> I think I'll probably stick to temperate and FIRS temperate basic at first if I try FIRS
01:02:44 <b_jonas> thank you for the answers
01:37:07 *** WormnestAndroid has quit IRC
01:37:33 *** WormnestAndroid has joined #openttd
01:48:57 *** Wormnest has quit IRC
02:28:00 *** Wormnest has joined #openttd
02:33:11 *** namad7 has joined #openttd
02:35:50 *** namad7 has quit IRC
03:03:06 *** glx has quit IRC
03:20:27 *** Wormnest has quit IRC
03:39:05 *** Wormnest has joined #openttd
03:41:03 *** cHawk- has joined #openttd
03:47:08 *** cHawk has quit IRC
03:55:50 *** Flygon has joined #openttd
04:12:12 *** WormnestAndroid has quit IRC
04:12:53 *** WormnestAndroid has joined #openttd
05:12:25 *** Wormnest has quit IRC
06:51:10 *** snail_UES_ has quit IRC
09:01:30 *** b_jonas has quit IRC
09:04:06 *** WormnestAndroid has quit IRC
09:04:12 *** andythenorth has joined #openttd
09:04:19 *** WormnestAndroid has joined #openttd
09:04:19 *** andythenorth has quit IRC
09:41:24 *** iSoSyS has joined #openttd
10:06:16 *** nielsm has joined #openttd
10:27:31 *** iSoSyS has quit IRC
10:48:54 *** sla_ro|master has joined #openttd
11:01:39 *** cHawk- has quit IRC
11:03:27 *** Smedles_ has joined #openttd
11:03:27 *** Smedles has quit IRC
11:06:02 *** Smedles has joined #openttd
11:06:03 *** Smedles_ has quit IRC
11:18:29 *** Smedles has quit IRC
11:19:24 *** Smedles has joined #openttd
11:24:07 <argoneus> is there any way to make a vehicle go the reverse order of stations automatically?
11:24:14 <argoneus> like in real life
11:24:18 <argoneus> a bus going there and back
11:24:22 <argoneus> or do you need to do it manually
11:26:27 *** Smedles has quit IRC
11:27:24 *** Smedles has joined #openttd
11:45:37 <nielsm> you need to do it manually
11:46:53 <nielsm> unless you have constructed the line such that the only possibly path from end A to end B goes through all the stations in the intended order, then you can just order the vehicle to only the two end stations and make sure the orders a NOT "non-stop", then it will implicitly stop at all stations between
11:47:14 <nielsm> that can work for trains and trams, usually not buses
12:01:26 *** sla_ro|master has quit IRC
12:03:42 *** cHawk- has joined #openttd
12:41:05 <argoneus> oki, thanks
12:46:17 <argoneus> is there a way to tell cmake not to look for sdl?
12:46:20 <argoneus> since I want a dedicated server
12:48:56 <argoneus> cmake -DDEDICATED=TRUE doesn't seem to work
12:49:30 <argoneus> oh
12:49:33 <argoneus> it's -DOPTION_DEDICATED=TRUE
14:02:13 *** argoneus has quit IRC
14:02:28 *** argoneus has joined #openttd
14:25:43 *** WormnestAndroid has quit IRC
14:25:58 *** WormnestAndroid has joined #openttd
14:37:17 *** gelignite has joined #openttd
15:11:13 *** supermop_Home has joined #openttd
15:25:54 *** snail_UES_ has joined #openttd
15:30:56 <supermop_Home> yo
16:09:29 *** tokai|noir has joined #openttd
16:09:29 *** ChanServ sets mode: +v tokai|noir
16:16:13 *** tokai has quit IRC
16:26:23 <CornsMcGowan[m]> hm of the ctrl click functions, the ones i don't know are depot + right click, remove sign, ctrl-click location to open viewport, remove desert
16:29:58 <_dp_> CornsMcGowan[m], do you know you can ctrl-click industry type in map legend to select anything but it?
16:30:08 <_dp_> CornsMcGowan[m], or ctrl-click station building tool to start it in remove mode?
16:30:33 <_dp_> CornsMcGowan[m], or ctrl-click livery types to change their colors all at once?
16:31:09 <_dp_> * disable anything but it
16:32:33 <_dp_> and I'm not even starting on scenario editor stuff :p
16:38:25 <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh merged pull request #8269: Set invalid road and tram types for rail tunnel ends https://git.io/JJOUq
16:38:47 <nielsm> speaking of scenario editor: https://github.com/OpenTTD/OpenTTD/pull/8234
16:38:47 <nielsm> :)
16:39:58 <_dp_> nielsm, you didn't add a single new ctrl-click :p
16:39:58 <_dp_> reeee
16:40:14 <nielsm> I could make ctrl-plant double the trees!!
16:40:29 <supermop_Home> oooh
16:40:45 <_dp_> actually, removing trees would make sense
16:41:09 <nielsm> hmm, as in counting down the number of trees on a tile?
16:41:10 <supermop_Home> ctrl to switch deciduous trees to conifers
16:42:35 <_dp_> nielsm, as in just removing them completely I think, at least in the game
16:43:13 <_dp_> dunno if counting trees makes any sense in se
16:43:15 <nielsm> that's just regular dynamite though, unless you mean a selective removal feature
16:43:26 <_dp_> nielsm, selective ofc
16:43:33 <_dp_> like remove mode on other tools
16:43:46 <nielsm> hmm
16:43:48 <_dp_> I'm kind of doing that right now actually
16:43:53 <_dp_> though I started with station
16:46:54 <_dp_> I separated all magic to shift key and now adding more uses for remove mode on ctrl
17:09:48 *** cHawk- has quit IRC
17:11:07 *** gelignite has quit IRC
17:32:24 *** glx has joined #openttd
17:32:24 *** ChanServ sets mode: +v glx
17:33:26 *** gelignite has joined #openttd
17:42:51 *** Wormnest has joined #openttd
17:53:04 <argoneus> wew i only found today about jgr's patch pack
17:53:15 <argoneus> a lot of these features make me wonder why they aren't in trunk
17:53:20 <argoneus> i assume performance/memory constraints
17:54:39 <argoneus> especially a patch with automatic separation and timetabling
17:54:47 <argoneus> feels so much better than what's in the main branch
18:32:12 *** sla_ro|master has joined #openttd
18:34:28 *** frosch123 has joined #openttd
18:36:18 *** Progman has joined #openttd
18:55:21 *** Flygon has quit IRC
19:02:26 *** HerzogDeXtEr has joined #openttd
19:03:54 *** HerzogDeXtEr has quit IRC
19:05:14 *** HerzogDeXtEr has joined #openttd
19:18:14 *** Wolf01 has joined #openttd
20:12:10 *** b_jonas has joined #openttd
20:47:25 *** cHawk- has joined #openttd
21:19:50 *** sla_ro|master has quit IRC
21:28:06 <frosch123> is it newgrf release season?
21:28:53 <frosch123> 3 bananas migrations in 3 days, after about 1 month of nothing
22:07:02 <_dp_> should I make it 4? xD
22:08:18 <frosch123> i guess we forgot to add "no cb" to the tos
22:08:42 * _dp_ has no cb on bananas
22:10:50 <LordAro> cb?
22:11:25 <frosch123> casus belli
22:11:54 <LordAro> i see
22:12:20 <frosch123> it's the thing you need to flame citymania, btpro, and stuff
22:13:35 <_dp_> huh?
22:14:12 <frosch123> is eddi the only one playing other games?
22:14:13 <argoneus> what's wrong with cb
22:15:10 <TrueBrain> frosch123: tnx for rebasing :D
22:15:54 <frosch123> now i can say "huh?"...
22:16:22 <TrueBrain> the last few PRs for BaNaNaS migration required a rebase before I could merge
22:16:25 <TrueBrain> this one did not :)
22:17:45 <frosch123> hmm, i thought there was a pull in the script
22:17:58 <TrueBrain> shrug
22:18:27 <frosch123> hmm, maybe "git fetch" silently fails if the ssh-key is not unlocked
22:23:08 <Eddi|zuHause> i try to avoid "no cb" wars... the -2 stab hit is annoying :p
22:37:13 *** nielsm has quit IRC
22:38:05 <DorpsGek_III> [OpenTTD/OpenTTD] larsburgerjon opened issue #8271: Crash when creating a new group https://git.io/JJ3Y6
22:41:06 <DorpsGek_III> [OpenTTD/OpenTTD] James103 commented on issue #8271: Crash when creating a new group https://git.io/JJ3Y6
22:44:18 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on issue #8271: Crash when creating a new group https://git.io/JJ3Y6
23:05:13 *** frosch123 has quit IRC
23:09:43 *** jottyfan has joined #openttd
23:14:08 *** jottyfan has quit IRC
23:14:18 *** Progman has quit IRC
23:25:30 *** Wolf01 has quit IRC
23:34:46 *** gelignite has quit IRC
23:50:40 *** Wormnest has quit IRC
23:56:02 *** HerzogDeXtEr has quit IRC
23:58:58 <b_jonas> oh nice, there's a setting to make oil displayed in cubic meters instead of liters. I'll enable that, the extra zeroes have been confusing me all the time.