Snapshot of dungeon map editing state for undo/redo. More...
#include <screen_undo_actions.h>

Public Attributes | |
| int | dungeon_index = 0 |
| zelda3::DungeonMap | map_data {0, 0, 0, {}, {}} |
| std::vector< std::array< std::string, zelda3::kNumRooms > > | labels |
Snapshot of dungeon map editing state for undo/redo.
Captures the full DungeonMap for one dungeon (floor_rooms, floor_gfx, boss_room, nbr_of_floor, nbr_of_basement) so that undo restores the previous layout and redo re-applies the change.
Definition at line 35 of file screen_undo_actions.h.
| int yaze::editor::DungeonMapSnapshot::dungeon_index = 0 |
Definition at line 36 of file screen_undo_actions.h.
Referenced by yaze::editor::ScreenEditor::CaptureDungeonMapSnapshot(), and yaze::editor::ScreenEditor::RestoreFromSnapshot().
| zelda3::DungeonMap yaze::editor::DungeonMapSnapshot::map_data {0, 0, 0, {}, {}} |
Definition at line 37 of file screen_undo_actions.h.
Referenced by yaze::editor::ScreenEditor::CaptureDungeonMapSnapshot(), yaze::editor::ScreenEditAction::MemoryUsage(), and yaze::editor::ScreenEditor::RestoreFromSnapshot().
| std::vector<std::array<std::string, zelda3::kNumRooms> > yaze::editor::DungeonMapSnapshot::labels |
Definition at line 38 of file screen_undo_actions.h.
Referenced by yaze::editor::ScreenEditor::CaptureDungeonMapSnapshot(), and yaze::editor::ScreenEditor::RestoreFromSnapshot().