News:

SimuTranslator
Make Simutrans speak your language.

Old diagonal_multiplier is 1024 or 512 ?

Started by z9999, November 03, 2008, 07:14:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999

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 ?

TonyBzt

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

z9999

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

prissi

I will change the misleading comment in the source.