News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

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

Sirius

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

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.

Milko

Hello

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

Giuseppe

Sirius

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.

Sirius

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.