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

Allows the user to edit graphics sheets from the game or view prototype graphics. More...

#include <graphics_editor.h>

Inheritance diagram for yaze::editor::GraphicsEditor:

Classes

struct  PreparedGraphicsSave
 

Public Member Functions

 GraphicsEditor (Rom *rom=nullptr)
 
void SetDependencies (const EditorDependencies &deps) override
 
void SetMainGraphicsUsageCallback (GfxGroupEditor::MainUsageCallback callback)
 
void SetRoomsetGraphicsUsageCallback (GfxGroupEditor::RoomsetUsageCallback callback)
 
void SetRoomUsageProvider (usage_preview::LiveRoomProvider provider)
 
void PrepareForSessionTeardown () override
 
void Initialize () override
 
absl::Status Load () override
 
absl::Status Save () override
 
absl::Status Update () override
 
absl::StatusOr< std::vector< GraphicsSavePlanEntry > > PlanGraphicsSave ()
 Graphics save preflight: every dirty sheet written to a scratch copy of the ROM (placement, addresses, sizes, verification), and the reason for any sheet the save would refuse. Does not touch the ROM.
 
absl::Status Cut () override
 
absl::Status Copy () override
 
absl::Status Paste () override
 
absl::Status Undo () override
 
absl::Status Redo () override
 
absl::Status Find () override
 
void ContributeStatus (StatusBar *status_bar) override
 
EditorContextSnapshot BuildContextSnapshot () const override
 
bool HasPendingGraphicsChanges () const
 
absl::Status BeginSaveTransaction () override
 
void RollbackSaveTransaction () override
 
void CommitSaveTransaction () override
 
void set_rom (Rom *rom)
 
void SetGameData (zelda3::GameData *game_data) override
 
void NextSheet ()
 
void SetPixelTool (PixelTool tool)
 
void ZoomIn ()
 
void ZoomOut ()
 
void ToggleGrid ()
 
void PrevSheet ()
 
void SelectSheet (uint16_t sheet_id)
 
void FinishPixelGesture ()
 
absl::Status OpenInContext (GraphicsEditContext context)
 
absl::Status ReorderSourcePalette (const std::vector< size_t > &targets, const std::array< uint8_t, 8 > &permutation)
 
void HighlightTile (uint16_t sheet_id, uint16_t tile_index, const std::string &label="", double duration_secs=3.0)
 
Rom * rom () const
 
- Public Member Functions inherited from yaze::editor::Editor
 Editor ()=default
 
virtual ~Editor ()=default
 
virtual std::string GetUndoDescription () const
 
virtual std::string GetRedoDescription () const
 
const UndoManager & undo_manager () const
 
virtual absl::Status Clear ()
 
virtual bool CanUndo () const
 
virtual bool CanRedo () const
 
virtual bool CanCut () const
 
virtual bool CanCopy () const
 
virtual bool CanPaste () const
 
virtual bool CanFind () const
 
EditorType type () const
 
bool * active ()
 
void set_active (bool active)
 
void toggle_active ()
 
virtual bool IsRomLoaded () const
 
virtual std::string GetRomStatus () const
 
Rom * rom () const
 
zelda3::GameData * game_data () const
 
project::YazeProject * project () const
 
core::VersionManager * version_manager () const
 
EditorContext context () const
 
bool HasContext () const
 

Private Member Functions

absl::StatusOr< PreparedGraphicsSave > PrepareGraphicsSave ()
 
absl::Status EditProject (const std::function< void(project::YazeProject &)> &edit)
 
void DrawPrototypeViewer ()
 
absl::Status DrawCgxImport ()
 
absl::Status DrawScrImport ()
 
absl::Status DrawFileImport ()
 
absl::Status DrawObjImport ()
 
absl::Status DrawTilemapImport ()
 
absl::Status DrawPaletteControls ()
 
absl::Status DrawClipboardImport ()
 
absl::Status DrawExperimentalFeatures ()
 
absl::Status DrawMemoryEditor ()
 
