Times are UTC Toggle Colours
00:02:32 <Eddi|zuHause> turns out i hate this feeling when i get stuck in an adventure game 00:03:29 <Eddi|zuHause> at the edge of this moment where the urge to open a walkthrough rises, but not yet overcomes the feeling that would be cheating 00:10:02 *** Bobax has joined #openttd 00:10:41 <Supercheese> if you're lucky, there'll be an in-game hint system 00:11:22 <glx> sometime hint system is worse than a walkthrough 00:11:56 *** Stimrol has quit IRC 00:12:05 *** Bobax has quit IRC 00:12:55 <glx> what's the game ? 00:13:04 <glx> maybe we can help 00:24:39 <Eddi|zuHause> nah... 00:24:52 <Eddi|zuHause> i'll continue tomorrow, or so 00:34:54 *** mindlesstux has quit IRC 01:15:02 *** KouDy has quit IRC 01:21:13 *** Supercheese has quit IRC 01:29:24 *** KouDy has joined #openttd 01:37:50 *** Flygon has joined #openttd 01:38:13 *** KouDy has quit IRC 01:57:28 *** supermop has quit IRC 01:57:47 *** HerzogDeXtEr has quit IRC 02:08:35 *** Cthulhux has quit IRC 02:11:04 *** Thedarkb1 has joined #openttd 02:17:49 *** Thedarkb has quit IRC 02:19:27 *** muffindrake2 has joined #openttd 02:21:15 *** muffindrake1 has quit IRC 02:29:17 *** smoke_fumus has quit IRC 02:29:20 *** KouDy has joined #openttd 02:43:43 *** glx has quit IRC 03:20:31 *** KouDy has quit IRC 03:48:28 *** KouDy has joined #openttd 04:09:03 *** KouDy has quit IRC 04:14:50 *** KouDy has joined #openttd 04:50:00 *** rocky113844 has quit IRC 05:35:15 *** sla_ro|master has joined #openttd 05:44:16 *** synchris has joined #openttd 06:08:18 *** keoz has joined #openttd 06:23:43 *** Wacko1976 has joined #openttd 06:38:43 *** Wacko1976 has quit IRC 06:52:17 *** Alberth has joined #openttd 06:52:17 *** ChanServ sets mode: +o Alberth 06:52:21 <Alberth> o/ 07:00:21 *** andythenorth has joined #openttd 07:01:25 *** nielsm has joined #openttd 07:01:45 <andythenorth> eh when did master stop compiling :| 07:01:47 * andythenorth bisecting 07:16:41 <Alberth> :o it did? 07:17:10 <Alberth> we had some warnings introduced recently, that kills the compilation? 07:17:32 <Alberth> also, you may want use 'blame' on the offending line :p 07:21:23 <Alberth> works for me 07:32:26 <andythenorth> L702 https://github.com/OpenTTD/OpenTTD/commit/5f86e1a390b4aa9510d43f97251484ca67934f1c#diff-ebbc445f07842947d83d0f98b7fa5140 07:32:52 <andythenorth> src/economy.cpp:702:20: error: expected expression 07:32:53 <andythenorth> c->cur_economy = {}; 07:34:57 <Alberth> :O c++11 magic, probably 07:36:04 <peter1138> CI needs to enforce not-c++11? 07:39:47 <nielsm> what kind of ancient compiler are you using? 07:39:49 <nielsm> :( 07:40:08 <nielsm> but yeah it's probably because the {} invokes the "universal initialialization" rules 07:40:53 <nielsm> so the {} should really be replaced with Economy() or whatever the name is default constructor 07:41:38 <Alberth> Likely one of the fields in CompanyEconomyEntry is not a POD, so you shouldn't 0 the memory? 07:41:39 *** HerzogDeXtEr has joined #openttd 07:42:38 <Alberth> CompanyEconomyEntry has no constructor, so just CompanyEconomyEntry(); should work 07:46:09 <Alberth> or doesn;t a struct have constructors by default? 07:46:09 <Alberth> ok, it does compile with that change 07:46:51 <nielsm> yeah Money is not a POD type 07:47:06 <nielsm> because OverflowSafeInt<> has custom constructors 07:47:11 <andythenorth> FWIW Apple LLVM version 9.0.0 (clang-900.0.39.2) 07:47:33 <Alberth> other projects cast the pointer to a void* :p 07:47:55 <nielsm> that's called putting on a blindfold 07:48:07 <Alberth> c->cur_economy = CompanyEconomyEntry(); <-- andythenorth, does this work? 07:48:11 <nielsm> doesn't make the chasm disappear from around you :) 07:48:54 <Alberth> you got to introduce more sublte bugs with improved compiler bug detection, eh? :) 07:49:24 <nielsm> a little while ago I looked into trying to turn Money into a POD type but it's surprisingly hard, everywhere depends on having easy ways to put regular values into them 07:50:04 <Alberth> why did you try that? is a class wrong? 07:50:35 <nielsm> lots of things seem to assume OverflowSafeInt<> are actually POD, even though they technically aren't 07:51:06 <Alberth> ah, fair enough, and yes that sounds likely to happen 07:51:32 <nielsm> it's only by technicality since none of the constructors actually do anything interesting 07:51:46 <nielsm> so it's unlikely to cause real problems 07:51:57 <Alberth> must keep our lord busy :) 07:52:16 <nielsm> unless compilers end up making incorrect optimizations because of aliasing assumptions 07:52:59 <Alberth> they might at some point, the c++ language is moving as we speak 07:55:25 *** dvim has quit IRC 07:57:34 <andythenorth> Alberth: new error 07:57:40 <andythenorth> src/landscape.cpp:1083:9: error: non-aggregate type 'AyStar' cannot be initialized with an 07:57:41 <andythenorth> initializer list 07:57:42 <andythenorth> ;) 07:57:46 <andythenorth> so eh 07:57:58 <andythenorth> le joy 07:59:12 <Alberth> oh, different place at least :) 07:59:21 <nielsm> let's try adding a bunch of static_assert(std::is_pod<T>()); into the various custom container templates here 07:59:41 <nielsm> andythenorth for that one just remove the ={} 08:00:19 <Alberth> andy, revert to master, and run "make -k" that will try to compile all files even if there are errors. Then make an issue 08:00:29 <nielsm> since "AyStay finder;" also does default initialization 08:01:51 <Alberth> solving them one by one works too, of course :) 08:02:05 <andythenorth> ok 08:06:35 <andythenorth> hmm 08:06:44 <andythenorth> maybe there's a flag to print only errors 08:06:47 <andythenorth> not warnings 08:08:37 <Alberth> openttd does aim for a warning-less compile 08:08:50 <andythenorth> we're failing then :) 08:09:00 <Alberth> clearly :) 08:14:14 *** roidal has joined #openttd 08:15:32 <andythenorth> I need to pick out just the errors 08:15:40 <andythenorth> I'll do it manually 08:19:02 <planetmaker> o/ 08:19:08 <nielsm> welllll https://0x0.st/sfKS.txt 08:19:45 <andythenorth> hi planetmaker 08:20:55 <andythenorth> seems to be the errors https://paste.openttdcoop.org/ppjajx8dt 08:20:58 <andythenorth> warnings are many more 08:40:35 <nielsm> https://gist.github.com/nielsmh/af22db0fc00f37afc857343f333e7c2b 08:40:58 <nielsm> making ottd compile with that patch is a good summer project!! 08:46:51 <LordAro> haha 08:46:56 <planetmaker> honest question: what would be the advantage of enforcing that, nielsm? 08:47:12 <LordAro> removing autofreeptr wouldn't go amiss either 08:49:50 <nielsm> autofreeptr should probably be replaced with std::unique_ptr 08:53:01 <nielsm> moving the codebase to modern more type-safe C++ or not I'd say is a question of whether you want OTTD to be a reotro-ish game for old systems or one for new systems 08:53:56 <planetmaker> aye. thx 08:53:58 <LordAro> removing the need for pretty much all of src/core has been something i've been keen on for a while 08:54:17 <planetmaker> :) you're Mr C++11 anyway :) 08:54:34 <LordAro> lol 08:54:39 <LordAro> Mr C++14, please 08:56:13 <Alberth> you're getting younger as time progresses :p 08:57:11 <planetmaker> hehe 08:58:40 *** sla_ro|master has quit IRC 08:59:28 <Alberth> hmm, grfcodec compile fails 09:12:12 <andythenorth> :{ 09:13:43 <LordAro> nielsm: the first error i get appears to be related to SmallMap<int, QueryString*> - are pointers not acceptable to is_pod? 09:17:25 *** frosch123 has joined #openttd 09:17:29 <Alberth> o/ 09:20:23 <frosch123> moo 09:20:35 <LordAro> o/ 09:22:57 <nielsm> LordAro, pointers are supposed to be fine 09:23:14 <planetmaker> \o 09:23:35 <LordAro> nielsm: well they seem not to be, unless i'm misreading the error message 09:23:46 <LordAro> i just replaced it with a std::map anyway :) 09:23:55 <nielsm> unless SmallMap assumes the second type is a pointer that can be deref'd and free'd 09:25:46 *** WWacko1976-work has joined #openttd 09:27:07 <nielsm> ah 09:27:34 <nielsm> SmallMap<T,U> compiles to a SmallVector<SmallPair<T,U>> and SmallPair<> is not POD 09:27:43 <LordAro> ah right 09:28:56 <nielsm> but I somewhat want a "map" type that doesn't try to do anything fancy, litreally just inserts items in order, moves item from back into empty position when you remove one in the middle, and does linear search for lookups 09:29:19 <nielsm> since that really can be faster than doing hash tables or balanced trees 09:41:00 <michi_cc> andythenorth: That clang version should support c++11 AFAIK, but you might be a victim of #6773 and not getting the proper compile flags. 09:44:24 *** Progman has joined #openttd 09:44:48 <andythenorth> maybe I can apply JGR's patch 09:49:06 <Alberth> https://github.com/Alberth289346/OpenTTD/commit/c8d71848d32212a020e8dfb8b51cd90b5c1e9b64 might do the trick 09:49:28 <Alberth> AyStar is tricky, not sure if that should be allowed 09:49:58 <LordAro> shouldn't be a lot of other warnings anyway.. 09:50:06 <LordAro> my bet is on the #6773 issue 09:50:09 *** Wormnest has joined #openttd 09:50:12 * andythenorth compiling 09:51:14 <andythenorth> yeah compiles with JGR's patch 09:51:20 <andythenorth> fewer warnings also 09:51:28 <andythenorth> I haven't tried yours yet Alberth 09:51:41 <LordAro> what warnings are there? 09:52:37 <Alberth> (10:20:55) andythenorth: seems to be the errors https://paste.openttdcoop.org/ppjajx8dt 09:52:50 <nielsm> Alberth I think it's fine with AyStay, the type is not a POD (because it has non-public members) so it should have a compiler-generated default constructor, which also default-constructs all members 09:52:52 <Alberth> there are a lot more warnings, apparently 09:52:58 <andythenorth> LordAro: these all look macOS specific https://paste.openttdcoop.org/pvb5lnrj7 09:52:59 <nielsm> i.e. zero initializes them for the most part 09:53:13 <Alberth> nielsm: ok 09:53:32 <LordAro> andythenorth: ah yeah, not a lot i can do about the deprecated stuff 09:53:49 <andythenorth> and these are the others https://paste.openttdcoop.org/pbrq6lrsm 09:53:51 <LordAro> perhaps there are some ifdef stuff that could be amended 09:55:47 <nielsm> hmm, maybe I'm wrong about that 09:59:53 <nielsm> yeah it'd be better to give AyStar a user-defined constructor that initializes it properly 10:03:57 <Alberth> hmm, perhaps make a few derived classes to get rid of the C-style OO 10:04:25 <Alberth> for me, not today at least 10:07:46 *** sla_ro|master has joined #openttd 10:20:44 *** andythenorth has quit IRC 10:29:34 *** andythenorth has joined #openttd 10:33:40 *** andythenorth has quit IRC 10:51:51 *** Thedarkb1 has quit IRC 11:13:23 *** Thedarkb1 has joined #openttd 11:27:37 *** Cthulhux has joined #openttd 11:40:06 *** sla_ro|master has quit IRC 11:46:41 *** iSoSyS has joined #openttd 11:56:57 *** Thedarkb1 has quit IRC 11:57:20 *** Thedarkb1 has joined #openttd 12:00:14 *** andythenorth has joined #openttd 12:09:26 <peter1138> burp 12:09:28 <andythenorth> yo 12:10:02 <peter1138> hot day 12:11:49 <andythenorth> isn't it 12:13:01 *** Laedek has joined #openttd 12:13:05 *** qwebirc52686 has joined #openttd 12:13:27 <qwebirc52686> Hello! I can't change to currency 'Euro (EUR)' ingame.. Can anyone help? 12:18:33 <qwebirc52686> I tried to change the currency at the main menu and that works, but when I get back into the saved game it gets back to USD 12:19:00 <peter1138> Did you try changing it in game? 12:19:08 <qwebirc52686> Yes, but I could not select it 12:20:34 *** Stimrol has joined #openttd 12:23:56 <qwebirc52686> Here: https://prnt.sc/k3mwfq 12:24:46 <michi_cc> qwebirc52686: Wait for the year 2000. 12:25:04 <qwebirc52686> I'll try 12:25:56 <michi_cc> OTTD models the Euro changeover for affected currencies. 12:31:49 <peter1138> Of which, USD isn't one... 12:38:36 <nielsm> yeah if you use D-Mark or Franc or some other pre-EUR currency it just gets converted to EUR on the date 12:41:02 *** Stimrol has quit IRC 12:46:27 *** qwebirc52686 has quit IRC 12:50:36 *** Stimrol has joined #openttd 13:08:02 *** Gja has joined #openttd 13:12:05 *** stefino has joined #openttd 13:14:17 <stefino> hello. Have bridges ground sprites like buildings and can I change them? I mean ends of the bridges. 13:14:58 *** Stimrol has quit IRC 13:18:04 <stefino> I need to change them to flat grass - not 3D https://s22.postimg.cc/z1w5j9sht/V_st_i_ek.jpg 13:19:40 <nielsm> you mean the ground sprites below bridgeheads? 13:21:02 <stefino> yes :) 13:22:24 <stefino> if it has the same code logic like buildings where can I choose ground sprite what will be displayed under the building 13:23:39 <stefino> the same mechanism is at industry tiles and stations - if I remember corectly 13:26:11 *** Gja has quit IRC 13:33:06 *** sim-al2 has quit IRC 13:35:45 *** RafiX has joined #openttd 14:04:29 *** HerzogDeXtEr has quit IRC 14:06:06 *** HerzogDeXtEr has joined #openttd 14:11:04 *** techmagus has quit IRC 14:15:25 *** stefino has quit IRC 14:20:26 *** sla_ro|master has joined #openttd 14:38:54 *** Flygon has quit IRC 14:45:24 *** Progman has quit IRC 15:12:12 <Eddi|zuHause> <michi_cc> qwebirc52686: Wait for the year 2000. <-- i don't think that was the answer he was looking for. but rather he was looking for the settings menu while in the game, instead of the main menu 15:13:13 *** snail_UES_ has joined #openttd 15:15:31 *** Xaroth has joined #openttd 15:15:33 <__ln__> i'm not aware of any countries introducing the euro already in 2000. 15:17:09 *** keoz has quit IRC 15:38:19 <Eddi|zuHause> well, there was this time period where the euro was already adopted by banks and bureaucracy, before the actual coins/bills were distributed 15:38:40 <Eddi|zuHause> at that point, the exchange rates were frozen 15:38:54 <__ln__> yes, that i remember 15:39:56 <while> does that mean starting in the year 2000, speculative attacks in Europe were no longer feasible (such as Black Monday in the UK in I think 1993) 15:41:14 <Eddi|zuHause> it might have been 1999 or 1998 15:42:32 <__ln__> i think 1999 is the earliest year stamped on euro coins 15:51:13 *** Thedarkb1 has quit IRC 15:58:19 *** Mahjong1 has quit IRC 15:58:37 *** Mahjong1 has joined #openttd 16:07:12 *** Alberth has left #openttd 16:19:49 *** HerzogDeXtEr1 has joined #openttd 16:22:54 *** HerzogDeXtEr has quit IRC 16:22:54 *** nauticalnexus has quit IRC 16:22:54 *** Compu has quit IRC 16:22:54 *** Sylf has quit IRC 16:22:54 *** Sacro has quit IRC 16:22:54 *** OsteHovel has quit IRC 16:22:54 *** TinoDidriksen has quit IRC 16:24:55 *** nauticalnexus has joined #openttd 16:25:32 *** Compu has joined #openttd 16:25:32 *** TinoDidriksen has joined #openttd 16:25:32 *** Sylf has joined #openttd 16:25:32 *** Sacro has joined #openttd 16:25:32 *** OsteHovel has joined #openttd 16:25:38 *** KouDy has quit IRC 16:26:14 *** OsteHovel has quit IRC 16:26:26 *** OsteHovel has joined #openttd 16:27:12 *** synchris has quit IRC 16:28:17 <__ln__> https://ec.europa.eu/eusurvey/runner/2018-summertime-arrangements 16:28:24 *** synchris has joined #openttd 16:30:03 <planetmaker> is that server functional again? 16:33:07 <__ln__> seems to be 16:37:38 *** KouDy has joined #openttd 16:45:46 *** Stimrol has joined #openttd 16:59:10 *** Thedarkb1 has joined #openttd 17:00:29 *** Guest616 has joined #openttd 17:11:41 <andythenorth> is 64 cargo FIRS yet? o_O 17:23:19 *** andythenorth has quit IRC 17:30:12 *** Gja has joined #openttd 17:53:17 <peter1138> Is it? 17:55:55 *** Dragonidus has joined #openttd 17:59:16 *** Dragonidus has quit IRC 18:01:43 *** Gja has quit IRC 18:03:18 *** Supercheese has joined #openttd 18:12:46 <berndj> are 2x2 city blocks better than 2x3? (or even 2x4 or more) i kinda like "dense" cities and having 55% of the space taken up by roads rather than 50% seems sub-optimal 18:18:21 <planetmaker> it doesn't matter really @ berndj 18:18:52 <planetmaker> berndj, it's only important that the houses have road contact. That means that 3x3 grid might not work well. But anything 2xn works 18:19:00 <berndj> i just wish cities didn't build their own roads so bizarrely lol 18:19:10 <planetmaker> as long as there's an occasional perpendicular road :) 18:19:32 <planetmaker> berndj, there's the config option to choose the city road build pattern. Regular ones are available 18:19:35 <planetmaker> like 2x2 iirc 18:19:36 <berndj> does it have to be lateral contact? i.e. not corner contact? 18:19:50 <planetmaker> indeed. corner is no contact 18:20:01 <berndj> is build pattern newish? i haven't seen such an option, but i'm on about 1.3 or 1.4 18:20:20 <planetmaker> new... no. But 1.3 is not new either. It's 5 years old 18:20:52 <berndj> sometimes i have 3x3 blocks and just have a single-square road to get to the middle house 18:22:08 <planetmaker> (svn r12534) -Feature: Add a new type of town road layouts - random for each town 18:22:15 <planetmaker> That must be older than a decade ;) 18:25:58 <Eddi|zuHause> pretty much 18:26:17 <planetmaker> 2008 18:26:29 <planetmaker> Date: Tue Apr 1 16:27:01 2008 +0000 18:26:56 <planetmaker> skidd13... long time ago :) 18:33:20 *** Progman has joined #openttd 18:36:51 *** KouDy has quit IRC 18:44:23 *** iSoSyS has quit IRC 19:00:07 *** glx has joined #openttd 19:00:07 *** ChanServ sets mode: +v glx 19:45:28 *** _dp_ has joined #openttd 19:55:48 *** KouDy has joined #openttd 20:00:17 *** KouDy has quit IRC 20:13:31 *** rocky113844 has joined #openttd 20:14:15 *** muffindrake2 has quit IRC 20:17:06 <while> I turn off local road building, and layout the towns in a custom manor 20:17:43 <while> also lower all towns to sea level, and build canals around them, if I want to build an airport, just let in some lake, build canals as it fills my desired selection 20:17:58 <while> then bulldoze the water, and plob an airport 20:26:14 *** sla_ro|master has quit IRC 20:42:54 *** sim-al2 has joined #openttd 20:51:03 *** KouDy has joined #openttd 20:51:50 *** roidal has quit IRC 20:55:41 <Eddi|zuHause> now imagine some real world dictator would do that 20:57:08 <nielsm> hmm, I know newgrfs can change the base costs of all kinds of things, can they also change it based on year? 20:57:24 <nielsm> (or other parameters) 20:57:38 <nielsm> (maybe even based on map coordinates of the action?) 20:57:49 <Eddi|zuHause> i think it is only evaluated on game start/load 20:58:49 <Eddi|zuHause> it wouldn't be much of a "base" cost if it were different depending on location 20:59:02 <nielsm> well true 20:59:59 <peter1138> Yeah, base cost is not variable. 21:00:11 <nielsm> same for costs of bridge types 21:01:00 <nielsm> was reading random things the other day, and it might make sense to model that certain types of construction have changed relative costs depending on technology and societal norms 21:02:19 <frosch123> cost only matters in the first 10 game years though 21:02:23 <nielsm> moving large amounts of dirt was infeasible until maybe after WW2? but making huge wooden constructions was easier to get done with large groups of workers 21:02:48 <nielsm> yeah and it's sad that every builder game ends up as a sandbox after getting the base income :) 21:04:17 <frosch123> i wouldn't consider that sad :p 21:34:15 *** tokai has joined #openttd 21:34:15 *** ChanServ sets mode: +v tokai 21:36:02 *** snail_UES_ has quit IRC 21:46:20 *** nielsm has quit IRC 21:47:44 *** Lejving has joined #openttd 22:05:15 *** Supercheese has quit IRC 22:05:32 *** Supercheese has joined #openttd 22:09:46 *** synchris has quit IRC 22:37:22 *** snail_UES_ has joined #openttd 22:41:31 *** RafiX has quit IRC 22:51:19 *** RafiX has joined #openttd 22:54:02 *** frosch123 has quit IRC 23:10:05 *** Wormnest has quit IRC 23:26:21 *** tokai has quit IRC 23:30:59 *** tokai has joined #openttd 23:30:59 *** ChanServ sets mode: +v tokai