Unified screen editor snapshot. More...
#include <screen_undo_actions.h>

Public Attributes | |
| ScreenEditType | edit_type = ScreenEditType::kDungeonMap |
| DungeonMapSnapshot | dungeon_map |
| Tile16CompSnapshot | tile16_comp |
| MenuTilemapSnapshot | menu_tilemap |
Unified screen editor snapshot.
Stores enough data to restore a dungeon map edit, a tile16 composition edit, or a menu tilemap edit. Only the fields relevant to edit_type are populated.
Definition at line 73 of file screen_undo_actions.h.
| ScreenEditType yaze::editor::ScreenSnapshot::edit_type = ScreenEditType::kDungeonMap |
| DungeonMapSnapshot yaze::editor::ScreenSnapshot::dungeon_map |
Definition at line 75 of file screen_undo_actions.h.
Referenced by yaze::editor::ScreenEditor::CaptureDungeonMapSnapshot(), yaze::editor::ScreenEditAction::MemoryUsage(), and yaze::editor::ScreenEditor::RestoreFromSnapshot().
| Tile16CompSnapshot yaze::editor::ScreenSnapshot::tile16_comp |
Definition at line 76 of file screen_undo_actions.h.
Referenced by yaze::editor::ScreenEditor::CaptureTile16CompSnapshot(), and yaze::editor::ScreenEditor::RestoreFromSnapshot().
| MenuTilemapSnapshot yaze::editor::ScreenSnapshot::menu_tilemap |
Definition at line 77 of file screen_undo_actions.h.
Referenced by yaze::editor::MenuTilemapEditorUI::CommitStroke(), and yaze::editor::ScreenEditAction::MemoryUsage().