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

◆ bitmap_data

◆ bitmap_palette

◆ tile_data

◆ palette

◆ x_flip

◆ y_flip

◆ priority


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