yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::Tile16Snapshot Struct Reference

Snapshot of a Tile16's editable state for undo/redo. More...

#include <tile16_undo_actions.h>

Collaboration diagram for yaze::editor::Tile16Snapshot:

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
 

Detailed Description

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.

Member Data Documentation

◆ tile_id

int yaze::editor::Tile16Snapshot::tile_id = 0

Definition at line 26 of file tile16_undo_actions.h.

Referenced by yaze::editor::Tile16EditAction::Description().

◆ bitmap_data

std::vector<uint8_t> yaze::editor::Tile16Snapshot::bitmap_data

Definition at line 27 of file tile16_undo_actions.h.

Referenced by yaze::editor::Tile16EditAction::MemoryUsage().

◆ bitmap_palette

gfx::SnesPalette yaze::editor::Tile16Snapshot::bitmap_palette

Definition at line 28 of file tile16_undo_actions.h.

◆ tile_data

gfx::Tile16 yaze::editor::Tile16Snapshot::tile_data

Definition at line 29 of file tile16_undo_actions.h.

◆ palette

uint8_t yaze::editor::Tile16Snapshot::palette = 0

Definition at line 30 of file tile16_undo_actions.h.

◆ x_flip

bool yaze::editor::Tile16Snapshot::x_flip = false

Definition at line 31 of file tile16_undo_actions.h.

◆ y_flip

bool yaze::editor::Tile16Snapshot::y_flip = false

Definition at line 32 of file tile16_undo_actions.h.

◆ priority

bool yaze::editor::Tile16Snapshot::priority = false

Definition at line 33 of file tile16_undo_actions.h.


The documentation for this struct was generated from the following file: