IRC logs for #openttd on OFTC at 2015-07-04
            
00:02:10 *** Phoenix_the_II has joined #openttd
00:05:38 *** wicope has quit IRC
00:12:27 *** Progman has quit IRC
00:16:07 <Terkhen> good night
00:17:49 *** Supercheese has joined #openttd
00:22:08 *** urdh has joined #openttd
00:32:22 <Supercheese> airport tiles can access the variables of the parent airport in switch blocks, right?
00:32:45 <Supercheese> switch (FEAT_AIRPORTTILES, PARENT, ...
00:52:04 <Wolf01> 'night
00:52:09 *** Wolf01 has quit IRC
01:01:59 <Supercheese> aargh, I cannot remember which airport set had the skidmarks on the runways
01:08:30 *** Geth has quit IRC
01:14:00 <Supercheese> oh it was TTRS
01:23:03 *** zeknurn has quit IRC
01:23:54 *** zeknurn has joined #openttd
02:36:27 *** KouDy_ has joined #openttd
02:36:27 *** KouDy has quit IRC
02:42:32 *** Riestat2 has quit IRC
02:58:06 *** Biolunar has joined #openttd
03:54:07 *** Flygon_ has joined #openttd
04:01:38 *** Flygon__ has quit IRC
04:16:57 *** glx has quit IRC
04:25:58 *** Pikka has joined #openttd
04:26:49 *** Biolunar_ has joined #openttd
04:33:45 *** Biolunar has quit IRC
05:39:07 *** Compu has quit IRC
05:54:00 *** Compu has joined #openttd
06:13:44 *** Compu has quit IRC
06:23:44 *** Compu has joined #openttd
06:25:06 *** Compu has quit IRC
06:31:48 *** Alberth has joined #openttd
06:31:48 *** ChanServ sets mode: +o Alberth
06:56:01 *** Eddi|zuHause has quit IRC
06:56:18 *** Eddi|zuHause has joined #openttd
06:58:13 *** Compu has joined #openttd
07:04:19 *** Fuco has quit IRC
07:06:28 *** DDR has quit IRC
07:15:09 *** smoke_fumus has quit IRC
07:16:03 *** Pokka has joined #openttd
07:17:52 <Alberth> moin
07:22:15 <Markk> Moin.
07:22:21 *** Pikka has quit IRC
07:26:14 *** Pikka has joined #openttd
07:31:19 *** Pokka has quit IRC
07:33:30 *** roidal has joined #openttd
08:04:46 <Supercheese> "Parent scopt for this feature not available" blaah
08:04:54 <Supercheese> http://newgrf-specs.tt-wiki.net/wiki/NML:Switch says I can do it
08:05:12 <Supercheese> FEAT_AIRPORTTILES > PARENT > Airport
08:05:41 * Supercheese blames NML
08:10:03 <Supercheese> soo do the specs lie? or does NML's parser lie?
08:10:11 <Supercheese> they cannot both be correct
08:15:20 *** sla_ro|master has joined #openttd
08:20:37 <Alberth> http://newgrf-specs.tt-wiki.net/wiki/VariationalAction2 feature 11 has no related object
08:21:03 <Supercheese> hmm
08:21:06 <Supercheese> specs may be lying then
08:21:23 <Supercheese> http://newgrf-specs.tt-wiki.net/wiki/NML:Switch directly contradicts that page
08:21:44 <Supercheese> says feature 11 has Airport as related
08:21:59 <Supercheese> which would be 0D it seems
08:22:18 <Supercheese> but NML itself does not think there is a related object either
08:22:43 <Alberth> above you speak of tiles
08:23:02 <Alberth> X and X_tiles are different things
08:23:14 <Supercheese> indeed
08:23:19 <Alberth> industries have a similar confusion
08:23:27 <Supercheese> I was hoping feature 11 had feature 0D as related object
08:23:33 <Supercheese> but that may not be the case
08:23:41 <Alberth> yeah, would make sense, imho
08:24:10 <Alberth> newgrfspecs say 'no', and they are defining :)
08:24:32 <Supercheese> http://newgrf-specs.tt-wiki.net/wiki/NML:Switch needs editing then
08:24:51 <Alberth> yeah I wonder how you can find who added it
08:25:23 <Supercheese> the history is truncated
08:25:27 <Supercheese> odd
08:27:25 <Alberth> foobar seems to have added it from an ancient nml version, perhaps by reverse engineering from the nml source
08:44:34 * Supercheese wonders what it would take to add support for it
08:52:13 <Alberth> make a newgrf extension proposal, get agreement from everybody, find a dev to add openttd support, find a dev to add nml support
08:52:54 <Supercheese> I was thinking more mundane things, like which function(s) to add to the header file
08:53:13 <Supercheese> to add to which header file*
08:53:21 <Alberth> make an example implementation can be helpful too
08:54:09 <Alberth> src/newgrf_airport_tiles or so
08:54:38 <Alberth> src/newgrf too, probably
08:55:06 <Alberth> but even an example implementation needs a definition in newgrf spec
08:55:20 <Alberth> or you don't know what to build
08:55:45 <Alberth> and for showcase, you might have to do some nfo coding, or extend nml
08:55:55 <Supercheese> well, essentially I'd like to add feature 0D as a related parent scope for feature 11 as mentioned earlier
08:56:08 <Alberth> yep
08:56:18 <Supercheese> so I'll work on doing that
08:56:50 <Alberth> it's quite natural, and thus has been considered before by someones, and has been rejected
08:57:10 <Alberth> the reason behind that would be interesting
08:58:18 <Alberth> but for your newgrf to be of use to anyone else, you need that feature parent relation in main stream openttd
09:06:38 <Terkhen> hello
09:07:48 <Alberth> hello T
09:37:32 *** Wolf01 has joined #openttd
09:38:49 <Wolf01> moin
09:51:41 *** roidal_ has joined #openttd
09:56:52 *** Progman has joined #openttd
09:58:34 *** roidal has quit IRC
10:09:14 *** wicope has joined #openttd
10:13:24 *** Hiddenfunstuff has joined #openttd
10:22:37 *** Celestar has joined #openttd
10:47:07 *** jottyfan has joined #openttd
10:48:23 *** Fuco has joined #openttd
10:53:21 <Alberth> hi hi
10:59:45 *** Pensacola has joined #openttd
11:08:42 *** Pensacola has quit IRC
11:13:19 *** jottyfan has quit IRC
11:34:57 *** supermop_ has joined #openttd
11:46:01 *** supermop_ has quit IRC
12:01:31 *** supermop has joined #openttd
12:01:49 *** Celestar has quit IRC
12:19:56 *** supermop has quit IRC
12:49:52 *** HerzogDeXtEr has joined #openttd
13:05:49 *** Pikka has quit IRC
13:32:52 *** Supercheese has quit IRC
13:33:27 *** Supercheese has joined #openttd
13:44:27 *** andythenorth has joined #openttd
13:44:31 <andythenorth> o/
13:44:37 <Alberth> moin
13:45:12 <andythenorth> Saturday cat
13:45:31 <Eddi|zuHause> is feeling lazy
13:45:46 <Eddi|zuHause> also: Caturday
13:47:10 <Alberth> just sleep at some tiles in the shadow
13:48:40 *** sla_ro|laptop has joined #openttd
13:49:24 * Wolf01 is preparing the lego sets for the next saturday
13:49:42 <andythenorth> ?
13:49:53 <Wolf01> http://brickset.com/article/15657/borgobrick-veneto-italy-11-12-july
13:52:04 <andythenorth> oic :)
13:52:25 <Alberth> measuring how much space is left available :)
13:54:00 * andythenorth should work on this today :P https://www.flickr.com/photos/andythenorth/14264965852/in/dateposted-public/lightbox/
13:54:16 <Wolf01> nice
13:55:03 <andythenorth> it has been work-in-progress for about 7 years :P
13:55:53 <Wolf01> have you considered to purchase the Sbrick to get rid of the iR receivers?
13:55:55 <Alberth> double mars lander :)
13:57:50 <Wolf01> https://www.youtube.com/watch?v=18pdejj1rE8&feature=player_embedded
13:59:19 <andythenorth> Wolf01: wondering about Sbrick
13:59:23 <andythenorth> dunno how much power it delivers
13:59:42 <andythenorth> to get decent performance, I need 1 battery box per 4 motors
13:59:55 <andythenorth> to get really good performance, 1 battery box per 2 motors :P
14:01:32 <andythenorth> Sbrick says 3A per channel
14:01:38 <andythenorth> not sure how that correlates to performance
14:02:17 <Alberth> doesn't a motor speficy amps ?
14:02:30 <Wolf01> http://www.philohome.com/motors/motorcomp.htm
14:02:35 <Alberth> or a battery
14:03:52 <andythenorth> to be strict, it’s not the battery boxes that are the limit in the current model
14:04:03 <andythenorth> it’s the PF receivers, which have current limiters
14:04:44 <andythenorth> but still, 2 battery boxes is better than 1
14:14:45 *** sla_ro|laptop has quit IRC
14:16:15 *** PhoenixII has joined #openttd
14:16:43 *** Phoenix_the_II has quit IRC
14:21:50 *** Pikkaphone has joined #openttd
14:22:59 <Pikkaphone> what what
14:23:35 <Alberth> lego watts, mostly
14:24:00 <Pikkaphone> fantastic
14:27:36 <andythenorth> hi hi Pikkaphone bob
14:27:55 <andythenorth> have you done roadtypes yet?
14:31:05 <andythenorth> no, me neither :P
14:49:54 *** Celestar has joined #openttd
14:58:34 *** andythenorth has quit IRC
14:59:28 *** Celestar has quit IRC
15:12:16 *** Celestar has joined #openttd
15:30:51 *** Celestar has quit IRC
15:30:58 *** sla_ro|master has quit IRC
16:02:00 *** Pikkaphone has quit IRC
16:11:51 *** Celestar has joined #openttd
16:16:14 *** liq3 has quit IRC
16:16:21 *** Celestar has quit IRC
16:25:45 *** Progman has quit IRC
16:36:35 *** HerzogDeXtEr1 has joined #openttd
16:41:12 *** smoke_fumus has joined #openttd
16:41:18 *** Celestar has joined #openttd
16:42:54 *** HerzogDeXtEr has quit IRC
17:04:21 *** Celestar has quit IRC
17:33:45 *** Celestar has joined #openttd
17:36:37 *** Celestar has quit IRC
17:39:03 *** andythenorth has joined #openttd
17:40:46 *** Ektor has joined #openttd
17:46:10 *** andythenorth has quit IRC
17:48:02 *** Celestar has joined #openttd
17:48:52 *** Celestar has left #openttd
17:50:51 <Ektor> hello, salut
17:50:59 <Alberth> hi hi
17:59:05 *** andythenorth has joined #openttd
18:03:21 *** sla_ro|master has joined #openttd
18:21:50 *** Celestar has joined #openttd
18:36:35 *** Myhorta has joined #openttd
18:55:42 *** glx has joined #openttd
18:55:42 *** ChanServ sets mode: +v glx
19:17:44 *** lobster has joined #openttd
19:19:36 *** Progman has joined #openttd
19:20:11 *** andythenorth has quit IRC
20:01:19 *** andythenorth has joined #openttd
20:01:53 *** sla_ro|master has quit IRC
20:05:51 *** andythenorth has quit IRC
20:10:58 *** sla_ro|master has joined #openttd
20:14:14 *** sla_ro|master has joined #openttd
20:35:12 *** andythenorth has joined #openttd
20:44:54 *** sla_ro|master has quit IRC
20:50:58 *** sla_ro|master has joined #openttd
20:54:49 *** andythenorth has quit IRC
20:56:15 *** rav has joined #openttd
21:00:57 <rav> I like the visual feedback when dragging autorails. When dragging autoroad, the only feedback is the highlighted squares -- it doesn't indicate which part of the road (N/E/S/W) I build by clicking in a particular spot. As a seasoned C++ developer I would like to try and implement this -- has anyone worked on a similar feature?
21:01:25 *** sla_ro|master has quit IRC
21:01:36 *** jottyfan has joined #openttd
21:01:48 <rav> I must say it was relatively easy for me to find the git repository and build and run it -- the codebase is complex but I'm slowly getting the hang it
21:09:45 <Alberth> there may be sprites available
21:10:30 <Alberth> maybe the forum has a topic about it
21:21:54 *** tokai|noir has joined #openttd
21:21:54 *** ChanServ sets mode: +v tokai|noir
21:24:55 *** tokai|mdlx has quit IRC
21:53:47 *** jottyfan has quit IRC
22:00:01 *** Ektor has quit IRC
22:09:51 <Supercheese> Hmm, maybe accessing PARENT scope in airport tiles isn't required for what I want to do...
22:11:55 *** sla_ro|master has joined #openttd
22:24:00 <Eddi|zuHause> rav: that's a feature that comes up every now and then. it SHOULD be quite easy to do, but nobody ever followed through on it
22:25:25 <rav> Eddi|zuHause: let's see how far I get tonight. so far I have the highlight changing between x-rail and y-rail depending whether the cursor is in the nw/ne/sw/se corner of the tile
22:44:35 *** Biolunar_ has quit IRC
22:47:57 *** Alberth has left #openttd
22:50:37 *** sla_ro|master has quit IRC
23:37:42 <Supercheese> if there are 32 bits of random data available, then running a hasbit check on any given bit should return true 1/32 of the time, right?
23:38:03 <Supercheese> each bit is randomly created equal?
23:46:28 <Eddi|zuHause> no. each bit returns true 1/2 of the time
23:47:56 <Eddi|zuHause> and ALL bits return true 1/4294967296 of the time
23:54:23 <rav> I'm going to bed now. For future reference, my autoroad progress is here: https://github.com/Mortal/openttd/compare/rav
23:55:38 <Supercheese> ah, yes
23:56:28 <Supercheese> so... checking hasbit(1) && hasbit(2) would be true 1/4 of the time?
23:57:06 <Supercheese> maybe I should just modulo
23:57:22 *** rav has quit IRC
23:57:26 <Supercheese> clamp to a sensible range
23:57:59 <Supercheese> extra_callback_info1 % 4 == 1
23:58:14 <Supercheese> now that should be true 25% of the time