News:

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

Reverse sorting on the depot dialog

Started by Ranran(retired), July 17, 2022, 06:47:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran(retired)

I noticed that the sort option in the depot dialog in standard does not have a reverse sort button, I implemented it in extended, but I think the same one could be added to standard.

I think the following commits can be used as a reference, although the file structure is different from standard.
https://github.com/Ranran-the-JuicyPork/simutrans-extended/commit/e988e16bb6b4c7d74856f578d8baef6bfca7a1a6
https://github.com/Ranran-the-JuicyPork/simutrans-extended/commit/cbf4a0019b20406b51ae63c3c9ce2dee14ee01e0
There are a few lines that are irrelevant to the standard. Also, button_t sort_order declaration for the depot_frame.h is missing from those commits (because it is included in another commit).
ひめしという日本人が開発者達の助言を無視して自分好みの機能をextendedに"強引に"実装し、
コードをぐちゃぐちゃにしてメンテナンスを困難にし(とりわけ道路と建物関連)、
挙句にバグを大量に埋め込み、それを知らんぷりして放置し(隠居するなどと言って)別のところに逃げ隠れて自分のフォーク(OTRP)は開発を続けている
その事実と彼の無責任さに日本人プレイヤーは目を向けるべき。らんらんはそれでやる気をなくした(´・ω・`)
他人の振り見て我が振り直せ。ひめしのようにならないために、らんらんが生み出したバグや問題は自分で修正しなくちゃね(´・ω・`)