if you would want that, you would need to save every action in memory, like if you change a value you would need to store its previous value and the address of it i guess
pegperegogaucho
it's already difficult then
pegperegogaucho
but what if you for example create a new chunk, like a new squad?
adrientd
As Spork said, implementing a Undo system would be too complex.
adrientd
For a painting program, that could be easily done by saving backups of the drawing in memory every time you perform an action, but which can increase memory usage by a lot.
adrientd
Another possibility is to write for every operation code to undo it, which means writing more code (including designing the undo system).
adrientd
For the XXL Editor there is already too many variables and data to handle compared to a paint or text editor, so doing a Undo system will be much more difficult.
pegperegogaucho
@adrientd Is adding a new ground to a sector as dangerous as adding it to the LVL?
adrientd
Adding a new ground at the sector might be ok (as it won't shift the other ground objects), but I would still be careful
adrientd
as long as you don't remove grounds
adrientd
that might be dangerous
pegperegogaucho
Well, then my extremely crazy idea will work out
pegperegogaucho
@adrientd You can't patch the polish GameModule with the XXL-Modding-Patcher-X2Alpha, right?