News:

Want to praise Simutrans?
Your feedback is important for us ;D.

Adjustment of message window layout

Started by Ranran(retired), December 25, 2018, 05:49:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran(retired)

Merry something again. I brought a patch.
Here is my github branch.

When I translated some game text, I noticed the collapse of the message window layout. (´・ω・`)


It does not collapse in standard.


I tried fixing the code related to this.
Many were changed like standard's.
The deleted part will take over on base_infowin_t::base_infowin_t.


This fix will widen the some information window slightly rather than the previous extended but same as the standard.
(ground info, signal info, citybuilding info by using inspection tool.)

One on the top is currently, on the middle and bottom are modified version.



I think this width is based on the Message centre window.
In citybuilding information etc. Extended has more information amount (number of lines) than standard, so it may feel that the window is large.

Is this an acceptable change? (about width)

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

jamespetts

Thank you for your work on that. The message window changes certainly seem sensible (and I will remove the manual line breaks in some of the text for these, too, since they seem now to be redundant).

I wonder whether it is possible to change the message windows without changing the width of the ground window? There is a fair bit of wasted space in the new version of that window. If this is not possible (or not possible without an unreasonable amount of work), your patch can be incorporated as it is, but it would be preferable not to have wasted space in the ground information window if we can avoid it.
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.

Ranran(retired)

#2
EDIT1:
I noticed that there was a problem with standard's way.
The size of the image is not taken into consideration, causing problems with 256 size etc. So I will make modification.

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

jamespetts

Splendid, thank you for letting me know. Testing this shows that there is only a small change in the dialogue for grounds/buildings/etc., so I have incorporated this, as the messages are much easier to read now.

Thank you for your work!
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.

Phystam

Thank you for your work! I also know this issue with 256-size pakset, but I have no time to fix.