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

Popup window to edit Tile16 data. More...

#include <tile16_editor.h>

Inheritance diagram for yaze::editor::Tile16Editor:

Classes

struct  LayoutScratch
 
struct  UndoState
 

Public Member Functions

 Tile16Editor (Rom *rom, gfx::Tilemap *tile16_blockset)
 
absl::Status Initialize (const gfx::Bitmap &tile16_blockset_bmp, const gfx::Bitmap &current_gfx_bmp, std::array< uint8_t, 0x200 > &all_tiles_types)
 
absl::Status Update ()
 
void DrawTile16Editor ()
 
absl::Status UpdateBlockset ()
 
void DrawScratchSpace ()
 
absl::Status SaveLayoutToScratch (int slot)
 
absl::Status LoadLayoutFromScratch (int slot)
 
absl::Status DrawToCurrentTile16 (ImVec2 pos, const gfx::Bitmap *source_tile=nullptr)
 
absl::Status UpdateTile16Edit ()
 
absl::Status LoadTile8 ()
 
absl::Status SetCurrentTile (int id)
 
absl::Status CopyTile16ToClipboard (int tile_id)
 
absl::Status PasteTile16FromClipboard ()
 
absl::Status SaveTile16ToScratchSpace (int slot)
 
absl::Status LoadTile16FromScratchSpace (int slot)
 
absl::Status ClearScratchSpace (int slot)
 
absl::Status FlipTile16Horizontal ()
 
absl::Status FlipTile16Vertical ()
 
absl::Status RotateTile16 ()
 
absl::Status FillTile16WithTile8 (int tile8_id)
 
absl::Status AutoTileTile16 ()
 
absl::Status ClearTile16 ()
 
absl::Status CyclePalette (bool forward=true)
 
absl::Status ApplyPaletteToAll (uint8_t palette_id)
 
absl::Status PreviewPaletteChange (uint8_t palette_id)
 
absl::Status ApplyToSelection (const std::function< void(int)> &operation)
 
absl::Status BatchEdit (const std::vector< int > &tile_ids, const std::function< void(int)> &operation)
 
absl::Status Undo ()
 
absl::Status Redo ()
 
void SaveUndoState ()
 
void EnableLivePreview (bool enable)
 
absl::Status UpdateLivePreview ()
 
absl::Status ValidateTile16Data ()
 
bool IsTile16Valid (int tile_id) const
 
absl::Status SaveTile16ToROM ()
 
absl::Status UpdateOverworldTilemap ()
 
absl::Status CommitChangesToBlockset ()
 
absl::Status CommitChangesToOverworld ()
 
absl::Status DiscardChanges ()
 
absl::Status UpdateTile8Palette (int tile8_id)
 
absl::Status RefreshAllPalettes ()
 
void DrawPaletteSettings ()
 
int GetPaletteSlotForSheet (int sheet_index) const
 
int GetActualPaletteSlot (int palette_button, int sheet_index) const
 
int GetSheetIndexForTile8 (int tile8_id) const
 
int GetActualPaletteSlotForCurrentTile16 () const
 
absl::Status UpdateROMTile16Data ()
 
absl::Status RefreshTile16Blockset ()
 
gfx::Tile16GetCurrentTile16Data ()
 
absl::Status RegenerateTile16BitmapFromROM ()
 
absl::Status UpdateBlocksetBitmap ()
 
absl::Status PickTile8FromTile16 (const ImVec2 &position)
 
void DrawManualTile8Inputs ()
 
void set_rom (Rom *rom)
 
Romrom () const
 
void set_palette (const gfx::SnesPalette &palette)
 
void set_on_changes_committed (std::function< absl::Status()> callback)
 

Private Attributes

Romrom_ = nullptr
 
bool map_blockset_loaded_ = false
 
bool x_flip = false
 
bool y_flip = false
 
bool priority_tile = false
 
int tile_size
 
int current_tile16_ = 0
 
int current_tile8_ = 0
 
uint8_t current_palette_ = 0
 
gfx::Bitmap clipboard_tile16_
 
bool clipboard_has_data_ = false
 
std::array< gfx::Bitmap, 4 > scratch_space_
 
std::array< bool, 4 > scratch_space_used_ = {false, false, false, false}
 
std::array< LayoutScratch, 4 > layout_scratch_
 
std::vector< UndoStateundo_stack_
 
std::vector< UndoStateredo_stack_
 
