The International Simutrans Forum

Community => Simutrans Help Center => Topic started by: z9999 on November 03, 2008, 07:14:11 am

Title: Old diagonal_multiplier is 1024 or 512 ?
Post by: z9999 on November 03, 2008, 07:14:11 am
Once you said.

http://forum.simutrans.com/index.php?topic=307.msg2303#msg2303
Quote
Because the correct value was 1024 ...

But in document.

dataobj\umgebung.cc:212-215
Quote
/* multiplier (to be divided by 1024) for steps on diagonal:
 * 512: TT-like, faktor 2, vehicle will be too long and too fast
 * 724: correct one, faktor sqrt(2)
 */

pak\config\simuconf.tab:53-54
Quote
# how long is a diagonal (512: faktor 2=1024/512, old way, 724: sqrt(2)=1024/724
# THIS WILL BE ONLY USED, WHEN THIS FILE IS IN THE pakxyz/config!

Which is the correct one ?
Title: Re: Old diagonal_multiplier is 1024 or 512 ?
Post by: TonyBzt on November 03, 2008, 07:55:05 am
The multiplier for the old version is 1024.
I tried it and it works.
Title: Re: Old diagonal_multiplier is 1024 or 512 ?
Post by: z9999 on November 03, 2008, 11:52:19 am
Thank you, TonyBzt.
Then I will use 1024 for description text in wiki.
Title: Re: Old diagonal_multiplier is 1024 or 512 ?
Post by: prissi on November 03, 2008, 02:03:32 pm
I will change the misleading comment in the source.