Samapico Posted December 3, 2006 Report Posted December 3, 2006 I officially started work on a new undo/redo system that will allow us to undo anything easily.It will support basically anything... map-related, region-related, and eventually lvz... Here's a couple of undo actions i listed so far: 'map-related MapTileChange 'map tile changed SelTileChange 'tile changed within selection SelAdd 'map tile added to selection SelDrop 'tile dropped from selection to map SelMove 'selection moved SelDelete 'tile cleared from sel without being dropped SelNew 'new tile created in selection (pasting, for example) 'region-related RegionAdd 'tile added to region RegionRemove 'tile removed from region RegionNew 'new region created RegionDelete 'region deleted RegionRename 'region renamed RegionProperties 'region properties changed I don't think it will be very hard to code, it might just take some time because each different action will need its own chunk of code as to how to Undo it, and how to Redo it.
Recommended Posts