bool live_preview_enabled_ = true
 
gfx::Bitmap preview_tile16_
 
bool preview_dirty_ = false
 
std::vector< int > selected_tiles_
 
int selection_start_tile_ = -1
 
bool multi_select_mode_ = false
 
bool auto_tile_mode_ = false
 
bool grid_snap_enabled_ = true
 
bool show_tile_info_ = true
 
bool show_palette_preview_ = true
 
bool show_palette_settings_ = false
 
int current_palette_group_ = 0
 
uint8_t palette_normalization_mask_ = 0xFF
 
bool auto_normalize_pixels_ = false
 
std::chrono::steady_clock::time_point last_edit_time_
 
bool batch_mode_ = false
 
util::NotifyValue< uint32_t > notify_tile16
 
util::NotifyValue< uint8_t > notify_palette
 
std::array< uint8_t, 0x200 > all_tiles_types_
 
gui::Canvas blockset_canvas_
 
gfx::Bitmap tile16_blockset_bmp_
 
gui::Canvas tile16_edit_canvas_
 
gfx::Bitmap current_tile16_bmp_
 
gui::Canvas tile8_source_canvas_
 
gfx::Bitmap current_gfx_bmp_
 
gui::Table tile_edit_table_ {"##TileEditTable", 3, ImGuiTableFlags_Borders, ImVec2(0, 0)}
 
gfx::Tilemaptile16_blockset_ = nullptr
 
std::vector< gfx::Bitmapcurrent_gfx_individual_
 
PaletteEditor palette_editor_
 
gfx::SnesPalette palette_
 
gfx::SnesPalette overworld_palette_
 
absl::Status status_
 
std::function< absl::Status()> on_changes_committed_
 
gfx::Tile16 current_tile16_data_
 

Static Private Attributes

static constexpr size_t kMaxUndoStates_ = 50
 

Additional Inherited Members

- Static Protected Attributes inherited from yaze::gfx::GfxContext
static std::unordered_map< uint8_t, gfx::Palettesetpalettesets_
 

Detailed Description

Popup window to edit Tile16 data.

Definition at line 39 of file tile16_editor.h.

Constructor & Destructor Documentation

◆ Tile16Editor()

yaze::editor::Tile16Editor::Tile16Editor ( Rom rom,
gfx::Tilemap tile16_blockset 
)
inline

Definition at line 41 of file tile16_editor.h.

Member Function Documentation

◆ Initialize()

◆ Update()

◆ DrawTile16Editor()

void yaze::editor::Tile16Editor::DrawTile16Editor ( )

Definition at line 255 of file tile16_editor.cc.

References status_, and UpdateTile16Edit().

Referenced by Update().

Here is the call graph for this function:

◆ UpdateBlockset()

◆ DrawScratchSpace()

void yaze::editor::Tile16Editor::DrawScratchSpace ( )

Definition at line 2359 of file tile16_editor.cc.

References layout_scratch_.

Referenced by UpdateTile16Edit().

◆ SaveLayoutToScratch()

absl::Status yaze::editor::Tile16Editor::SaveLayoutToScratch ( int  slot)

Definition at line 2378 of file tile16_editor.cc.

References layout_scratch_.

◆ LoadLayoutFromScratch()

absl::Status yaze::editor::Tile16Editor::LoadLayoutFromScratch ( int  slot)

Definition at line 2390 of file tile16_editor.cc.

References layout_scratch_.

◆ DrawToCurrentTile16()

◆ UpdateTile16Edit()

absl::Status yaze::editor::Tile16Editor::UpdateTile16Edit ( )

Definition at line 677 of file tile16_editor.cc.

