News:

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

[patch] Add loading time to a number of displays

Started by hreintke, September 07, 2021, 02:53:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hreintke

This patch adds loading time to

- Depot display, vehicle info
- Convoi  display, vehicle details
- List of all vehicles


THLeaderH

Could you post a screenshot to describe what you implemented?

hreintke

Sure, see attached

Ranran

I think adding a notation is a good idea because it clarifies the existence of the specification, but it may be difficult to imagine what kind of unit it is.
I mean the player thinks 1000 is how many minutes in game time. (I'm not sure about the latest specifications, but I think the unit was ms.)
I think it should be converted into in-game units that are easy for players to understand.

hreintke

Agree with the "units", thought about that also when implementing.

Did/do not now what units can/should be used, so first made this patch to show where and how to display.
Will update patch when we agree on the units and the display of thise.

Roboron

There's no documentation about it but reading old forum posts it seems that Ranran is right and the time is in milliseconds (ms).

Milliseconds is not a very friendly unit for the user to manage, so I would vote for displaying the time in seconds (s) instead.

Mariculous

yes, it's the internal tick unit, which is real-world milis in most cases.

prissi

I think one should merge the translations. Two different strings seems not really needed.

hreintke

Agree with the translations, will update those.

What is your idea about the units in which loading time should be presented ?

prissi

One could use the in game time with diffticks to string function if one does not want to use ms.

prissi

Incorporated in r10665 with unit in game time and changed for the new depot dialog.