Add search function for the campaign menu
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
Add search function for the campaign menu
I have a ton of add-on campaigns installed, and it makes it very difficult to locate a campaign when I download a new one. While some add-ons are ordered alphabetically, many are in random places. I like keeping add-ons installed because sometimes I want to view replays from the add on and they often don't work without the campaign installed.
It would be very nice to have either have a search box in the campaign menu, or an option to sort them (alphabetically, or by last downloaded).
It would be very nice to have either have a search box in the campaign menu, or an option to sort them (alphabetically, or by last downloaded).
Screenshot playthroughs: Let's Play Dead Water, Let's Play Invasion from the Unknown and Let's Play After the Storm
-
- Posts: 217
- Joined: December 17th, 2015, 10:27 pm
Re: Add search function for the campaign menu
What it could use is an internal manager that doesn't load assets from those Campaign add-ons until you attempt to load one of its savegames or replays. Or, you tell it to do so.
It would be nice if more add-on authors had a more modular and librarial (liberal?) approach to their work.
It would be nice if more add-on authors had a more modular and librarial (liberal?) approach to their work.
Re: Add search function for the campaign menu
I guess a simple sort-alphabetically would be very easy to add. You only need a button-widget and the associated search functionality right? And update the displayed widget in use.
I know how to do this in ruby + ruby-gnome, no idea how to do so in C++.
Perhaps we can get a C++ expert to say which files could be changed to allow for that.
I know how to do this in ruby + ruby-gnome, no idea how to do so in C++.
Perhaps we can get a C++ expert to say which files could be changed to allow for that.
Re: Add search function for the campaign menu
std::sort would do the trick - it won't be really correct, because it sorts the code points instead of having real lexical sorting, but it would be a start.