The International Simutrans Forum


Author Topic: Show upgrade price in depot window  (Read 319 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran jp

  • *
  • Posts: 298
  • Languages: ja
Show upgrade price in depot window
« on: September 28, 2018, 11:31:25 AM »
Hi. Ranran tried a slight improvement of the depot window. (´・ω・`)

My Github branch is here.

(1) Show upgrade price in depot window
Display upgrade price next to cost in the following cases:
a) When Upgrade mode is selected
b) Only upgraded from an existing vehicle if checked "show all" and not selling mode. (It shows Lilac underbar)

Yes, I found TODO comment about this in the code. Does this work well?
This adds one translatable text.

(2) Hide obsolete checkbox option when timeline off
This is a supplement to this patch though.
These check boxes are hidden when playing with timeline off because they are meaningless then.

How about these?

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18227
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Show upgrade price in depot window
« Reply #1 on: September 28, 2018, 10:56:07 PM »
Excellent, thank you for this: this is most helpful. It is always satisfying to see "TODO" comments deleted. Now incorporated.