Skip to main content
Topic: Old diagonal_multiplier is 1024 or 512 ? (Read 3443 times) previous topic - next topic

Old diagonal_multiplier is 1024 or 512 ?

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 ?

Re: Old diagonal_multiplier is 1024 or 512 ?

Reply #1
The multiplier for the old version is 1024.
I tried it and it works.

Re: Old diagonal_multiplier is 1024 or 512 ?

Reply #2
Thank you, TonyBzt.
Then I will use 1024 for description text in wiki.

 

Re: Old diagonal_multiplier is 1024 or 512 ?

Reply #3
I will change the misleading comment in the source.