Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count Vehicles in Player Station List #385

Closed
DorpsGek opened this issue Nov 5, 2006 · 1 comment
Closed

Count Vehicles in Player Station List #385

DorpsGek opened this issue Nov 5, 2006 · 1 comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Nov 5, 2006

chu opened the ticket and wrote:

This patch changes the player station list, so it displays the number of vehicles which have that station in its order list.

Technically it uses 5 counters in the station struct, named num_vehicles[5]. These counters get updated, when the StationList is resorted.

In case of an order-change, the station (re)sorting is triggered.

If there is a facility for a certain vehicle type, but not vehicle going to that station, the counter is written as a red zero.

Currently there is norma-font size used. I would prefer tinyfont, but it is almost unreadable.

Patch is attached.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/385
@DorpsGek
Copy link
Member Author

andythenorth closed the ticket.

Reason for closing: Won't implement

Nice patch, but badly aged. Wolf reviewed this and said that it had multiple code and code style problems. Closing. Thanks.


This comment was imported from FlySpray: https://bugs.openttd.org/task/385

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) wontfix patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) patch from FlySpray This issue is in fact a Patch, but imported from FlySrpay
Projects
None yet
Development

No branches or pull requests

1 participant