News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Destination colors Map vs Citiy info minimap

Started by Milko, May 21, 2020, 09:46:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Milko

Hello.


When I see destinations on the map and in the city information minimap, are the colors the same? I took the help (listed below) and they look slightly different.


Thank's

Mariculous

I recently had a discusion about this on stephenson-siemens.
It sems like the description of the latter is not correct, but we were not sure about it.

We guessed that the meaning of pink and purple is actually swapped.

Ranran(retired)

Quote from: Freahk on May 21, 2020, 10:44:36 PMIt sems like the description of the latter is not correct, but we were not sure about it.

We guessed that the meaning of pink and purple is actually swapped.

case too_slow:
if(city && wtyp == goods_manager_t::passengers)
{
if(car_minutes >= best_journey_time)
{
city->merke_passagier_ziel(best_bad_destination, COL_LIGHT_PURPLE);
}
else if(car_minutes < UINT32_MAX_VALUE)
{
city->merke_passagier_ziel(best_bad_destination, COL_PURPLE);
}
else
{
// This should not occur but occasionally does.
goto no_route;
}
}

I found the code but I haven't checked if it matches the description.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

Milko

Hello

But is the code of the map and that of the two minimaps city info the same?

Giuseppe

Mariculous

So it seems the description of minimaps destination layer is correct.
The description of townhalls map is also correct but less preciese and doesn't cover all cases.

jamespetts

Thank you for pointing this out: I had forgotten that the text was duplicated. I have now made the two consistent.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Mariculous

I'd further like to point out that there might be an issue with private car too slow and public transport too slow recorded data or stop stats.

On stephenson-siemens, we had noticed many stops recording "too slow", whilst we couldn't find any purple but many pink pixels on the destination layer.

That's why we first assumed these two to be swapped.

jamespetts

Quote from: Freahk on May 22, 2020, 03:57:33 PM
I'd further like to point out that there might be an issue with private car too slow and public transport too slow recorded data or stop stats.

On stephenson-siemens, we had noticed many stops recording "too slow", whilst we couldn't find any purple but many pink pixels on the destination layer.

That's why we first assumed these two to be swapped.

May I ask that this be posted as a separate bug report, or else I shall never remember that this may need looking into.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.