Luminol icon indicating copy to clipboard operation
Luminol copied to clipboard

Event command editing

Open Speak2Erase opened this issue 8 months ago • 0 comments

At the moment, Luminol has a pretty basic event command editor. In the past Events were preprocessed at load time to an enum of hardcoded commands. This system was clunky and generally annoying to work with (although it did yield some good results)

Currently, Luminol uses a descriptor based system to define commands rather than hardcoding them. It's a pretty basic system. There's no preprocessing of commands going on either, Luminol constructs the UI dynamically every frame based on command descriptions. This has the neat side effect that updating a command will instantly update the UI.

Unfortunately, the current approach is a bit flawed when it comes to handling event commands that "nest" other event commands underneath them, leading to weird bugs.

It's possible pre-parsing events commands into a tree of commands could solve that? Something like indextree may work.

Speak2Erase avatar Oct 16 '23 15:10 Speak2Erase