EasyRPG / Editor

Game editor similar to RPG Maker
https://easyrpg.org/editor/
GNU General Public License v3.0
345 stars 58 forks source link

Design API for "complex" event commands #157

Open Ghabry opened 3 years ago

Ghabry commented 3 years ago

From an editor point of view there are two types of event commands:

Basic event commands: The event only operates on there data (Currently the API only supports this)

There are two types of complex commands:

E.g. Message Command & Comment

E.g. Branches

Ghabry commented 3 years ago

Main problem here is that the widget that shows the EventCommands is very fragile. It takes pointers to event commands for each item in the tree. So a complex manipulation will have many dangling pointers and crash sooner or later. So before solving this the Event command widget must be refactored.