absl::Status DecompressImportData (int size)
 
absl::Status DecompressSuperDonkey ()
 

Private Attributes

std::function< absl::Status(const Rom &, uint16_t, const std::vector< uint8_t > &, const zelda3::GfxSheetPointerTables &) verify_written_sheet_ ) = VerifyWrittenSheetPixels
 
GraphicsEditorState state_
 
std::optional< std::set< uint16_t > > save_transaction_modified_sheets_
 
std::unique_ptr< SheetBrowserPanel > sheet_browser_panel_
 
std::unique_ptr< PixelEditorPanel > pixel_editor_panel_
 
std::unique_ptr< PaletteControlsPanel > palette_controls_panel_
 
std::unique_ptr< LinkSpritePanel > link_sprite_panel_
 
std::unique_ptr< GfxGroupEditor > gfx_group_panel_
 
GfxGroupEditor::MainUsageCallback main_graphics_usage_
 
GfxGroupEditor::RoomsetUsageCallback roomset_graphics_usage_
 
std::unique_ptr< PalettesetEditorPanel > paletteset_panel_
 
std::unique_ptr< PolyhedralEditorPanel > polyhedral_panel_
 
usage_preview::LiveRoomProvider room_usage_provider_
 
std::unique_ptr< UsagePreviewView > usage_preview_view_
 
int current_palette_ = 0
 
uint64_t current_offset_ = 0
 
uint64_t current_palette_index_ = 0
 
int current_bpp_ = 0
 
int scr_mod_value_ = 0
 
uint64_t num_sheets_to_load_ = 1
 
uint64_t bin_size_ = 0
 
uint64_t clipboard_offset_ = 0
 
uint64_t clipboard_size_ = 0
 
bool refresh_graphics_ = false
 
bool open_memory_editor_ = false
 
bool gfx_loaded_ = false
 
bool is_open_ = false
 
bool super_donkey_ = false
 
bool col_file_ = false
 
bool cgx_loaded_ = false
 
bool scr_loaded_ = false
 
bool obj_loaded_ = false
 
bool tilemap_loaded_ = false
 
std::string file_path_
 
std::string col_file_path_
 
std::string col_file_name_
 
std::string cgx_file_path_
 
std::string cgx_file_name_
 
std::string scr_file_path_
 
std::string scr_file_name_
 
std::string obj_file_path_
 
std::string tilemap_file_path_
 
std::string tilemap_file_name_
 
Rom temp_rom_
 
Rom tilemap_rom_
 
std::vector< uint8_t > import_data_
 
std::vector< uint8_t > decoded_cgx_
 
std::vector< uint8_t > cgx_data_
 
std::vector< uint8_t > extra_cgx_data_
 
std::vector< SDL_Color > decoded_col_
 
std::vector< uint8_t > scr_data_
 
std::vector< uint8_t > decoded_scr_data_
 
gfx::Bitmap cgx_bitmap_
 
gfx::Bitmap scr_bitmap_
 
gfx::Bitmap bin_bitmap_
 
std::array< gfx::Bitmap, zelda3::kNumGfxSheets > gfx_sheets_
 
gfx::PaletteGroup col_file_palette_group_
 
gfx::SnesPalette z3_rom_palette_
 
gfx::SnesPalette col_file_palette_
 
gui::Canvas import_canvas_
 
gui::Canvas scr_canvas_
 
gui::Canvas super_donkey_canvas_
 
std::string prototype_import_feedback_
 
absl::Status status_
 
Rom * rom_
 
zelda3::GameData * game_data_ = nullptr
 

Friends

class GraphicsEditorSaveStoplossTestPeer
 
class AuthoringSaveWorkflowTestPeer
 

Additional Inherited Members

- Protected Member Functions inherited from yaze::editor::Editor
std::string MakePanelTitle (const std::string &base_title) const
 
std::string MakeWindowId (const std::string &base_id) const
 
template<typename T >
absl::StatusOr< T > SafeRomAccess (std::function< T()> accessor, const std::string &operation="") const
 
- Protected Attributes inherited from yaze::editor::Editor
bool active_ = false
 
EditorType type_
 
EditorDependencies dependencies_
 
UndoManager undo_manager_
 

Detailed Description

Allows the user to edit graphics sheets from the game or view prototype graphics.

The GraphicsEditor class is responsible for providing functionality to edit graphics sheets from the game or view prototype graphics of Link to the Past from the CGX, SCR, and OBJ formats. It provides various methods to update different components of the graphics editor, such as the graphics edit tab, link graphics view, and prototype graphics viewer. It also includes import functions for different file formats, as well as other utility functions for drawing toolsets, palette controls, clipboard imports, experimental features, and memory editor.

Definition at line 72 of file graphics_editor.h.

Constructor & Destructor Documentation

◆ GraphicsEditor()

yaze::editor::GraphicsEditor::GraphicsEditor ( Rom * rom = nullptr)
inlineexplicit

Definition at line 74 of file graphics_editor.h.

References yaze::editor::kGraphics, and yaze::editor::Editor::type_.

Member Function Documentation

◆ SetDependencies()

void yaze::editor::GraphicsEditor::SetDependencies ( const EditorDependencies & deps)
inlineoverridevirtual

Reimplemented from yaze::editor::Editor.

Definition at line 78 of file graphics_editor.h.

References gfx_group_panel_, yaze::editor::EditorDependencies::gfx_group_workspace, and yaze::editor::Editor::SetDependencies().

Here is the call graph for this function:

◆ SetMainGraphicsUsageCallback()

void yaze::editor::GraphicsEditor::SetMainGraphicsUsageCallback ( GfxGroupEditor::MainUsageCallback callback)
inline

Definition at line 85 of file graphics_editor.h.

References gfx_group_panel_, and main_graphics_usage_.

◆ SetRoomsetGraphicsUsageCallback()

void yaze::editor::GraphicsEditor::SetRoomsetGraphicsUsageCallback ( GfxGroupEditor::RoomsetUsageCallback callback)
inline

Definition at line 91 of file graphics_editor.h.

References gfx_group_panel_, and roomset_graphics_usage_.

◆ SetRoomUsageProvider()

void yaze::editor::GraphicsEditor::SetRoomUsageProvider ( usage_preview::LiveRoomProvider provider)
inline

Definition at line 97 of file graphics_editor.h.

References room_usage_provider_, and usage_preview_view_.

Referenced by PrepareForSessionTeardown().

◆ PrepareForSessionTeardown()

void yaze::editor::GraphicsEditor::PrepareForSessionTeardown ( )
inlineoverridevirtual

Reimplemented from yaze::editor::Editor.

Definition at line 102 of file graphics_editor.h.

References gfx_group_panel_, main_graphics_usage_, roomset_graphics_usage_, and SetRoomUsageProvider().

Here is the call graph for this function:

◆ Initialize()

◆ Load()

◆ Save()

◆ Update()

absl::Status yaze::editor::GraphicsEditor::Update ( )
overridevirtual

Implements yaze::editor::Editor.

Definition at line 558 of file graphics_editor.cc.

References CLEAR_AND_RETURN_STATUS, yaze::editor::RefreshGraphicsPreviewPalettes(), state_, status_, and yaze::editor::SyncArenaFromStore().

Here is the call graph for this function:

◆ PlanGraphicsSave()

◆ Cut()

absl::Status yaze::editor::GraphicsEditor::Cut ( )
overridevirtual

Implements yaze::editor::Editor.

Definition at line 1043 of file graphics_editor.cc.

References pixel_editor_panel_.

◆ Copy()

absl::Status yaze::editor::GraphicsEditor::Copy ( )
overridevirtual

Implements yaze::editor::Editor.

Definition at line 1051 of file graphics_editor.cc.

References pixel_editor_panel_.

◆ Paste()

