Snapshot of a Tile16's editable state for undo/redo. More...
#include <tile16_undo_actions.h>

Public Attributes | |
| int | tile_id = 0 |
| std::vector< uint8_t > | bitmap_data |
| gfx::SnesPalette | bitmap_palette |
| gfx::Tile16 | tile_data |
| uint8_t | palette = 0 |
| bool | x_flip = false |
| bool | y_flip = false |
| bool | priority = false |
Snapshot of a Tile16's editable state for undo/redo.
Captures all the data needed to fully restore a Tile16 editing state: pixel data, palette, flip/priority flags, and the tile ID.
Definition at line 25 of file tile16_undo_actions.h.
| int yaze::editor::Tile16Snapshot::tile_id = 0 |
Definition at line 26 of file tile16_undo_actions.h.
Referenced by yaze::editor::Tile16EditAction::Description(), yaze::editor::Tile16Editor::FinalizePendingUndo(), yaze::editor::Tile16Editor::RestoreFromSnapshot(), and yaze::editor::Tile16Editor::SaveUndoState().
| std::vector<uint8_t> yaze::editor::Tile16Snapshot::bitmap_data |
Definition at line 27 of file tile16_undo_actions.h.
Referenced by yaze::editor::Tile16Editor::FinalizePendingUndo(), yaze::editor::Tile16EditAction::MemoryUsage(), yaze::editor::Tile16Editor::RestoreFromSnapshot(), and yaze::editor::Tile16Editor::SaveUndoState().
| gfx::SnesPalette yaze::editor::Tile16Snapshot::bitmap_palette |
Definition at line 28 of file tile16_undo_actions.h.
Referenced by yaze::editor::Tile16Editor::FinalizePendingUndo(), yaze::editor::Tile16Editor::RestoreFromSnapshot(), and yaze::editor::Tile16Editor::SaveUndoState().
| gfx::Tile16 yaze::editor::Tile16Snapshot::tile_data |
Definition at line 29 of file tile16_undo_actions.h.
Referenced by yaze::editor::Tile16Editor::FinalizePendingUndo(), yaze::editor::Tile16Editor::RestoreFromSnapshot(), and yaze::editor::Tile16Editor::SaveUndoState().
| uint8_t yaze::editor::Tile16Snapshot::palette = 0 |
Definition at line 30 of file tile16_undo_actions.h.
Referenced by yaze::editor::Tile16Editor::FinalizePendingUndo(), yaze::editor::Tile16Editor::RestoreFromSnapshot(), and yaze::editor::Tile16Editor::SaveUndoState().
| bool yaze::editor::Tile16Snapshot::x_flip = false |
Definition at line 31 of file tile16_undo_actions.h.
Referenced by yaze::editor::Tile16Editor::FinalizePendingUndo(), yaze::editor::Tile16Editor::RestoreFromSnapshot(), and yaze::editor::Tile16Editor::SaveUndoState().
| bool yaze::editor::Tile16Snapshot::y_flip = false |
Definition at line 32 of file tile16_undo_actions.h.
Referenced by yaze::editor::Tile16Editor::FinalizePendingUndo(), yaze::editor::Tile16Editor::RestoreFromSnapshot(), and yaze::editor::Tile16Editor::SaveUndoState().
| bool yaze::editor::Tile16Snapshot::priority = false |
Definition at line 33 of file tile16_undo_actions.h.
Referenced by yaze::editor::Tile16Editor::FinalizePendingUndo(), yaze::editor::Tile16Editor::RestoreFromSnapshot(), and yaze::editor::Tile16Editor::SaveUndoState().