References blockset_canvas_, ClearTile16(), CommitChangesToOverworld(), CopyTile16ToClipboard(), yaze::gfx::Arena::CREATE, yaze::gfx::Bitmap::Create(), current_gfx_bmp_, current_gfx_individual_, current_palette_, current_tile16_, current_tile16_bmp_, current_tile8_, DiscardChanges(), yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), DrawManualTile8Inputs(), yaze::gui::Canvas::DrawOverlay(), DrawPaletteSettings(), DrawScratchSpace(), yaze::gui::Canvas::DrawTilePainter(), yaze::gui::Canvas::DrawTileSelector(), DrawToCurrentTile16(), yaze::gfx::Arena::Get(), GetActualPaletteSlot(), GetActualPaletteSlotForCurrentTile16(), yaze::gui::Canvas::GetGlobalScale(), GetSheetIndexForTile8(), HOVER_HINT, yaze::gfx::Bitmap::is_active(), yaze::gui::Canvas::IsMouseHovering(), yaze::util::logf(), yaze::gfx::Bitmap::mutable_data(), overworld_palette_, PasteTile16FromClipboard(), PickTile8FromTile16(), priority_tile, yaze::gfx::Arena::QueueTextureCommand(), RefreshAllPalettes(), RefreshTile16Blockset(), RETURN_IF_ERROR, yaze::gui::Canvas::set_draggable(), SetCurrentTile(), yaze::gfx::Bitmap::SetPalette(), show_palette_settings_, yaze::gui::Canvas::ShowAdvancedCanvasProperties(), yaze::gui::Canvas::ShowScalingControls(), yaze::gfx::SnesPalette::size(), tile16_blockset_bmp_, tile16_edit_canvas_, tile8_source_canvas_, Undo(), undo_stack_, UpdateTile8Palette(), yaze::gfx::Bitmap::vector(), yaze::gfx::Bitmap::width(), x_flip, y_flip, and yaze::gui::Canvas::zero_point().

Referenced by DrawTile16Editor().

◆ LoadTile8()

◆ SetCurrentTile()

◆ CopyTile16ToClipboard()

◆ PasteTile16FromClipboard()

◆ SaveTile16ToScratchSpace()

absl::Status yaze::editor::Tile16Editor::SaveTile16ToScratchSpace ( int  slot)

◆ LoadTile16FromScratchSpace()

absl::Status yaze::editor::Tile16Editor::LoadTile16FromScratchSpace ( int  slot)

◆ ClearScratchSpace()

absl::Status yaze::editor::Tile16Editor::ClearScratchSpace ( int  slot)

Definition at line 1450 of file tile16_editor.cc.

References scratch_space_used_.

Referenced by Update().

◆ FlipTile16Horizontal()

◆ FlipTile16Vertical()

◆ RotateTile16()

◆ FillTile16WithTile8()

◆ AutoTileTile16()

absl::Status yaze::editor::Tile16Editor::AutoTileTile16 ( )

◆ ClearTile16()

◆ CyclePalette()

absl::Status yaze::editor::Tile16Editor::CyclePalette ( bool  forward = true)

Definition at line 1623 of file tile16_editor.cc.

References current_palette_, yaze::util::logf(), RefreshAllPalettes(), and RETURN_IF_ERROR.

Referenced by Update().

Here is the call graph for this function:

◆ ApplyPaletteToAll()

absl::Status yaze::editor::Tile16Editor::ApplyPaletteToAll ( uint8_t  palette_id)

◆ PreviewPaletteChange()

◆ ApplyToSelection()

absl::Status yaze::editor::Tile16Editor::ApplyToSelection ( const std::function< void(int)> &  operation)

◆ BatchEdit()

absl::Status yaze::editor::Tile16Editor::BatchEdit ( const std::vector< int > &  tile_ids,
const std::function< void(int)> &  operation 
)

◆ Undo()

◆ Redo()

◆ SaveUndoState()

◆ EnableLivePreview()

void yaze::editor::Tile16Editor::EnableLivePreview ( bool  enable)
inline

Definition at line 96 of file tile16_editor.h.

References live_preview_enabled_.

Referenced by Update().

◆ UpdateLivePreview()

absl::Status yaze::editor::Tile16Editor::UpdateLivePreview ( )

◆ ValidateTile16Data()

absl::Status yaze::editor::Tile16Editor::ValidateTile16Data ( )

Definition at line 1754 of file tile16_editor.cc.

References yaze::gfx::Tilemap::atlas, current_palette_, current_tile16_, yaze::gfx::Bitmap::size(), and tile16_blockset_.

Here is the call graph for this function:

◆ IsTile16Valid()

bool yaze::editor::Tile16Editor::IsTile16Valid ( int  tile_id) const

Definition at line 1771 of file tile16_editor.cc.

References yaze::gfx::Tilemap::atlas, yaze::gfx::Bitmap::size(), and tile16_blockset_.

Here is the call graph for this function:

◆ SaveTile16ToROM()

absl::Status yaze::editor::Tile16Editor::SaveTile16ToROM ( )

Definition at line 1777 of file tile16_editor.cc.

