IRC logs for #openttd.dev on OFTC at 2013-10-16
⏴ go to previous day
06:23:45 *** adf88 has joined #openttd.dev
07:10:24 *** Supercheese has joined #openttd.dev
07:13:47 *** LordAro has joined #openttd.dev
07:13:47 *** ChanServ sets mode: +v LordAro
07:13:56 *** Supercheese has joined #openttd.dev
11:11:00 *** zydeco has joined #openttd.dev
12:56:31 *** Ristovski has joined #openttd.dev
13:37:55 *** zydeco has joined #openttd.dev
13:44:38 *** Sturmi has joined #openttd.dev
13:57:23 *** adf88 has joined #openttd.dev
14:29:35 *** adf88 has joined #openttd.dev
15:56:03 *** adf88 has joined #openttd.dev
16:41:48 *** adf88 has joined #openttd.dev
16:44:25 *** sturmi_ has joined #openttd.dev
16:48:41 *** sturmi_ has left #openttd.dev
17:14:54 *** ntoskrnl has joined #openttd.dev
17:57:28 *** frosch123 has joined #openttd.dev
17:57:28 *** ChanServ sets mode: +v frosch123
18:36:51 <frosch123> planetmaker: i think specs would be cleaner, when removing the weird "(Random() & 3)", and just increase the lighthouse amount by 2
18:37:36 <frosch123> the GenerateObjects codechange might be easier, if moving the lighthouse/transmitter construction (including checks) to separte funcstions first
18:37:45 <frosch123> something like TryBuildLightHouse and TryBuildTransmitter or so
18:38:09 <frosch123> if (IsTileType(tile, MP_VOID) || IsTileType(tile, MP_HOUSE) || IsTileType(tile, MP_INDUSTRY)) continue; <- i am not sure about that check
18:38:16 <frosch123> are trees not generated yet?
18:38:47 <planetmaker> Trees are last iirc
18:39:08 <frosch123> but more critical: does it try to build lighthouse/transmitter over existing ones? that might break stuff hard
18:39:29 <planetmaker> I didn't change the placement rules of those nor their logic
18:39:55 <planetmaker> at least I don't try to. Yes, it could. But it can in principle do that now, too
18:40:51 <planetmaker> more a gameplay question: we will need to allow removing neutral objects, if we want to have them built by the mapgen
18:40:56 <planetmaker> or it will suck big time
18:41:07 <planetmaker> (and that's not yet in those patches)
18:41:21 <frosch123> oh, right, that patch removes magic builldozer, doesn't it?
18:41:37 <planetmaker> no, not what you can have found
18:41:51 <planetmaker> I only thought of that later than I uploaded anything
18:42:03 <frosch123> i think if you can remove rivers, you should also be able to remove neutral objects which have no UNDESTRUCTIBLE flag
18:42:14 <frosch123> btw. what happens to objects of bankrupt companies?
18:42:51 <frosch123> well, not sure which branch is the right one
18:42:52 <planetmaker> yes, undestructable flag is what I want to honour, of course
18:43:14 <frosch123> one has newer dates, the other newer revision numbers
18:46:00 <frosch123> if (!cost.Failed()) amount--; <- i think there is also a Succeeded method
18:46:24 <planetmaker> ah, that might be nice.
18:47:01 <planetmaker> generally on that repo the newer revs should be newer. But I wonder why the temporal succession should be different :D
18:48:04 <planetmaker> but it's not yet exactly finished, missing some polish which I currently do. Like also checking the build rules with bulldozer
18:48:15 <planetmaker> I wrote that... rather late :-)
18:50:23 <planetmaker> rather got hooked up by "must finish this now" :D
18:50:30 <planetmaker> but well... polish is missing
18:50:43 <planetmaker> and yes, will out-source the lighthouse + transmitter build routines
18:57:14 <planetmaker> arg... omg... the initialization of our default objects mixes dates and costs initialization
18:57:36 <planetmaker> and now actually using that took me ages to realize that why objects are not built
19:43:41 *** Supercheese has joined #openttd.dev
20:38:39 *** adf89 has joined #openttd.dev
continue to next day ⏵