absl::Status yaze::editor::GraphicsEditor::Paste ( )
overridevirtual

Implements yaze::editor::Editor.

Definition at line 1059 of file graphics_editor.cc.

References pixel_editor_panel_.

◆ Undo()

absl::Status yaze::editor::GraphicsEditor::Undo ( )
overridevirtual

Implements yaze::editor::Editor.

Definition at line 573 of file graphics_editor.cc.

References pixel_editor_panel_, yaze::editor::UndoManager::Undo(), and yaze::editor::Editor::undo_manager_.

Referenced by Initialize().

Here is the call graph for this function:

◆ Redo()

absl::Status yaze::editor::GraphicsEditor::Redo ( )
overridevirtual

Implements yaze::editor::Editor.

Definition at line 581 of file graphics_editor.cc.

References pixel_editor_panel_, yaze::editor::UndoManager::Redo(), and yaze::editor::Editor::undo_manager_.

Referenced by Initialize().

Here is the call graph for this function:

◆ Find()

absl::Status yaze::editor::GraphicsEditor::Find ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 126 of file graphics_editor.h.

◆ ContributeStatus()

◆ BuildContextSnapshot()

◆ HasPendingGraphicsChanges()

bool yaze::editor::GraphicsEditor::HasPendingGraphicsChanges ( ) const
inline

◆ BeginSaveTransaction()

absl::Status yaze::editor::GraphicsEditor::BeginSaveTransaction ( )
inlineoverridevirtual

◆ RollbackSaveTransaction()

void yaze::editor::GraphicsEditor::RollbackSaveTransaction ( )
inlineoverridevirtual

◆ CommitSaveTransaction()

void yaze::editor::GraphicsEditor::CommitSaveTransaction ( )
inlineoverridevirtual

Reimplemented from yaze::editor::Editor.

Definition at line 159 of file graphics_editor.h.

References save_transaction_modified_sheets_.

◆ set_rom()

◆ SetGameData()

◆ NextSheet()

void yaze::editor::GraphicsEditor::NextSheet ( )

◆ SetPixelTool()

void yaze::editor::GraphicsEditor::SetPixelTool ( PixelTool tool)

Definition at line 1027 of file graphics_editor.cc.

References yaze::editor::GraphicsEditorState::SetTool(), and state_.

Here is the call graph for this function:

◆ ZoomIn()

void yaze::editor::GraphicsEditor::ZoomIn ( )

Definition at line 1031 of file graphics_editor.cc.

References state_, and yaze::editor::GraphicsEditorState::ZoomIn().

Here is the call graph for this function:

◆ ZoomOut()

void yaze::editor::GraphicsEditor::ZoomOut ( )

Definition at line 1035 of file graphics_editor.cc.

References state_, and yaze::editor::GraphicsEditorState::ZoomOut().

Here is the call graph for this function:

◆ ToggleGrid()

void yaze::editor::GraphicsEditor::ToggleGrid ( )

Definition at line 1039 of file graphics_editor.cc.

References yaze::editor::GraphicsEditorState::show_grid, and state_.

◆ PrevSheet()

void yaze::editor::GraphicsEditor::PrevSheet ( )

Definition at line 1021 of file graphics_editor.cc.

References yaze::editor::GraphicsEditorState::current_sheet_id, yaze::editor::GraphicsEditorState::SelectSheet(), and state_.

Here is the call graph for this function:

◆ SelectSheet()

void yaze::editor::GraphicsEditor::SelectSheet ( uint16_t sheet_id)

◆ FinishPixelGesture()

void yaze::editor::GraphicsEditor::FinishPixelGesture ( )

Definition at line 1067 of file graphics_editor.cc.

References pixel_editor_panel_.

Referenced by Initialize(), and OpenInContext().

◆ OpenInContext()

◆ ReorderSourcePalette()

absl::Status yaze::editor::GraphicsEditor::ReorderSourcePalette ( const std::vector< size_t > & targets,
const std::array< uint8_t, 8 > & permutation )

