IRC logs for #openttd.dev on OFTC at 2015-11-08
⏴ go to previous day
11:54:22 *** frosch123 has joined #openttd.dev
11:54:22 *** ChanServ sets mode: +v frosch123
13:51:25 *** adf88 has joined #openttd.dev
13:51:25 *** ChanServ sets mode: +v adf88
13:52:20 <adf88> could someone remind me
13:52:32 <adf88> what's the speed of trains on vert/horz tracks
13:52:41 <adf88> when comapred to x/y tracks?
13:52:59 <adf88> lest's say a train goes one tile per tick on x/y track
13:53:29 <adf88> what's the manhattan distance it passes on vert/horz tracks during a single tick?
13:53:33 <frosch123> return (this->direction & 1) ? 192 : 256;
13:53:53 <DorpsGek> frosch123: 1.33333333333
13:54:02 <frosch123> that's an approximation of sqrt(2)
13:54:24 <frosch123> anyway, see Vehicle::GetAdvanceDistance
15:06:26 <adf88> because 192 is related to chebyshev distance
15:06:34 <adf88> I asked about manhattan
15:08:44 <adf88> i confirmed it experimentally ;)
15:12:03 *** juzza1 has joined #openttd.dev
19:16:20 *** ChanServ sets mode: +o DorpsGek
21:57:59 *** Supercheese has joined #openttd.dev
21:57:59 *** ChanServ sets mode: +v Supercheese
continue to next day ⏵