News:

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

[Patch] Add highlight consumer/supplier button to fabinfo

Started by hreintke, August 21, 2021, 10:56:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hreintke

I always have trouble locating suppliers and consumers of a factory
This patch changes the consumer/supplier labels on the Connections tab from fabinfo dialog to buttons.

Click on the buttons highlights the consumer and or supplier factories on the map.

See attached image for example


prissi

They are usually too far away for me to see, but why not. Incorporated in r10037

Yona-TYT

Hey, it happens to me that when I focus on an object sometimes I don't get it, why not implement this to each focused object if you use the arrow button or the eye in title of the windows? .

Ranran(retired)

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

Ranran(retired)

Quote from: Ranran on August 27, 2021, 11:17:22 AMWhat appearance does this provide when in "hide all buildings" mode?
As I feared, this is not working in hide buildings mode. That is, all factories are always highlighted in red, so this feature is meaningless. What do you guys think about this?

What I came up with to deal with this
1) Display a prominent cursor over the head of the factory.
2) Add a border to the factory image. For example, display a 4px wide border in yellow like this.
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)

prissi

Just unhide buildings for this works too ... It is just a keypress.

Leartin

Quote from: Ranran on December 31, 2021, 06:29:14 AM1) Display a prominent cursor over the head of the factory.

Whether it's something needed for this issue in particular or not, I feel like a "position indication cursor" as an object similar to the floating money messages (spawns at a certain position and stays there for ~ 5 seconds, does not rescale with zoom) would be neat and could be useful in other cases as well. Eg. any go-to button could spawn such a position indicator at the very place you jump to, since it can be a hassle to find if you happen to be zoomed out; scenario-makers could spawn it for clear indication etc.