References CommitChangesToBlockset(), current_tile16_bmp_, yaze::gfx::Bitmap::is_active(), RETURN_IF_ERROR, rom_, and UpdateOverworldTilemap().

Referenced by DrawManualTile8Inputs(), and Update().

Here is the call graph for this function:

◆ UpdateOverworldTilemap()

◆ CommitChangesToBlockset()

absl::Status yaze::editor::Tile16Editor::CommitChangesToBlockset ( )

◆ CommitChangesToOverworld()

◆ DiscardChanges()

absl::Status yaze::editor::Tile16Editor::DiscardChanges ( )

Definition at line 1910 of file tile16_editor.cc.

References current_tile16_, yaze::util::logf(), RETURN_IF_ERROR, and SetCurrentTile().

Referenced by UpdateTile16Edit().

Here is the call graph for this function:

◆ UpdateTile8Palette()

◆ RefreshAllPalettes()

◆ DrawPaletteSettings()

◆ GetPaletteSlotForSheet()

int yaze::editor::Tile16Editor::GetPaletteSlotForSheet ( int  sheet_index) const

Definition at line 1972 of file tile16_editor.cc.

References current_palette_.

◆ GetActualPaletteSlot()

int yaze::editor::Tile16Editor::GetActualPaletteSlot ( int  palette_button,
int  sheet_index 
) const

Definition at line 2002 of file tile16_editor.cc.

Referenced by GetActualPaletteSlotForCurrentTile16(), and UpdateTile16Edit().

◆ GetSheetIndexForTile8()

int yaze::editor::Tile16Editor::GetSheetIndexForTile8 ( int  tile8_id) const

Definition at line 2038 of file tile16_editor.cc.

Referenced by GetActualPaletteSlotForCurrentTile16(), and UpdateTile16Edit().

◆ GetActualPaletteSlotForCurrentTile16()

int yaze::editor::Tile16Editor::GetActualPaletteSlotForCurrentTile16 ( ) const

Definition at line 2050 of file tile16_editor.cc.

References current_gfx_individual_, current_palette_, current_tile8_, GetActualPaletteSlot(), and GetSheetIndexForTile8().

Referenced by UpdateTile16Edit().

Here is the call graph for this function:

◆ UpdateROMTile16Data()

absl::Status yaze::editor::Tile16Editor::UpdateROMTile16Data ( )

Definition at line 325 of file tile16_editor.cc.

References current_tile16_, GetCurrentTile16Data(), yaze::util::logf(), RETURN_IF_ERROR, rom_, and yaze::Rom::WriteTile16().

Referenced by CommitChangesToOverworld(), and DrawManualTile8Inputs().

Here is the call graph for this function:

◆ RefreshTile16Blockset()

absl::Status yaze::editor::Tile16Editor::RefreshTile16Blockset ( )

◆ GetCurrentTile16Data()

gfx::Tile16 * yaze::editor::Tile16Editor::GetCurrentTile16Data ( )

◆ RegenerateTile16BitmapFromROM()

◆ UpdateBlocksetBitmap()

◆ PickTile8FromTile16()

◆ DrawManualTile8Inputs()

◆ set_rom()

void yaze::editor::Tile16Editor::set_rom ( Rom rom)
inline

Definition at line 135 of file tile16_editor.h.

References rom(), and rom_.

Referenced by yaze::editor::OverworldEditor::Load().

Here is the call graph for this function:

◆ rom()

Rom * yaze::editor::Tile16Editor::rom ( ) const
inline

◆ set_palette()

void yaze::editor::Tile16Editor::set_palette ( const gfx::SnesPalette palette)
inline

◆ set_on_changes_committed()

void yaze::editor::Tile16Editor::set_on_changes_committed ( std::function< absl::Status()>  callback)
inline

Definition at line 165 of file tile16_editor.h.

References on_changes_committed_.

Referenced by yaze::editor::OverworldEditor::Load().

Member Data Documentation

◆ rom_

◆ map_blockset_loaded_

bool yaze::editor::Tile16Editor::map_blockset_loaded_ = false
private

Definition at line 171 of file tile16_editor.h.

Referenced by Initialize(), and Update().

◆ x_flip

bool yaze::editor::Tile16Editor::x_flip = false
private

◆ y_flip

bool yaze::editor::Tile16Editor::y_flip = false
private

◆ priority_tile

