News:

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

Reverse sorting on the depot dialog

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

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran

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).
pak.256やpak.nipponのような複数タイル市内建築物があるpakセットはextendedではちゃんと遊べません。それどころかextendedの追い越し機能はバグまみれで修正が難しくなっており、都市機能および道路機能というゲーム土台部分を壊し、開発作業&コードメンテナンスの足かせになっている。それは最終的にプレイヤーの損失に他ならない。その原因は全て1人の日本人=ひめし@himeshi_hob(THleaderH)によるもの。周囲のアドバイスをガン無視して結局実装されてしまった。彼は問題を認識しつつ5年以上放置して今なおOTRPの開発を続けている。あまりにも身勝手で無責任。日本の人達はそういう事実にちゃんと目を向けるべき(´・ω・`)