FWGS / xash3d-fwgs

Xash3D FWGS engine.
1.52k stars 228 forks source link

Can you sort the 'Custom Game' list alphabetically? #1641

Closed Kerr-Avon-2015 closed 3 months ago

Kerr-Avon-2015 commented 6 months ago

This game engine is great, especially for my not exactly fast laptop, but I do have a request; Would it be possible to enable the 'Custom Game' window to list the mods in alphabetical order, please? Either as standard, or via a "List all mods in alphabetical order" option on the Custom Game menu page, or as a command line setting or .ini file setting?

I have many mods, and trying to find any particular one on the Custom Game page, when they seem to be sorted at random (or at least not alphabetically) is a little irritating.

Thanks.

a1batross commented 6 months ago

That's a good idea actually. Right now it's probably sorted by the folder name.

Menu already has the needed functionality for sorting by column in a CMenuTable class. If anybody wants to contribute, just look how it's used in ServerBrowser.cpl and apply the same code to CustomGame.cpp

сб, 16 мар. 2024 г., 03:12 Kerr-Avon-2015 @.***>:

This game engine is great, especially for my not exactly fast laptop, but I do have a request; Would it be possible to enable the 'Custom Game' window to list the mods in alphabetical order, please? Either as standard, or via a "List all mods in alphabetical order" option on the Custom Game menu page, or as a command line setting or .ini file setting?

I have many mods, and trying to find any particular one on the Custom Game page, when they seem to be sorted at random (or at least not alphabetically) is a little irritating.

Thanks.

— Reply to this email directly, view it on GitHub https://github.com/FWGS/xash3d-fwgs/issues/1641, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYQTAPP5BW5M5YJTA5OBLTYYOE75AVCNFSM6AAAAABEY2KZCKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DSNRUGE3DEMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

nekonomicon commented 6 months ago

Right now it's probably sorted by the folder name.

And it's normal, but will be good to see folder names into menu.

Menu already has the needed functionality for sorting by column in a CMenuTable class. If anybody wants to contribute, just look how it's used in ServerBrowser.cpl and apply the same code to CustomGame.cpp

IMHO need to have functionality for ascending/descending sort by column name .

a1batross commented 6 months ago

It does actually have ascending/descending sort and proper UI for that. Check ServerBrowser. :)

Kerr-Avon-2015 commented 6 months ago

Thanks for the answers. I'm not a programmer, so I can't help, but hopefully someone will add this feature sometime.

On Sat, 16 Mar 2024 at 19:09, Alibek Omarov @.***> wrote:

It does actually have ascending/descending sort and proper UI for that. Check ServerBrowser. :)

— Reply to this email directly, view it on GitHub https://github.com/FWGS/xash3d-fwgs/issues/1641#issuecomment-2002092849, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5IKVY3ST4INKVDWUHEUMTYYSKGXAVCNFSM6AAAAABEY2KZCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGA4TEOBUHE . You are receiving this because you authored the thread.Message ID: @.***>