◆ HighlightTile()

void yaze::editor::GraphicsEditor::HighlightTile ( uint16_t sheet_id,
uint16_t tile_index,
const std::string & label = "",
double duration_secs = 3.0 )

Definition at line 1128 of file graphics_editor.cc.

References yaze::editor::GraphicsEditorState::HighlightTile(), yaze::zelda3::kNumGfxSheets, and state_.

Here is the call graph for this function:

◆ rom()

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

Definition at line 235 of file graphics_editor.h.

References rom_.

Referenced by DecompressImportData(), DrawPaletteControls(), Load(), and set_rom().

◆ PrepareGraphicsSave()

◆ EditProject()

absl::Status yaze::editor::GraphicsEditor::EditProject ( const std::function< void(project::YazeProject &)> & edit)
private

◆ DrawPrototypeViewer()

◆ DrawCgxImport()

◆ DrawScrImport()

◆ DrawFileImport()

◆ DrawObjImport()

absl::Status yaze::editor::GraphicsEditor::DrawObjImport ( )
private

◆ DrawTilemapImport()

◆ DrawPaletteControls()

◆ DrawClipboardImport()

◆ DrawExperimentalFeatures()

absl::Status yaze::editor::GraphicsEditor::DrawExperimentalFeatures ( )
private

Definition at line 901 of file graphics_editor.cc.

References DecompressSuperDonkey(), file_path_, RETURN_IF_ERROR, and yaze::gui::TextWithSeparators().

Referenced by DrawPrototypeViewer().

Here is the call graph for this function:

◆ DrawMemoryEditor()

absl::Status yaze::editor::GraphicsEditor::DrawMemoryEditor ( )
private

Definition at line 917 of file graphics_editor.cc.

References yaze::gui::MemoryEditorWidget::DrawWindow(), is_open_, yaze::Rom::mutable_data(), yaze::Rom::size(), and temp_rom_.

Referenced by DrawPrototypeViewer().

Here is the call graph for this function:

◆ DecompressImportData()

◆ DecompressSuperDonkey()

Friends And Related Symbol Documentation

◆ GraphicsEditorSaveStoplossTestPeer

friend class GraphicsEditorSaveStoplossTestPeer
friend

Definition at line 252 of file graphics_editor.h.

◆ AuthoringSaveWorkflowTestPeer

friend class AuthoringSaveWorkflowTestPeer
friend

Definition at line 253 of file graphics_editor.h.

Member Data Documentation

◆ verify_written_sheet_

std::function<absl::Status(const Rom&, uint16_t, const std::vector<uint8_t>&, const zelda3::GfxSheetPointerTables&) yaze::editor::GraphicsEditor::verify_written_sheet_) = VerifyWrittenSheetPixels
private

Definition at line 250 of file graphics_editor.h.

Referenced by PlanGraphicsSave(), and Save().

◆ state_

◆ save_transaction_modified_sheets_

std::optional<std::set<uint16_t> > yaze::editor::GraphicsEditor::save_transaction_modified_sheets_
private

◆ sheet_browser_panel_

std::unique_ptr<SheetBrowserPanel> yaze::editor::GraphicsEditor::sheet_browser_panel_
private

Definition at line 264 of file graphics_editor.h.

Referenced by Initialize(), set_rom(), and SetGameData().

◆ pixel_editor_panel_

std::unique_ptr<PixelEditorPanel> yaze::editor::GraphicsEditor::pixel_editor_panel_
private

◆ palette_controls_panel_

std::unique_ptr<PaletteControlsPanel> yaze::editor::GraphicsEditor::palette_controls_panel_
private

Definition at line 266 of file graphics_editor.h.

Referenced by Initialize().

◆ link_sprite_panel_

std::unique_ptr<LinkSpritePanel> yaze::editor::GraphicsEditor::link_sprite_panel_
private

Definition at line 267 of file graphics_editor.h.

Referenced by Initialize(), and set_rom().

◆ gfx_group_panel_

