News:

Do you need help?
Simutrans Wiki Manual can help you to play and extend Simutrans. In 9 languages.

[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(retired)

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

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.