[sug] Organization of lists in editor

Started by mobius, March 10, 2019, 02:53:09 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mobius

Could their be a better way to organize the items in the background, theme and style lists in the editor? In alphabetic order perhaps?? As it is; I have no idea how they are organized but finding anything is  always a chore. I know what I want but because it's in seemingly no order, or order that I understand I have to spend a long time going through the entire list to find what I want.

The theme and style lists aren't so bad; they seem to be ordered by having official sets first then ordered by author, though I still sometimes have trouble finding something especially if it's a custom set and if I'm not sure who did it. It's especially a problem in the background list. Seriously; how is this ordered? It's not alphabetical by name or author; it seems just random ??? ???
everything by me: https://www.lemmingsforums.net/index.php?topic=5982.msg96035#msg96035

"Not knowing how near the truth is, we seek it far away."
-Hakuin Ekaku

"I have seen a heap of trouble in my life, and most of it has never come to pass" - Mark Twain


namida

Styles (and the themes corresponding to them) are ordered based on the "styles.ini" file. You can modify that yourself if you prefer a specific order (you can't break things too badly here - at worst you'll mess up the order, not have missing or broken styles as a result). Any not listed in that file will go to the end of the list, I'm not sure how they're ordered - I think it may just be "the order the operating system reports the folders in".

Backgrounds, I'm not sure if there's any rules as such (probably again "the order the operating system reports them"), except that the currently selected theme's backgrounds are moved to the top of the list.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

mobius

Quote from: namida on March 10, 2019, 06:44:01 PM
Styles (and the themes corresponding to them) are ordered based on the "styles.ini" file. You can modify that yourself if you prefer a specific order (you can't break things too badly here - at worst you'll mess up the order, not have missing or broken styles as a result). Any not listed in that file will go to the end of the list, I'm not sure how they're ordered - I think it may just be "the order the operating system reports the folders in".

Backgrounds, I'm not sure if there's any rules as such (probably again "the order the operating system reports them"), except that the currently selected theme's backgrounds are moved to the top of the list.

well, what files contain the lists for the backgrounds and themes? It's not in the styles.ini And it can't be based on folder structure (my folder list isn't at all like my styles list, I have my styles folder set to ).
The theme list is the same as the styles because (well for obvious reasons I guess)

The background list is the real issue for me here. When I scroll through it only has the name of most backgrounds with no author or anything and since it's in no order; alphabetical or anything how are you supposed to find anything?
nessy
aqua_2
candies
blue_bg ... ???

Note it also can't  be based on the order of the styles because in 'nessy' is the first backgroudn in my list yet Arty's lego is the first style in my folder structure but original dirt is first in the list, but then next background is colors and fire is the next style.
everything by me: https://www.lemmingsforums.net/index.php?topic=5982.msg96035#msg96035

"Not knowing how near the truth is, we seek it far away."
-Hakuin Ekaku

"I have seen a heap of trouble in my life, and most of it has never come to pass" - Mark Twain


namida

I'm pretty sure that whatever theme you currently have selected, backgrounds for that theme appear first in the list. But I don't know what the rules are beyond that.

EDIT: From a very quick look at the source code repo, it'd appear they should be sorted alphabetically by the style's displayed-in-editor name, and when multiple exist for the same style, by the background's name.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)

namida

Commit c821e96 implements nicer background selection, similar to that of terrain pieces or objects. Some later commits fix bugs with this.
My projects
2D Lemmings: NeoLemmix (engine) | Lemmings Plus Series (level packs) | Doomsday Lemmings (level pack)
3D Lemmings: Loap (engine) | L3DEdit (level / graphics editor) | L3DUtils (replay / etc utility) | Lemmings Plus 3D (level pack)
Non-Lemmings: Commander Keen: Galaxy Reimagined (a Commander Keen fangame)