Initial framework for scenario editor undo/redo

In addition to the framework, this enables undo/redo of one action - adding a new town
This commit is contained in:
2017-02-12 18:27:01 -05:00
parent e38053d39f
commit 683ab805ec
14 changed files with 130 additions and 32 deletions

View File

@@ -16,9 +16,10 @@ short edit_talk_node(short which_node);
location pick_out(location default_loc,cScenario& scenario);
cTown* pick_import_town();
cOutdoors* pick_import_out();
bool new_town(short which_town);
bool new_town();
bool resize_outdoors();
void edit_placed_item(short which_i);
void delete_last_town();
void edit_town_wand();
void set_current_town(int to);