Back to Home / #openttd / 2016 / 09 / Prev Day | Next Day
#openttd IRC Logs for 2016-09-08

---Logopened Thu Sep 08 00:00:05 2016
00:09-!-supermop_ [~supermop@pool-100-37-117-73.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds]
01:50-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has joined #openttd
02:10-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds]
02:11-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has quit [Read error: Connection reset by peer]
02:27-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has joined #openttd
02:51-!-blathijs [matthijs@tika.stderr.nl] has quit [Ping timeout: 480 seconds]
03:07-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
03:09<Wolf01>o/
03:11-!-sla_ro|master [slamaster@31.5.74.162] has joined #openttd
03:25-!-blathijs [matthijs@tika.stderr.nl] has joined #openttd
03:40-!-Progman [~progman@p57A18A0B.dip0.t-ipconnect.de] has joined #openttd
03:54-!-Stimrol [~Stimrol@46.239.220.130] has quit [Quit: ZNC - http://znc.in]
03:55-!-Stimrol [~Stimrol@46.239.220.130] has joined #openttd
04:05-!-JezK_ [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has quit [Quit: :q!]
04:24-!-greeter [fresh@0001c47f.user.oftc.net] has quit [Remote host closed the connection]
04:43-!-Hirundo [~Hirundo@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
04:44-!-Hirundo [~Hirundo@188.cimarosa.openttdcoop.org] has joined #openttd
04:47-!-Ammler [~ammler@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
04:47-!-tycoondemon [~ashnohoe@D97B8CD4.cm-3-4c.dynamic.ziggo.nl] has quit []
04:48-!-Ammler [~ammler@188.cimarosa.openttdcoop.org] has joined #openttd
04:49-!-Osai [~Osai@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
04:49-!-Osai [~Osai@188.cimarosa.openttdcoop.org] has joined #openttd
04:50-!-^Spike^ [~Spike@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
04:51-!-^Spike^ [~Spike@188.cimarosa.openttdcoop.org] has joined #openttd
04:54-!-Supercheese [~Superchee@cpe-76-178-137-142.natnow.res.rr.com] has quit [Ping timeout: 480 seconds]
04:57-!-V453000 [~V453000@188.cimarosa.openttdcoop.org] has quit [Server closed connection]
04:57-!-V453000 [~V453000@188.cimarosa.openttdcoop.org] has joined #openttd
05:39-!-LadyHawk [~LadyHawk@5751e87a.skybroadband.com] has quit [Ping timeout: 480 seconds]
05:45-!-Samu [~oftc-webi@po1-84-91-250-188.netvisao.pt] has joined #openttd
05:46<Samu>hi
05:47<Samu>just found yet another situation where a dock can be blocking another dock
05:47<Samu>but this time it's not caused by my patch
05:48<Samu>thus it's also present in 1.6.1
05:50<Samu>will try to fix it
05:50<Samu>brb
06:09-!-LadyHawk [~LadyHawk@host31-54-152-61.range31-54.btcentralplus.com] has joined #openttd
06:10-!-LadyHawk is now known as Guest65
06:17<Samu>http://imgur.com/a/LokL8 - problem here
06:18<Samu>how to extract the tile paralel to axis-X
06:20<Samu>i got diagdir, hmm i think i can do this
06:20-!-Guest65 [~LadyHawk@host31-54-152-61.range31-54.btcentralplus.com] has quit [Ping timeout: 480 seconds]
06:23-!-tycoondemon [~ashnohoe@D97B8CD4.cm-3-4c.dynamic.ziggo.nl] has joined #openttd
06:36-!-Biolunar_ [Biolunar@77.8.142.246] has quit [Quit: leaving]
06:44-!-Samu [~oftc-webi@po1-84-91-250-188.netvisao.pt] has quit [Ping timeout: 480 seconds]
07:13-!-Dakkus [dakkus@ihan.ulalla.fi] has quit [Server closed connection]
07:13-!-Dakkus [dakkus@taimen.sr2.fi] has joined #openttd
07:34-!-Wolf03 [~wolf01@host49-2-dynamic.244-95-r.retail.telecomitalia.it] has joined #openttd
07:34-!-Wolf01 is now known as Guest68
07:34-!-Wolf03 is now known as Wolf01
07:40-!-Guest68 [~wolf01@0001288e.user.oftc.net] has quit [Ping timeout: 480 seconds]
07:43-!-Samu [~oftc-webi@po1-84-91-250-188.netvisao.pt] has joined #openttd
07:47<Samu>question, how do i get a specific industry tile gfx while it's under construction?
07:48<Samu>problem is the oil rig
07:49<Samu>that tile that transforms into the oil rig station has several phases
07:49<Samu>when it's under construction
07:49<Samu>is my problem
07:50<Samu>i want to prevent a dock to be placed in the docking area of the yet-to-be an oil rig station
07:50<Samu>how do I get that?
08:07-!-Samu [~oftc-webi@po1-84-91-250-188.netvisao.pt] has quit [Ping timeout: 480 seconds]
08:07-!-michi_cc [michi@00012723.user.oftc.net] has quit [Server closed connection]
08:07-!-michi_cc [~michi@00012723.user.oftc.net] has joined #openttd
08:07-!-mode/#openttd [+v michi_cc] by ChanServ
08:24-!-TinoDidriksen [~TinoDidri@tinodidriksen.com] has quit [Server closed connection]
08:25-!-TinoDidriksen [~TinoDidri@tinodidriksen.com] has joined #openttd
08:48-!-Samu [~oftc-webi@po1-84-91-250-188.netvisao.pt] has joined #openttd
08:48<Samu>bah internet
08:48<Samu>@logs
08:48<@DorpsGek>Samu: https://webster.openttdcoop.org/index.php?channel=openttd
08:54-!-KenjiE20 [~kenji@vps.longbowslair.co.uk] has quit [Server closed connection]
08:55-!-KenjiE20 [~kenji@vps.longbowslair.co.uk] has joined #openttd
09:05-!-supermop_ [~supermop@pool-100-37-117-73.nycmny.fios.verizon.net] has joined #openttd
09:10-!-luca768 [~luca768@00021443.user.oftc.net] has quit [Server closed connection]
09:11-!-luca768 [~luca768@00021443.user.oftc.net] has joined #openttd
09:12-!-womble [~mjp16@minotaur.hezmatt.org] has quit [Server closed connection]
09:12-!-womble [~mjp16@2a01:4f8:121:3431:e2e4:22bb:25f5:6cad] has joined #openttd
09:13-!-Keridos [~Keridos@2a00:5ba0:8000:64:2e0:4cff:fe23:44af] has quit [Server closed connection]
09:13-!-tokai [~tokai@00012860.user.oftc.net] has quit [Quit: c('~' )o]
09:13-!-Keridos [~Keridos@2a00:5ba0:8000:64:2e0:4cff:fe23:44af] has joined #openttd
09:13-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
09:17-!-orudge [~orudge@owenrudge.net] has joined #openttd
09:18-!-mode/#openttd [+o orudge] by ChanServ
09:23-!-supermop_ [~supermop@pool-100-37-117-73.nycmny.fios.verizon.net] has quit [Ping timeout: 480 seconds]
09:47-!-TheIJ [~rita@2a03:b0c0:0:1010::95:4001] has quit [Server closed connection]
09:47-!-TheIJ [~rita@2a03:b0c0:0:1010::95:4001] has joined #openttd
09:49-!-tokai [~tokai@00012860.user.oftc.net] has joined #openttd
09:49-!-mode/#openttd [+v tokai] by ChanServ
09:51-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has quit [Ping timeout: 480 seconds]
10:08-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has quit [Read error: Connection reset by peer]
10:14<Samu>who's a code expert here? https://paste.openttdcoop.org/pammldfgx - lines 12-17 and 20-25 are exactly equal, how do I avoid repetition?
10:16-!-idl0r [~idl0r@qasl.de] has quit [Server closed connection]
10:16-!-idl0r [~idl0r@qasl.de] has joined #openttd
10:22-!-Progman [~progman@p57A18A0B.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
10:27<Samu>can't use st for station, another st of the same name is being used afterwards
10:27<Samu>dock_adj it is
10:29<supermop>yo
10:35<Samu>hi
10:35<Samu>how do i avoid code repetition?
10:44<Samu>i'd like to GetDockOffset of a Oil Rig before the Oil Rig station is built
10:44<Samu>without getting an assert
10:45<Samu>the fucntion is assuming that the station is already there.... but it's still under construction
10:47<Samu>or if i can't get that offset
10:47<Samu>i will assume it won't change in the future
10:48<Samu>and use tilediff directly
10:48-!-kais58 is now known as kais58|AFK
10:50-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
10:50-!-mode/#openttd [+o Alberth] by ChanServ
10:52-!-kais58|AFK is now known as kais58
10:57<Samu>this could be better, i am repeating code https://paste.openttdcoop.org/pammldfgx - anyone halp!!!
11:05<_dp_>Samu, do function or loop
11:08<Samu>not sure how to do it, i've done it before, but tile_adj isn't a simple tile_adj++ thingy
11:08<Samu>i was used to i++
11:11<_dp_>Samu, you mean you only learned loops with ++? Great, go learn the rest of the language :p
11:12<_dp_>Samu, although, function is probably better in this particular case.
11:46-!-supermop_ [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
11:51-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
11:53-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has quit [Ping timeout: 480 seconds]
11:55-!-TheMask96 [martijn@envy.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
12:00-!-TheMask96 [martijn@wrath.vhost.ne2000.nl] has joined #openttd
12:10<Samu>IsTileDock vs IsDockTile, name is confusing
12:11<Samu>IsTileDock = is this tile being used for docking ships
12:11<Samu>IsDockTile - is there a dock at this tile
12:20<LordAro>heh
12:20<LordAro>as long as the doc comment on the function says as much, it's not *too* much of an issue
12:39-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has joined #openttd
12:44<Samu>'IsTileDock': not all control paths return a value openttd d:\openttd\trunk\src\station_cmd.cpp 2456
12:44<Samu>meh, i'll figure it out
12:51<Samu>TileAddByDiagDir is bugged
12:51-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
12:51<Samu>static inline TileIndex TileAddByDiagDir(TileIndex tile, DiagDirection dir)
12:51<Samu>* @param dir The direction in which we want to step
12:51<Samu>if the dir is NE
12:52<Samu>wouldn't that mean if I'm on tile 1000, I'm now on tile 999?
12:52<Samu>it is returning tile 1001
12:52<Samu>is that intended? am i misinterpreting something
12:55<Samu>nevermind, i was misinterpreting it
12:55<Samu>:(
12:57-!-supermop_ [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has quit [Ping timeout: 480 seconds]
13:01-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
13:01-!-mode/#openttd [+v glx] by ChanServ
13:19-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
13:28-!-frosch123 [~frosch@00013ce7.user.oftc.net] has joined #openttd
13:45<@Alberth>o/
13:45<frosch123>lo
14:02-!-smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
14:03-!-smoke_fumus [~smoke_fum@188.35.176.90] has quit []
14:06-!-smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
14:07-!-smoke_fumus [~smoke_fum@188.35.176.90] has quit []
14:08-!-supermop_ [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
14:14-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
14:14-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has quit [Ping timeout: 480 seconds]
14:34-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has joined #openttd
14:35<Wolf01>o/
14:36<andythenorth>o/
14:43<Samu> GetIndustryType returned 5 '\x5' unsigned char
14:43<Samu>isn't there a name for it?
14:44-!-HerzogDeXtEr [~farci@i59F6CC4D.versanet.de] has joined #openttd
14:44<Samu>OILRIG or so?
14:45-!-aard [~aard@108.134.189.109.customer.cdi.no] has joined #openttd
14:47<_dp_>So, does anyone know why road lanes coordinates are asymmetrical? Namely 5 and 9
14:48<_dp_>I would understand 5, 10 or 6, 10 but this doesn't seem to make sense
14:48<Eddi|zuHause>what do you mean?
14:48<Wolf01>|.....||...|
14:49<frosch123>because that is what looked right to some eye at some point
14:49<Wolf01>Because the original designers fucked things up a lot and we just kept the same sizes
14:49<frosch123>bridge pillars are also complete non-sense when looking at the 3d positions
14:49<_dp_>Eddi|zuHause, check roadveh_movement.h, rv goes on subcoord 5 in one direction and 9 on other
14:50<_dp_>Did anyone try changing them? Coz it screws up turns making them all different
14:50<Wolf01>It's a statemachine problem
14:50<frosch123>_dp_: also, rv width is 3
14:50<_dp_>And leads to all nonsense with roads having different lenght when travelled backwards
14:51<frosch123>so the center cannot be in the center, it needs to be on one side
14:52<Eddi|zuHause>i better stop it right here. there's only one place where this discussion can end: state machines
14:52<_dp_>frosch123, I'm talking about straight roads atm, when rv's are visually diagonal
14:52<frosch123>yes, and the bounding box has width 3
14:53<frosch123>so the offset is 1 or 2 from the borders
14:53<frosch123>anyway, orientation/lane is swapped when switching road side
14:53<frosch123>it just needs to look right for both
14:53<frosch123>so you cannot make them symmetrical, but put the remainder from centering width 3 onto the same side
14:54<V453000>DO YOU EVEN SLUG?
14:54<frosch123>i feel more snail today
14:55<Eddi|zuHause>i'm still not sure how english ended up with two different words for slug and snail
14:55<ST2>guess they didn't understood the meaning of lazyness :D
14:55<andythenorth>:o
14:56<andythenorth>other languages don’t?
14:56<V453000>every civilized language does that Eddi|zuHause
14:56<frosch123>andythenorth: it's "snail" and "naked snail" in german
14:56<Eddi|zuHause>no, the advanced german language has compound words for this stuff
14:57<+glx>"escargot" and "limace" here :)
14:57<frosch123>Eddi|zuHause: anyway, why have different names for needle trees?
14:57<_dp_>frosch123, you mean width projection on x screen axis?
14:58<frosch123>_dp_: RoadVehicle::UpdateDeltaXY
14:58<frosch123>or ctrl+b in-game
14:58<_dp_>frosch123, also it doesn's rly look right to me now, they are driving on markings :p
15:00<_dp_>frosch123, you mean update_coordinates hotkey? I probaly have it reassigned
15:00<frosch123>no, bounding boxes
15:06-!-FLHerne [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has joined #openttd
15:08-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has quit [Read error: Connection reset by peer]
15:08<_dp_>frosch123, is it accessible through menu somehow, can't get hotkey to work for some reason
15:09<frosch123>it's probably in the ? menu, when newgrf dev stuff is enabled
15:09<frosch123>the latter likely also applies to the hotkey :p
15:12<_dp_>frosch123, oh, yeah, it does
15:24-!-greeter [fresh@0001c47f.user.oftc.net] has joined #openttd
15:25-!-smoke_fumus [~smoke_fum@188.35.176.90] has joined #openttd
15:30-!-smoke_fumus [~smoke_fum@188.35.176.90] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
15:31-!-sla_ro|master [slamaster@31.5.74.162] has quit []
15:32<_dp_>http://imgur.com/a/f91Pp doesn't look right to me either way, bottom lane can really use +1 +1 ofsset imo
15:33<_dp_>if not +2
15:34<andythenorth>_dp_: for extra fun gags, try that with trams
15:34<andythenorth>try lining trams up to their tracks reliably :P
15:34<andythenorth>eh, computer says no
15:35<Samu>is this good english? * Is this tile a target for ships to get to a nearby dock?
15:38<andythenorth>is fine
15:40<_dp_>andythenorth, doesn't look any different to me http://imgur.com/a/58wYG
15:47<andythenorth>one of them doesn’t align to the rails
15:47<frosch123>cleary the tracks are in the wrong position
15:47<andythenorth>but does align to the bounding box
15:48<andythenorth>frosch123: is that definite? o_O
15:48<andythenorth>I wondered if the vehicle was in the wrong position
15:48<andythenorth>potato / potato :P
15:49<frosch123>no idea, count the pixels :)
15:49<_dp_>andythenorth, yeah, same for rvs, and that's what i'm talking about, one using coord 5 is fine and 9 looks wrong
15:50-!-aard [~aard@108.134.189.109.customer.cdi.no] has quit [Read error: Connection reset by peer]
15:51<andythenorth>_dp_: patch it and see if it looks better? o_O
15:51<_dp_>andythenorth, on it
15:52<frosch123>andythenorth: it's bogus :) unless you stick to a fixed vehicle width, it is always wrong
15:52<_dp_>andythenorth, it's not about visuals for me thought but about virtual coords making sense)
15:52<frosch123>the virtual coords are perfectly fine
15:52<_dp_>frosch123, how's that fine, all turns have different length
15:53<andythenorth>frosch123: fixed vehicle width? o_O
15:54<frosch123>ah, no, indeed, virtual are off
15:54<frosch123>vehicles would need width 4 to make it correct
15:55<frosch123>if you give them width 4, then the vehicle is from 4/16-8/16, and 8/16-12/16
15:55<frosch123>so, yeah, vehicles are too small
15:56<_dp_>frosch123, how does width matter for virtual ones? It's basically center
15:57<_dp_>frosch123, visual offsets come in later
15:58<frosch123>integers are not as easy as real numbers
15:59<frosch123>"centers" are complicated
15:59<andythenorth>odd and even? or more complicated than that?
15:59<frosch123>you get different result with using "pixel start" or "pixel center"
16:00<frosch123>i wouldn't even be able to tell whether the track is in the middle of the tile
16:01<frosch123>because i cannot tell whether the tile grid is on one tile or the other
16:01<_dp_>frosch123, well, yeah, but why do virtual coords have to deal with pixels
16:01<_dp_>frosch123, and they are wrong no matter how you treat them, as start or as center
16:01<frosch123>because virtual coords are for drawing
16:01<frosch123>frames are for movement
16:02-!-tokai|noir [~tokai@00012860.user.oftc.net] has joined #openttd
16:02-!-mode/#openttd [+v tokai|noir] by ChanServ
16:02<_dp_>frosch123, wait, what do you call virtual coords, pos_x pos_y ?
16:03<_dp_>they are used for movement
16:06<_dp_>frosch123, and even in frames some turns take 8 some 9
16:06<_dp_>or 10-11 if you consider turning hack
16:07<frosch123>short curves are 8 frames, long curves are 16 frames
16:07<frosch123>the position does not affect the movement at all
16:08<_dp_>frosch123, _roadveh_drive_data_5 short curve 9 frames
16:08<frosch123>so someone miscounted :p
16:08<_dp_>frosch123, also 19, same for long ones, some have +1
16:09-!-tokai [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
16:09<frosch123>ah well, let eddi fix it
16:10<_dp_>frosch123, it also doubles frame when turning because of articulated-vehicle-something-I-don't-understand-yet
16:11<frosch123>it doubles frames when changing orientation
16:11<frosch123>which it should do twice in every curve
16:12<_dp_>frosch123, well, yeah, it adds same to length but is still kinda weird
16:13<_dp_>frosch123, thains don't double when turning
16:14<frosch123>games are not made to be logic, but to look nice and be fun
16:14<_dp_>frosch123, how can it be fun without logic :p ^^
16:17<_dp_>also don't rly see why those have to be mutually exclusive
16:18<@Alberth>no logic is a lot more fun, figuring out how it works :p
16:19<frosch123>if someone thought it looks better if vehicles do not jump positon and jump orientation at once, then be it
16:19-!-KouDy_ [~koudy@ip4-83-240-28-102.cust.nbox.cz] has quit [Remote host closed the connection]
16:19-!-KouDy [~koudy@ip4-83-240-28-102.cust.nbox.cz] has joined #openttd
16:21<_dp_>frosch123, I think I found that someone ;)
16:21<_dp_>https://git.openttd.org/?p=trunk.git;a=commit;f=src/roadveh_cmd.cpp;h=7fcae50579f69e6d4fba8d4e9445ef5e93c1c711
16:23<_dp_>ok, mb not...
16:24-!-Supercheese [~Superchee@50-37-107-188.mscw.id.frontiernet.net] has joined #openttd
16:26-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
16:27<Samu>i need halp
16:27<Samu>https://paste.openttdcoop.org/pav92t6hl
16:27<Samu>the description needs help
16:27<Samu>i don't know what to type there
16:27<Samu>about diagdir
16:28<Samu>diagdir is optional
16:28<frosch123>i wonder whether there is a typo in the commit message, or whether it is just a scary story of searching for desyncs in arcane places, which turned out to be somewhere else
16:28-!-FLHerne [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has quit [Read error: No route to host]
16:29-!-FLHerne [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has joined #openttd
16:29<Samu>if diagdir is not provided, the function will still function
16:30<Samu>but when it finds a tile that is a target for docking, it won't care about the axis and just return true
16:30<Samu>how do I describe this in the description?
16:30<_dp_>frosch123, well, changes are clearly not related to any desyncs
16:31<_dp_>frosch123, mb it was supposed to be 5822
16:31<_dp_>https://git.openttd.org/?p=trunk.git;a=commit;f=src/roadveh_cmd.cpp;h=cc5e8bf56d47d50aa07a300c53b62bcd0d8bb681
16:32<_dp_>and here it all started
16:32<_dp_>https://git.openttd.org/?p=trunk.git;a=commit;h=838862428498b5eed46356c5037eddb8af908398
16:38<Samu> * @param diagdir Optional diagonal direction to compare its axis against
16:38<Samu>is this better?
16:38<Samu>what's the opposite of against? i really suck at english today
16:39-!-frosch123 [~frosch@00013ce7.user.oftc.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
16:39-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has quit [Quit: andythenorth]
16:40<_dp_>yeah, that will be the last one, before that it goes pretty much unchanged since r1
16:48-!-gelignite [~gelignite@x4e3122c0.dyn.telefonica.de] has joined #openttd
17:07<Samu>can someone please tell me if this description is clear? https://paste.openttdcoop.org/phhnp7qo0
17:24<Samu>oops, it's not True, it's False
17:25<Samu>fixed, plz tell me if it's clear - https://paste.openttdcoop.org/p68rqetdr
17:30<Wolf01>http://img-9gag-fun.9cache.com/photo/aXw2VX9_460sv.mp4 found the hypetrain :O
17:33-!-Supercheese [~Superchee@50-37-107-188.mscw.id.frontiernet.net] has quit [Quit: Valete omnes]
17:41-!-Netsplit charm.oftc.net <-> synthon.oftc.net quits: Smedles, Sirenia, zwamkat, Cybertinus, Long_yanG, SpComb, Sheogorath, @planetmaker, Keridos, Prof_Frink, (+117 more, use /NETSPLIT to show all of them)
17:50-!-Netsplit over, joins: funnel, dustinm`, Long_yanG, innocenat, theholyduck, Smedles, Extrems, Antheus, tneo, XeryusTC (+117 more)
17:52<Samu>uh, what error is expected when u build a dock near the oil rig station? Too close to another dock or unsuitable location?
17:53<Samu>is that station really a dock?
17:53<Samu>is the player going to understand when he gets the "too close to another dock" error?
17:54<Samu>I'm inclined towards sending the "too close to another dock" message
18:00<Wolf01>I'm reading an article and I found this: "The number one thing I could not get into my skull as a junior developer was, you cannot solve a bug without understanding an execution state that manifests it."
18:00<Eddi|zuHause>i'm assuming that second part of the video is sped up
18:01<Wolf01>I hope it too :P
18:02<Eddi|zuHause>also, i'm pretty sure i asked this before: why is it called "photo" when it's a video?
18:02<Wolf01>I think they weren't smarte enough to use 2 folders or just "media"
18:03<Wolf01>Samu, give this a read, it might help you too: http://blog.alexnaraghi.com/what-i-didnt-understand-as-a-junior-programmer
18:04-!-gelignite [~gelignite@x4e3122c0.dyn.telefonica.de] has quit [Quit: http://bit.ly/1kso8Ta]
18:05-!-Progman [~progman@p57A18A0B.dip0.t-ipconnect.de] has joined #openttd
18:17<Samu>hmm not sure what is refactor
18:17<Samu>or execution state for that matter
18:19<Wolf01>Then you should learn both
18:22<_dp_>debugging via refactoring probably won't work with openttd though
18:22-!-sim-al2 [~sim-al2@108-221-157-231.lightspeed.mmphtn.sbcglobal.net] has joined #openttd
18:22<Wolf01>No, maybe in some little cases it does
18:23-!-Gja [~Martin@93-167-84-102-static.dk.customer.tdc.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
18:27<Wolf01>'night
18:27-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
18:29<_dp_>speaking of the execution state... if articulated part is on same tile as previous one ttd thinks that vehicle is reversing
18:29-!-HerzogDeXtEr [~farci@i59F6CC4D.versanet.de] has quit [Read error: Connection reset by peer]
18:33<_dp_>... and nvm, I thought it over ^^
18:37-!-LadyHawk [~LadyHawk@5751e87a.skybroadband.com] has joined #openttd
18:47-!-Progman [~progman@p57A18A0B.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
18:48<Samu>i never know if i use static inline, or static, or inline or nothing at all
18:48<Samu>i never see any difference
18:49<Samu>btw i changed it from a bool to a CommandCost
18:50<Samu>https://paste.openttdcoop.org/pixetasle
18:51<Samu>what do I use? static inline CommandCost? static CommandCost? CommandCost? inline CommandCost?
18:51<Samu>something else?
18:52<_dp_>Samu, if static compiles use it, inline don't use
18:53<_dp_>Samu, though it's better to understand what they do
18:54<Samu>all of them compile
18:56<Samu>those guides don't teach me much
18:59<Samu>hmm the function is in the same file that will use it
18:59<Samu>so this is what inline means?
19:01<_dp_>Samu, inline is a performance hint for compiler
19:02<_dp_>Samu, now sure if modern compilers pay any attention to it whatsoever
19:03<_dp_>Samu, so just mark them static whenever possible and let compiler decide on optimizations
19:05<_dp_>same goes for const btw
19:05<Samu>alright, thx
19:06<Samu>https://paste.openttdcoop.org/pqejnxxvj - last revision, and i'm done
19:07<Samu>will post
19:11<Samu>https://www.tt-forums.net/viewtopic.php?f=33&t=75237&p=1176272#p1176272
19:11<Samu>tada!
19:14-!-Biolunar [Biolunar@x4d088ef6.dyn.telefonica.de] has joined #openttd
19:21<Samu>back to yesterday https://www.tt-forums.net/viewtopic.php?f=33&t=74253&p=1176246#p1176246
19:21<Samu>_dp_: my savegame might be useful, perhaps
19:21-!-Supercheese [~Superchee@cpe-76-178-137-142.natnow.res.rr.com] has joined #openttd
19:22<Samu>there are 2 big roads in zig-zag direction
19:22<Samu>took me a while to edit the damn map, hope it's useful
19:26<_dp_>Samu, not much, I've already found what's causing it
19:26<Samu>oh well :)
19:26<_dp_>Samu, if mb to verify once it's fixed
19:26<_dp_>if ever...
19:35<Samu>regarding road vehicles
19:36<Samu>with drive on right, going S to N seems to be the only correct travel time
19:36<Samu>when in comparison to NW <-> SE and NE <-> SW
19:36-!-FLHerne [~flh@cpc4-papw5-2-0-cust175.5-3.cable.virginm.net] has quit [Quit: There's a real world out here!]
19:50-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has joined #openttd
19:51-!-Biolunar [Biolunar@x4d088ef6.dyn.telefonica.de] has quit [Ping timeout: 480 seconds]
20:11<Samu>darn, this whole deal of docking tile stuff is a bit more complex than I thought
20:14<Samu>but i think my patch is ready to deal with it
20:14<Samu>let me confirm
20:15<Samu>yup, it's fine after all lol
20:57-!-supermop [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has joined #openttd
20:58-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has quit [Read error: Connection reset by peer]
21:03-!-supermop_ [~supermop@static-71-249-209-97.nycmny.east.verizon.net] has quit [Ping timeout: 480 seconds]
21:14-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has joined #openttd
21:15-!-ProfFrink [~proffrink@226.119.113.87.dyn.plus.net] has joined #openttd
21:21-!-Prof_Frink [~proffrink@36.31.90.146.dyn.plus.net] has quit [Ping timeout: 480 seconds]
21:21-!-ProfFrink is now known as Prof_Frink
21:26-!-Samu [~oftc-webi@po1-84-91-250-188.netvisao.pt] has quit [Quit: Page closed]
21:32-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has joined #openttd
21:45-!-ProfFrink [~proffrink@84.93.187.236] has joined #openttd
21:51-!-Prof_Frink [~proffrink@226.119.113.87.dyn.plus.net] has quit [Ping timeout: 480 seconds]
21:51-!-ProfFrink is now known as Prof_Frink
22:00-!-andythenorth [~Andy@cpc87153-aztw31-2-0-cust212.18-1.cable.virginm.net] has quit [Quit: andythenorth]
22:59-!-Flygon__ [~Flygon@203-158-37-10.dyn.iinet.net.au] has joined #openttd
23:06-!-Flygon_ [~Flygon@210-84-10-40.dyn.iinet.net.au] has quit [Ping timeout: 480 seconds]
23:10-!-Mazur [~mazur@5ED2923C.cm-7-3c.dynamic.ziggo.nl] has quit [Read error: Connection reset by peer]
23:22-!-glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
---Logclosed Fri Sep 09 00:00:06 2016