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

Vehicle-statistics for stations #342

Closed
DorpsGek opened this issue Sep 10, 2006 · 5 comments
Closed

Vehicle-statistics for stations #342

DorpsGek opened this issue Sep 10, 2006 · 5 comments
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

AsterixMG opened the ticket and wrote:

This patch allows the user to view statistics on how many vehicles have visited a station.

It adds a button at the bottom of the station-view-window for opening the statistics-window.
The statistics-window shows either statistics for this and last month or average, minimum, maximum statistics and the number of counted months. This can be toggled by a button in the window.

Further statistics might be added in later patches, as well as statistics for waypoints or if needed depots.
This patch should be ready to be included in trunk.

Attachments

Reported version: trunk
Operating system: All


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

AsterixMG wrote:

Attached is a version that includes saving/loading of the statistics, starting with savegame-version 34.
Note that the savegame-version is not increased to 34 by this patch, but it will start save/load whenever the savegame-version is set to 34 or above.

Other than that there is only a small change to how the GUI is drawn.

Waiting for some comments now (especially from the developers). Thanks in advance.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/342#comment527

@DorpsGek
Copy link
Member Author

AsterixMG wrote:

New version incorporating changes suggested by Darkvater.

There's one thing I would liek comments on:
STSVehicleType currently uses the same order as the finances-window, not the same order as the vehicle-types in the rest of the code.
Should I leave it as is?
Or change the order in the enum making them display in a different order than in the finances-window?
Or change enum an make a conversion of the order for the displaying?

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/342#comment529

@DorpsGek
Copy link
Member Author

TrueBrain wrote:

This idea for a patch is in fact rather nice. Too bad it is a bit outdated right now. Would it be possible for you to update it, so we can review it properly?


This comment was imported from FlySpray: https://bugs.openttd.org/task/342#comment1896

@DorpsGek
Copy link
Member Author

AsterixMG wrote:

I will look at it after new computer arrived and is properly set up, as my current one doesn't work too stable anymore... (should come this or next week)


This comment was imported from FlySpray: https://bugs.openttd.org/task/342#comment1920

@DorpsGek
Copy link
Member Author

DorpsGek commented Sep 9, 2009

Rubidium closed the ticket.

Reason for closing: Duplicate

Of #2620


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

@DorpsGek DorpsGek closed this as completed Sep 9, 2009
@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) duplicate 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