bool yaze::editor::Tile16Editor::priority_tile = false
private

◆ tile_size

int yaze::editor::Tile16Editor::tile_size
private

Definition at line 176 of file tile16_editor.h.

◆ current_tile16_

◆ current_tile8_

int yaze::editor::Tile16Editor::current_tile8_ = 0
private

◆ current_palette_

◆ clipboard_tile16_

gfx::Bitmap yaze::editor::Tile16Editor::clipboard_tile16_
private

Definition at line 182 of file tile16_editor.h.

Referenced by CopyTile16ToClipboard(), and PasteTile16FromClipboard().

◆ clipboard_has_data_

bool yaze::editor::Tile16Editor::clipboard_has_data_ = false
private

Definition at line 183 of file tile16_editor.h.

Referenced by CopyTile16ToClipboard(), and PasteTile16FromClipboard().

◆ scratch_space_

std::array<gfx::Bitmap, 4> yaze::editor::Tile16Editor::scratch_space_
private

Definition at line 186 of file tile16_editor.h.

Referenced by LoadTile16FromScratchSpace(), and SaveTile16ToScratchSpace().

◆ scratch_space_used_

std::array<bool, 4> yaze::editor::Tile16Editor::scratch_space_used_ = {false, false, false, false}
private

◆ layout_scratch_

std::array<LayoutScratch, 4> yaze::editor::Tile16Editor::layout_scratch_
private

Definition at line 195 of file tile16_editor.h.

Referenced by DrawScratchSpace(), LoadLayoutFromScratch(), and SaveLayoutToScratch().

◆ undo_stack_

std::vector<UndoState> yaze::editor::Tile16Editor::undo_stack_
private

Definition at line 205 of file tile16_editor.h.

Referenced by SaveUndoState(), Undo(), and UpdateTile16Edit().

◆ redo_stack_

std::vector<UndoState> yaze::editor::Tile16Editor::redo_stack_
private

Definition at line 206 of file tile16_editor.h.

Referenced by Redo(), SaveUndoState(), and Undo().

◆ kMaxUndoStates_

constexpr size_t yaze::editor::Tile16Editor::kMaxUndoStates_ = 50
staticconstexprprivate

Definition at line 207 of file tile16_editor.h.

Referenced by SaveUndoState().

◆ live_preview_enabled_

bool yaze::editor::Tile16Editor::live_preview_enabled_ = true
private

Definition at line 210 of file tile16_editor.h.

Referenced by DrawToCurrentTile16(), EnableLivePreview(), and Update().

◆ preview_tile16_

gfx::Bitmap yaze::editor::Tile16Editor::preview_tile16_
private

Definition at line 211 of file tile16_editor.h.

Referenced by PreviewPaletteChange().

◆ preview_dirty_

bool yaze::editor::Tile16Editor::preview_dirty_ = false
private

Definition at line 212 of file tile16_editor.h.

Referenced by PreviewPaletteChange().

◆ selected_tiles_

std::vector<int> yaze::editor::Tile16Editor::selected_tiles_
private

Definition at line 215 of file tile16_editor.h.

◆ selection_start_tile_

int yaze::editor::Tile16Editor::selection_start_tile_ = -1
private

Definition at line 216 of file tile16_editor.h.

◆ multi_select_mode_

bool yaze::editor::Tile16Editor::multi_select_mode_ = false
private

Definition at line 217 of file tile16_editor.h.

◆ auto_tile_mode_

bool yaze::editor::Tile16Editor::auto_tile_mode_ = false
private

Definition at line 220 of file tile16_editor.h.

◆ grid_snap_enabled_

bool yaze::editor::Tile16Editor::grid_snap_enabled_ = true
private

Definition at line 221 of file tile16_editor.h.

◆ show_tile_info_

bool yaze::editor::Tile16Editor::show_tile_info_ = true
private

Definition at line 222 of file tile16_editor.h.

◆ show_palette_preview_

bool yaze::editor::Tile16Editor::show_palette_preview_ = true
private

Definition at line 223 of file tile16_editor.h.

Referenced by PreviewPaletteChange().

◆ show_palette_settings_

bool yaze::editor::Tile16Editor::show_palette_settings_ = false
private

Definition at line 226 of file tile16_editor.h.

Referenced by DrawPaletteSettings(), and UpdateTile16Edit().

◆ current_palette_group_

int yaze::editor::Tile16Editor::current_palette_group_ = 0
private

