Change the Highscore List from a static Top 5 to a dynamic Top N#1009
Change the Highscore List from a static Top 5 to a dynamic Top N#1009dgruss wants to merge 5 commits into
Conversation
|
NB: the list below became a bit longer than I expected. It's something I also wanted to do at some point, so obviously I have some ideas on how I would do it, but I've tried to not let any of that bias leak into this. Couple of issues I have with this:
I'm not against the feature itself, it's just taking shortcuts and doing things slightly different from how most/everything else is doing it. Which are (among) the two things I've been working to slowly get rid of the last few years (and isn't finished by a long shot) which means in its current state, this PR will not be accepted. |
|
that makes sense. i tried to minimize the edits.... a bigger overhaul would allow to make this nicer. i'm currently still using this on my builds as it's better than nothing for me |
8a6c485 to
6d66e12
Compare
5254ea2 to
447d4b2
Compare
|
@barbeque-squared i have rewritten the entire PR based on your feedback. the code is now much cleaner and more generic, and split up into meaningful separate commits |
The number is configured via a new setting in the ini file:
[Advanced]
TopScreenSize=10
for example. I tested values up to 15. There is nothing preventing setting of higher values but depending on the theme the entries will start to overlap in the highscore.
I did not add it to the in-game configuration as it would require an immediate restart anyways (or adjust the memory allocation).