std::unique_ptr<GfxGroupEditor> yaze::editor::GraphicsEditor::gfx_group_panel_
private

◆ main_graphics_usage_

GfxGroupEditor::MainUsageCallback yaze::editor::GraphicsEditor::main_graphics_usage_
private

◆ roomset_graphics_usage_

GfxGroupEditor::RoomsetUsageCallback yaze::editor::GraphicsEditor::roomset_graphics_usage_
private

◆ paletteset_panel_

std::unique_ptr<PalettesetEditorPanel> yaze::editor::GraphicsEditor::paletteset_panel_
private

Definition at line 271 of file graphics_editor.h.

Referenced by Initialize(), set_rom(), and SetGameData().

◆ polyhedral_panel_

std::unique_ptr<PolyhedralEditorPanel> yaze::editor::GraphicsEditor::polyhedral_panel_
private

Definition at line 272 of file graphics_editor.h.

Referenced by Initialize(), and set_rom().

◆ room_usage_provider_

usage_preview::LiveRoomProvider yaze::editor::GraphicsEditor::room_usage_provider_
private

Definition at line 273 of file graphics_editor.h.

Referenced by Initialize(), and SetRoomUsageProvider().

◆ usage_preview_view_

std::unique_ptr<UsagePreviewView> yaze::editor::GraphicsEditor::usage_preview_view_
private

Definition at line 274 of file graphics_editor.h.

Referenced by Initialize(), Load(), set_rom(), SetGameData(), and SetRoomUsageProvider().

◆ current_palette_

int yaze::editor::GraphicsEditor::current_palette_ = 0
private

◆ current_offset_

uint64_t yaze::editor::GraphicsEditor::current_offset_ = 0
private

Definition at line 292 of file graphics_editor.h.

Referenced by DecompressImportData(), and DrawFileImport().

◆ current_palette_index_

uint64_t yaze::editor::GraphicsEditor::current_palette_index_ = 0
private

Definition at line 293 of file graphics_editor.h.

Referenced by DecompressSuperDonkey(), and DrawPaletteControls().

◆ current_bpp_

int yaze::editor::GraphicsEditor::current_bpp_ = 0
private

Definition at line 294 of file graphics_editor.h.

Referenced by DrawCgxImport(), and DrawScrImport().

◆ scr_mod_value_

int yaze::editor::GraphicsEditor::scr_mod_value_ = 0
private

Definition at line 295 of file graphics_editor.h.

Referenced by DrawScrImport().

◆ num_sheets_to_load_

uint64_t yaze::editor::GraphicsEditor::num_sheets_to_load_ = 1
private

◆ bin_size_

uint64_t yaze::editor::GraphicsEditor::bin_size_ = 0
private

Definition at line 297 of file graphics_editor.h.

Referenced by DrawFileImport().

◆ clipboard_offset_

uint64_t yaze::editor::GraphicsEditor::clipboard_offset_ = 0
private

Definition at line 298 of file graphics_editor.h.

Referenced by DrawClipboardImport().

◆ clipboard_size_

uint64_t yaze::editor::GraphicsEditor::clipboard_size_ = 0
private

Definition at line 299 of file graphics_editor.h.

Referenced by DrawClipboardImport().

◆ refresh_graphics_

bool yaze::editor::GraphicsEditor::refresh_graphics_ = false
private

Definition at line 300 of file graphics_editor.h.

Referenced by DrawPaletteControls().

◆ open_memory_editor_

bool yaze::editor::GraphicsEditor::open_memory_editor_ = false
private

Definition at line 301 of file graphics_editor.h.

Referenced by DrawClipboardImport(), and DrawPrototypeViewer().

◆ gfx_loaded_

bool yaze::editor::GraphicsEditor::gfx_loaded_ = false
private

Definition at line 302 of file graphics_editor.h.

Referenced by DecompressImportData(), and DrawPrototypeViewer().

◆ is_open_

bool yaze::editor::GraphicsEditor::is_open_ = false
private

◆ super_donkey_

bool yaze::editor::GraphicsEditor::super_donkey_ = false
private

Definition at line 304 of file graphics_editor.h.

Referenced by DecompressSuperDonkey(), and DrawPrototypeViewer().

◆ col_file_

bool yaze::editor::GraphicsEditor::col_file_ = false
private

◆ cgx_loaded_

bool yaze::editor::GraphicsEditor::cgx_loaded_ = false
private

Definition at line 306 of file graphics_editor.h.

Referenced by DrawCgxImport(), and DrawPrototypeViewer().

◆ scr_loaded_

bool yaze::editor::GraphicsEditor::scr_loaded_ = false
private

Definition at line 307 of file graphics_editor.h.

Referenced by DrawPrototypeViewer(), and DrawScrImport().

◆ obj_loaded_

bool yaze::editor::GraphicsEditor::obj_loaded_ = false
private

Definition at line 308 of file graphics_editor.h.

Referenced by DrawObjImport().

◆ tilemap_loaded_

bool yaze::editor::GraphicsEditor::tilemap_loaded_ = false
private

Definition at line 309 of file graphics_editor.h.

Referenced by DrawTilemapImport().

◆ file_path_

std::string yaze::editor::GraphicsEditor::file_path_
private

Definition at line 311 of file graphics_editor.h.

Referenced by DrawExperimentalFeatures(), and DrawFileImport().

◆ col_file_path_

std::string yaze::editor::GraphicsEditor::col_file_path_
private

Definition at line 312 of file graphics_editor.h.

Referenced by DrawPaletteControls().

◆ col_file_name_

std::string yaze::editor::GraphicsEditor::col_file_name_
private

Definition at line 313 of file graphics_editor.h.

Referenced by DrawPaletteControls().

◆ cgx_file_path_

std::string yaze::editor::GraphicsEditor::cgx_file_path_
private

Definition at line 314 of file graphics_editor.h.

Referenced by DrawCgxImport().

◆ cgx_file_name_

std::string yaze::editor::GraphicsEditor::cgx_file_name_
private

Definition at line 315 of file graphics_editor.h.

Referenced by DrawCgxImport().

◆ scr_file_path_

std::string yaze::editor::GraphicsEditor::scr_file_path_
private

Definition at line 316 of file graphics_editor.h.

Referenced by DrawScrImport().

◆ scr_file_name_

std::string yaze::editor::GraphicsEditor::scr_file_name_
private

Definition at line 317 of file graphics_editor.h.

Referenced by DrawScrImport().

◆ obj_file_path_

std::string yaze::editor::GraphicsEditor::obj_file_path_
private

Definition at line 318 of file graphics_editor.h.

Referenced by DrawObjImport().

◆ tilemap_file_path_

std::string yaze::editor::GraphicsEditor::tilemap_file_path_
private

Definition at line 319 of file graphics_editor.h.

Referenced by DrawTilemapImport().

◆ tilemap_file_name_

std::string yaze::editor::GraphicsEditor::tilemap_file_name_
private

Definition at line 320 of file graphics_editor.h.

◆ temp_rom_

Rom yaze::editor::GraphicsEditor::temp_rom_
private

◆ tilemap_rom_

Rom yaze::editor::GraphicsEditor::tilemap_rom_
private

Definition at line 323 of file graphics_editor.h.

Referenced by DrawTilemapImport().

◆ import_data_

std::vector<uint8_t> yaze::editor::GraphicsEditor::import_data_
private

Definition at line 324 of file graphics_editor.h.

Referenced by DecompressImportData().

◆ decoded_cgx_

std::vector<uint8_t> yaze::editor::GraphicsEditor::decoded_cgx_
private

Definition at line 325 of file graphics_editor.h.

Referenced by DrawCgxImport(), and DrawScrImport().

◆ cgx_data_

std::vector<uint8_t> yaze::editor::GraphicsEditor::cgx_data_
private

Definition at line 326 of file graphics_editor.h.

Referenced by DrawCgxImport().

◆ extra_cgx_data_

std::vector<uint8_t> yaze::editor::GraphicsEditor::extra_cgx_data_
private

Definition at line 327 of file graphics_editor.h.

Referenced by DrawCgxImport().

◆ decoded_col_

std::vector<SDL_Color> yaze::editor::GraphicsEditor::decoded_col_
private

Definition at line 328 of file graphics_editor.h.

Referenced by DrawCgxImport(), DrawPaletteControls(), and DrawScrImport().

◆ scr_data_

std::vector<uint8_t> yaze::editor::GraphicsEditor::scr_data_
private

Definition at line 329 of file graphics_editor.h.

Referenced by DrawScrImport().

◆ decoded_scr_data_

std::vector<uint8_t> yaze::editor::GraphicsEditor::decoded_scr_data_
private

Definition at line 330 of file graphics_editor.h.

Referenced by DrawScrImport().

◆ cgx_bitmap_

gfx::Bitmap yaze::editor::GraphicsEditor::cgx_bitmap_
private

Definition at line 331 of file graphics_editor.h.

Referenced by DrawCgxImport(), and DrawPrototypeViewer().

◆ scr_bitmap_

gfx::Bitmap yaze::editor::GraphicsEditor::scr_bitmap_
private

Definition at line 332 of file graphics_editor.h.

Referenced by DrawPrototypeViewer(), and DrawScrImport().

◆ bin_bitmap_

gfx::Bitmap yaze::editor::GraphicsEditor::bin_bitmap_
private

Definition at line 333 of file graphics_editor.h.

Referenced by DecompressImportData(), and DrawPrototypeViewer().

◆ gfx_sheets_

std::array<gfx::Bitmap, zelda3::kNumGfxSheets> yaze::editor::GraphicsEditor::gfx_sheets_
private

Definition at line 334 of file graphics_editor.h.

Referenced by DecompressSuperDonkey(), and DrawPrototypeViewer().

◆ col_file_palette_group_

gfx::PaletteGroup yaze::editor::GraphicsEditor::col_file_palette_group_
private

Definition at line 335 of file graphics_editor.h.

Referenced by DecompressSuperDonkey(), and DrawPaletteControls().

◆ z3_rom_palette_

gfx::SnesPalette yaze::editor::GraphicsEditor::z3_rom_palette_
private

Definition at line 336 of file graphics_editor.h.

Referenced by DecompressImportData(), and DecompressSuperDonkey().

◆ col_file_palette_

gfx::SnesPalette yaze::editor::GraphicsEditor::col_file_palette_
private

Definition at line 337 of file graphics_editor.h.

Referenced by DecompressImportData(), and DrawPaletteControls().

◆ import_canvas_

gui::Canvas yaze::editor::GraphicsEditor::import_canvas_
private

Definition at line 338 of file graphics_editor.h.

Referenced by DrawPrototypeViewer().

◆ scr_canvas_

gui::Canvas yaze::editor::GraphicsEditor::scr_canvas_
private

Definition at line 339 of file graphics_editor.h.

Referenced by DrawPrototypeViewer().

◆ super_donkey_canvas_

gui::Canvas yaze::editor::GraphicsEditor::super_donkey_canvas_
private

Definition at line 340 of file graphics_editor.h.

◆ prototype_import_feedback_

std::string yaze::editor::GraphicsEditor::prototype_import_feedback_
private

Definition at line 343 of file graphics_editor.h.

Referenced by DrawCgxImport(), DrawPrototypeViewer(), and DrawScrImport().

◆ status_

absl::Status yaze::editor::GraphicsEditor::status_
private

◆ rom_

Rom* yaze::editor::GraphicsEditor::rom_
private

◆ game_data_

zelda3::GameData* yaze::editor::GraphicsEditor::game_data_ = nullptr
private

Definition at line 350 of file graphics_editor.h.

Referenced by Initialize(), set_rom(), and SetGameData().


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