Definition at line 227 of file tile16_editor.h.

Referenced by DrawPaletteSettings().

◆ palette_normalization_mask_

uint8_t yaze::editor::Tile16Editor::palette_normalization_mask_ = 0xFF
private

Definition at line 228 of file tile16_editor.h.

Referenced by DrawPaletteSettings(), LoadTile8(), and SetCurrentTile().

◆ auto_normalize_pixels_

bool yaze::editor::Tile16Editor::auto_normalize_pixels_ = false
private

Definition at line 229 of file tile16_editor.h.

Referenced by DrawPaletteSettings(), LoadTile8(), and SetCurrentTile().

◆ last_edit_time_

std::chrono::steady_clock::time_point yaze::editor::Tile16Editor::last_edit_time_
private

Definition at line 232 of file tile16_editor.h.

Referenced by DrawToCurrentTile16().

◆ batch_mode_

bool yaze::editor::Tile16Editor::batch_mode_ = false
private

Definition at line 233 of file tile16_editor.h.

◆ notify_tile16

util::NotifyValue<uint32_t> yaze::editor::Tile16Editor::notify_tile16
private

Definition at line 235 of file tile16_editor.h.

◆ notify_palette

util::NotifyValue<uint8_t> yaze::editor::Tile16Editor::notify_palette
private

Definition at line 236 of file tile16_editor.h.

◆ all_tiles_types_

std::array<uint8_t, 0x200> yaze::editor::Tile16Editor::all_tiles_types_
private

Definition at line 238 of file tile16_editor.h.

Referenced by Initialize().

◆ blockset_canvas_

gui::Canvas yaze::editor::Tile16Editor::blockset_canvas_
private
Initial value:

Definition at line 241 of file tile16_editor.h.

Referenced by UpdateBlockset(), and UpdateTile16Edit().

◆ tile16_blockset_bmp_

gfx::Bitmap yaze::editor::Tile16Editor::tile16_blockset_bmp_
private

◆ tile16_edit_canvas_

gui::Canvas yaze::editor::Tile16Editor::tile16_edit_canvas_
private
Initial value:
{"Tile16EditCanvas",
ImVec2(64, 64),

Definition at line 247 of file tile16_editor.h.

Referenced by DrawPaletteSettings(), Initialize(), and UpdateTile16Edit().

◆ current_tile16_bmp_

◆ tile8_source_canvas_

gui::Canvas yaze::editor::Tile16Editor::tile8_source_canvas_
private
Initial value:
{
"Tile8SourceCanvas",
constexpr int kTilesheetHeight
Definition snes_tile.h:17
constexpr int kTilesheetWidth
Definition snes_tile.h:16

Definition at line 253 of file tile16_editor.h.

Referenced by DrawPaletteSettings(), Initialize(), Update(), and UpdateTile16Edit().

◆ current_gfx_bmp_

gfx::Bitmap yaze::editor::Tile16Editor::current_gfx_bmp_
private

◆ tile_edit_table_

gui::Table yaze::editor::Tile16Editor::tile_edit_table_ {"##TileEditTable", 3, ImGuiTableFlags_Borders, ImVec2(0, 0)}
private

Definition at line 259 of file tile16_editor.h.

Referenced by Initialize().

◆ tile16_blockset_

◆ current_gfx_individual_

◆ palette_editor_

PaletteEditor yaze::editor::Tile16Editor::palette_editor_
private

Definition at line 264 of file tile16_editor.h.

◆ palette_

gfx::SnesPalette yaze::editor::Tile16Editor::palette_
private

◆ overworld_palette_

gfx::SnesPalette yaze::editor::Tile16Editor::overworld_palette_
private

◆ status_

absl::Status yaze::editor::Tile16Editor::status_
private

Definition at line 268 of file tile16_editor.h.

Referenced by DrawTile16Editor(), and Update().

◆ on_changes_committed_

std::function<absl::Status()> yaze::editor::Tile16Editor::on_changes_committed_
private

Definition at line 271 of file tile16_editor.h.

Referenced by CommitChangesToOverworld(), and set_on_changes_committed().

◆ current_tile16_data_

gfx::Tile16 yaze::editor::Tile16Editor::current_tile16_data_
private

Definition at line 274 of file tile16_editor.h.

Referenced by GetCurrentTile16Data(), and SetCurrentTile().


The documentation for this class was generated from the following files: