Allows the user to edit sprites. More...
#include <sprite_editor.h>
Classes | |
| struct | OAMConfig |
Public Member Functions | |
| SpriteEditor (Rom *rom=nullptr) | |
| void | Initialize () override |
| absl::Status | Load () override |
| absl::Status | Update () override |
| absl::Status | Undo () override |
| absl::Status | Redo () override |
| absl::Status | Cut () override |
| absl::Status | Copy () override |
| absl::Status | Paste () override |
| absl::Status | Find () override |
| absl::Status | Save () override |
| void | SetDependencies (const EditorDependencies &deps) override |
| absl::Status | ReloadSpriteCatalog () |
| absl::Status | OpenCatalogSource (const zelda3::SpriteSourceBinding &binding) |
| const std::optional< zelda3::SpriteCatalog > & | sprite_catalog () const |
| const std::optional< zelda3::SpriteSourceDocument > & | catalog_source () const |
| absl::Status | ImportCatalogDraw (const zelda3::SpriteSourceBinding &binding, const std::string &catalog_key="") |
| absl::Status | OpenSpriteAsset (const std::string &path) |
| absl::Status | SaveSpriteAsset (const std::string &path) |
| absl::Status | ReloadProjectSpriteAssets () |
| absl::Status | CheckCurrentSpriteSource () |
| absl::StatusOr< std::string > | ExportCurrentSpriteDraw () |
| absl::Status | SetSpriteBehavior (const project::SpriteBehavior &behavior) |
| absl::Status | BindOracleBehaviorProfile () |
| absl::StatusOr< std::string > | ExportCurrentSpriteBehavior (const std::string &prefix) |
| absl::Status | SetSpriteGraphics (const std::array< uint8_t, 8 > &sheets, const std::array< project::SpritePaletteBinding, 8 > &rows) |
| const project::SpriteAssetBinding * | current_sprite_binding () const |
| const zsprite::ZSprite * | current_custom_sprite () const |
| void | set_rom (Rom *rom) |
| Rom * | rom () const |
Public Member Functions inherited from yaze::editor::Editor | |
| Editor ()=default | |
| virtual | ~Editor ()=default |
| virtual void | SetGameData (zelda3::GameData *game_data) |
| virtual absl::Status | BeginSaveTransaction () |
| virtual void | RollbackSaveTransaction () |
| virtual void | CommitSaveTransaction () |
| virtual void | PrepareForSessionTeardown () |
| 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 |
| virtual void | ContributeStatus (StatusBar *) |
| virtual EditorContextSnapshot | BuildContextSnapshot () 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 |
Friends | |
| class | AuthoringSaveWorkflowTestPeer |
| struct | SpriteEditorPreviewTestPeer |
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_ |
Allows the user to edit sprites.
This class provides functionality for updating the sprite editor, drawing the editor table, drawing the sprite canvas, and drawing the current sheets. Supports both vanilla ROM sprites and custom ZSM format sprites.
Definition at line 49 of file sprite_editor.h.
|
inlineexplicit |
Definition at line 54 of file sprite_editor.h.
References yaze::editor::kSprite, and yaze::editor::Editor::type_.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 73 of file sprite_editor.cc.
References yaze::editor::Editor::dependencies_, DrawCustomSprites(), DrawSpriteCatalog(), yaze::Rom::is_loaded(), yaze::editor::WorkspaceWindowManager::RegisterWindowContent(), rom_, and yaze::editor::EditorDependencies::window_manager.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 96 of file sprite_editor.cc.
References asset_load_status_, current_custom_sprite(), current_sheets_, current_sprite_id_, yaze::editor::Editor::game_data(), gfx_buffer_loaded_, yaze::Rom::is_loaded(), yaze::zelda3::IsUnderworldSpriteset(), preview_needs_update_, preview_spriteset_, ReloadProjectSpriteAssets(), ReloadSpriteCatalog(), rom_, room_palette_cache_, SelectVanillaSprite(), sheets_loaded_, yaze::zelda3::SpriteSheetSlots(), and vanilla_preview_needs_update_.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 115 of file sprite_editor.cc.
References CommitUndoTransaction(), HandleEditorShortcuts(), last_frame_time_, rom(), sheets_loaded_, status_, and UpdateAnimationPlayback().
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 61 of file sprite_editor.h.
References yaze::editor::UndoManager::Undo(), and yaze::editor::Editor::undo_manager_.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 62 of file sprite_editor.h.
References yaze::editor::UndoManager::Redo(), and yaze::editor::Editor::undo_manager_.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 792 of file sprite_editor.cc.
References BeginUndoTransaction(), CommitUndoTransaction(), Copy(), current_custom_sprite_index_, current_frame_, custom_sprites_, yaze::editor::sprite_authoring::DeleteFrame(), MarkSpriteMutated(), RETURN_IF_ERROR, and selected_tile_index_.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 779 of file sprite_editor.cc.
References current_custom_sprite_index_, current_frame_, custom_sprites_, and frame_clipboard_.
Referenced by Cut().
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 808 of file sprite_editor.cc.
References BeginUndoTransaction(), CommitUndoTransaction(), current_custom_sprite_index_, current_frame_, custom_sprites_, frame_clipboard_, yaze::editor::sprite_authoring::kMaxFrames, MarkSpriteMutated(), and selected_tile_index_.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 66 of file sprite_editor.h.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 169 of file sprite_editor.cc.
References current_custom_sprite_index_, custom_sprites_, GetCurrentZsmPath(), SaveZsmFile(), SaveZsmFileAs(), and status_.
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 53 of file sprite_editor_catalog.cc.
References RefreshCatalogIfChanged(), and yaze::editor::Editor::SetDependencies().
| absl::Status yaze::editor::SpriteEditor::ReloadSpriteCatalog | ( | ) |
Definition at line 75 of file sprite_editor_catalog.cc.
References catalog_family_index_, catalog_filter_, catalog_path_, catalog_project_, catalog_raw_subtype_, catalog_scroll_to_label_, catalog_session_id_, catalog_source_, catalog_source_root_, catalog_source_status_, catalog_status_, yaze::editor::Editor::dependencies_, yaze::project::YazeProject::GetAbsolutePath(), yaze::zelda3::SpriteCatalog::Load(), yaze::editor::Editor::project(), yaze::editor::EditorDependencies::session_id, sprite_catalog_, yaze::project::YazeProject::sprite_catalog_file, and yaze::project::YazeProject::sprite_source_root.
Referenced by DrawSpriteCatalog(), Load(), and RefreshCatalogIfChanged().
| absl::Status yaze::editor::SpriteEditor::OpenCatalogSource | ( | const zelda3::SpriteSourceBinding & | binding | ) |
Definition at line 106 of file sprite_editor_catalog.cc.
References catalog_scroll_to_label_, catalog_source_, catalog_source_root_, catalog_source_status_, and yaze::zelda3::ReadSpriteSource().
Referenced by DrawSpriteCatalog(), and ImportCatalogDraw().
|
inline |
Definition at line 73 of file sprite_editor.h.
References sprite_catalog_.
|
inline |
Definition at line 76 of file sprite_editor.h.
References catalog_source_.
| absl::Status yaze::editor::SpriteEditor::ImportCatalogDraw | ( | const zelda3::SpriteSourceBinding & | binding, |
| const std::string & | catalog_key = "" ) |
Definition at line 12 of file sprite_editor_catalog.cc.
References yaze::zelda3::SpriteSourceBinding::adapter, catalog_source_, yaze::core::ComputeSourceArtifactSha256(), CreateNewZSprite(), custom_sprite_bindings_, custom_sprites_, yaze::editor::Editor::dependencies_, yaze::editor::WorkspaceWindowManager::GetVisibleWindowIds(), yaze::editor::sprite_authoring::ImportDrawAsset(), yaze::zelda3::SpriteSourceBinding::label, OpenCatalogSource(), yaze::zelda3::SpriteSourceBinding::path, RETURN_IF_ERROR, yaze::zelda3::SpriteSourceBinding::role, yaze::editor::EditorDependencies::session_id, yaze::editor::WorkspaceWindowManager::SetVisibleWindows(), source_check_status_, source_checked_, and yaze::editor::EditorDependencies::window_manager.
Referenced by DrawSpriteCatalog().
| absl::Status yaze::editor::SpriteEditor::OpenSpriteAsset | ( | const std::string & | path | ) |
Definition at line 56 of file sprite_editor_assets.cc.
References animation_playing_, ApplyCurrentSpriteBinding(), CheckCurrentSpriteSource(), current_animation_index_, current_custom_sprite_index_, current_frame_, custom_sprite_paths_, custom_sprites_, LoadZsmFile(), selected_tile_index_, and status_.
Referenced by DrawCustomSpritesMetadata(), and ReloadProjectSpriteAssets().
| absl::Status yaze::editor::SpriteEditor::SaveSpriteAsset | ( | const std::string & | path | ) |
Definition at line 80 of file sprite_editor_assets.cc.
References current_custom_sprite(), SaveZsmFile(), and status_.
| absl::Status yaze::editor::SpriteEditor::ReloadProjectSpriteAssets | ( | ) |
Definition at line 89 of file sprite_editor_assets.cc.
References OpenSpriteAsset(), yaze::editor::Editor::project(), yaze::project::YazeProject::sprite_assets, and status_.
Referenced by Load().
| absl::Status yaze::editor::SpriteEditor::CheckCurrentSpriteSource | ( | ) |
Definition at line 103 of file sprite_editor_assets.cc.
References yaze::core::ComputeSourceArtifactSha256(), current_sprite_binding(), yaze::project::YazeProject::GetAbsolutePath(), yaze::editor::Editor::project(), yaze::zelda3::ReadSpriteSource(), source_check_status_, and source_checked_.
Referenced by DrawCustomSpritesMetadata(), DrawSpriteAssetBindings(), ExportCurrentSpriteBehavior(), ExportCurrentSpriteDraw(), LoadZsmFile(), and OpenSpriteAsset().
| absl::StatusOr< std::string > yaze::editor::SpriteEditor::ExportCurrentSpriteDraw | ( | ) |
Definition at line 128 of file sprite_editor_assets.cc.
References CheckCurrentSpriteSource(), current_custom_sprite(), current_sprite_binding(), yaze::editor::sprite_authoring::ExportDrawTables(), RETURN_IF_ERROR, and yaze::editor::sprite_authoring::ValidateDrawAdapter().
Referenced by DrawAnimationPanel().
| absl::Status yaze::editor::SpriteEditor::SetSpriteBehavior | ( | const project::SpriteBehavior & | behavior | ) |
Definition at line 9 of file sprite_editor_behavior.cc.
References yaze::project::SpriteBehavior::actions, BeginUndoTransaction(), behavior_candidate_, CommitUndoTransaction(), current_custom_sprite_index_, current_sprite_binding(), custom_sprite_bindings_, MarkSpriteMutated(), yaze::project::SpriteBehavior::profile, yaze::project::SpriteBehaviorFromJson(), and yaze::project::SpriteBehaviorToJson().
Referenced by BindOracleBehaviorProfile(), and DrawSpriteBehaviorPanel().
| absl::Status yaze::editor::SpriteEditor::BindOracleBehaviorProfile | ( | ) |
Definition at line 30 of file sprite_editor_behavior.cc.
References yaze::project::SpriteAssetBinding::behavior, current_sprite_binding(), yaze::project::YazeProject::GetAbsolutePath(), yaze::project::SpriteBehavior::profile, yaze::editor::Editor::project(), yaze::editor::sprite_behavior::ReadReviewedProfile(), and SetSpriteBehavior().
Referenced by DrawSpriteBehaviorPanel().
| absl::StatusOr< std::string > yaze::editor::SpriteEditor::ExportCurrentSpriteBehavior | ( | const std::string & | prefix | ) |
Definition at line 47 of file sprite_editor_behavior.cc.
References CheckCurrentSpriteSource(), current_custom_sprite(), current_sprite_binding(), yaze::editor::sprite_behavior::GenerateCandidate(), yaze::project::YazeProject::GetAbsolutePath(), yaze::editor::Editor::project(), RETURN_IF_ERROR, yaze::editor::sprite_behavior::Validate(), and yaze::editor::sprite_behavior::VerifyProfile().
Referenced by DrawSpriteBehaviorPanel().
| absl::Status yaze::editor::SpriteEditor::SetSpriteGraphics | ( | const std::array< uint8_t, 8 > & | sheets, |
| const std::array< project::SpritePaletteBinding, 8 > & | rows ) |
Definition at line 33 of file sprite_editor_assets.cc.
References ApplyCurrentSpriteBinding(), BeginUndoTransaction(), CommitUndoTransaction(), current_custom_sprite_index_, current_sprite_binding(), custom_sprite_bindings_, MarkSpriteMutated(), yaze::project::SpriteAssetFromJson(), and yaze::project::SpriteAssetToJson().
Referenced by DrawSpriteAssetBindings().
| const project::SpriteAssetBinding * yaze::editor::SpriteEditor::current_sprite_binding | ( | ) | const |
Definition at line 11 of file sprite_editor_assets.cc.
References current_custom_sprite_index_, and custom_sprite_bindings_.
Referenced by ApplyCurrentSpriteBinding(), BindOracleBehaviorProfile(), CheckCurrentSpriteSource(), DrawSpriteAssetBindings(), DrawSpriteBehaviorPanel(), ExportCurrentSpriteBehavior(), ExportCurrentSpriteDraw(), LoadSpritePalettes(), OpenSelectedOamGraphics(), SetSpriteBehavior(), and SetSpriteGraphics().
|
inline |
Definition at line 96 of file sprite_editor.h.
References current_custom_sprite_index_, and custom_sprites_.
Referenced by ApplySpritesetToSheets(), DrawCurrentSheets(), DrawFrameTileWarnings(), DrawSpriteBehaviorPanel(), ExportCurrentSpriteBehavior(), ExportCurrentSpriteDraw(), Load(), OpenSelectedOamGraphics(), and SaveSpriteAsset().
|
inline |
|
inline |
Definition at line 105 of file sprite_editor.h.
References rom_.
Referenced by DrawSpritesList(), set_rom(), and Update().
|
private |
Definition at line 138 of file sprite_editor_assets.cc.
References BeginUndoTransaction(), CheckCurrentSpriteSource(), current_sprite_binding(), graphics_binding_status_, palette_binding_status_, SetSpriteGraphics(), source_check_status_, and source_checked_.
Referenced by DrawCustomSpritesMetadata().
|
private |
Definition at line 65 of file sprite_editor_behavior.cc.
References animation_playing_, yaze::editor::zsprite::ZSprite::animations, BeginUndoTransaction(), yaze::project::SpriteAssetBinding::behavior, behavior_candidate_, behavior_prefix_, behavior_status_, BindOracleBehaviorProfile(), current_animation_index_, current_custom_sprite(), current_frame_, current_sprite_binding(), ExportCurrentSpriteBehavior(), frame_timer_, yaze::project::SpriteBehaviorAction::name, preview_needs_update_, yaze::editor::sprite_behavior::RemoveAction(), selected_behavior_action_, and SetSpriteBehavior().
Referenced by DrawCustomSpritesMetadata().
|
private |
Definition at line 20 of file sprite_editor_assets.cc.
References behavior_candidate_, behavior_status_, current_sheets_, current_sprite_binding(), gfx_buffer_loaded_, graphics_binding_status_, palette_binding_status_, preview_needs_update_, and source_checked_.
Referenced by DrawCustomSpritesMetadata(), LoadZsmFile(), OpenSpriteAsset(), RestoreFromSnapshot(), and SetSpriteGraphics().
|
private |
Definition at line 118 of file sprite_editor_catalog.cc.
References catalog_family_index_, catalog_filter_, catalog_path_, catalog_raw_subtype_, catalog_scroll_to_label_, catalog_source_, catalog_source_root_, catalog_source_status_, catalog_status_, ImportCatalogDraw(), OpenCatalogSource(), yaze::editor::Editor::project(), RefreshCatalogIfChanged(), ReloadSpriteCatalog(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), yaze::util::FileDialogWrapper::ShowOpenFolderDialog(), sprite_catalog_, yaze::project::YazeProject::sprite_catalog_file, and yaze::project::YazeProject::sprite_source_root.
Referenced by Initialize().
|
private |
Definition at line 58 of file sprite_editor_catalog.cc.
References catalog_path_, catalog_project_, catalog_session_id_, catalog_source_root_, yaze::editor::Editor::dependencies_, yaze::editor::Editor::project(), ReloadSpriteCatalog(), and yaze::editor::EditorDependencies::session_id.
Referenced by DrawSpriteCatalog(), and SetDependencies().
|
private |
Definition at line 138 of file sprite_editor.cc.
References animation_playing_, current_frame_, current_sprite_id_, preview_needs_update_, and SelectVanillaSprite().
Referenced by Update().
|
private |
Definition at line 190 of file sprite_editor.cc.
References active_sprites_, current_sprite_id_, pending_sprite_tab_, and vanilla_preview_needs_update_.
Referenced by DrawSpritesList(), DrawVanillaSpriteEditor(), HandleEditorShortcuts(), and Load().
|
private |
Definition at line 200 of file sprite_editor.cc.
References current_sprite_id_, yaze::zelda3::SpriteOamRegistry::GetLayout(), yaze::zelda3::SpriteOamRegistry::GetPreviewOverride(), and yaze::editor::Editor::project().
Referenced by DrawSpriteCanvas().
|
private |
Definition at line 207 of file sprite_editor.cc.
References active_sprites_, yaze::gui::AutoRegisterLastItem(), yaze::gui::BeginThemedTabBar(), current_sprite_id_, DrawCurrentSheets(), DrawSpriteCanvas(), DrawSpritesList(), yaze::gui::EndThemedTabBar(), ICON_MD_ADD, yaze::zelda3::kSpriteDefaultNames, yaze::editor::kSpriteTabBarFlags, yaze::editor::kSpriteTabFlags, pending_sprite_tab_, SelectVanillaSprite(), sheets_loaded_, and vanilla_preview_needs_update_.
|
private |
Definition at line 635 of file sprite_editor.cc.
References current_sprite_id_, yaze::gui::GetID(), yaze::util::HexByte(), yaze::zelda3::kSpriteDefaultNames, yaze::Rom::resource_label(), rom(), yaze::project::ResourceLabelManager::SelectableLabelWithNameEdit(), and SelectVanillaSprite().
Referenced by DrawVanillaSpriteEditor().
|
private |
Definition at line 275 of file sprite_editor.cc.
References yaze::editor::sprite_authoring::CopyVanillaLayout(), CreateNewZSprite(), current_sheets_, current_sprite_id_, CurrentPreviewLayout(), custom_sprite_bindings_, custom_sprites_, yaze::editor::Editor::dependencies_, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::GetID(), yaze::editor::WorkspaceWindowManager::GetVisibleWindowIds(), yaze::gui::GetWarningColor(), graphics_binding_status_, yaze::gfx::Bitmap::is_active(), palette_binding_status_, RenderVanillaSprite(), yaze::editor::EditorDependencies::session_id, yaze::editor::WorkspaceWindowManager::SetVisibleWindows(), sprite_canvas_, vanilla_preview_bitmap_, yaze::gfx::Bitmap::vector(), and yaze::editor::EditorDependencies::window_manager.
Referenced by DrawVanillaSpriteEditor().
|
private |
Definition at line 586 of file sprite_editor.cc.
References BeginUndoTransaction(), CommitUndoTransaction(), current_custom_sprite(), current_custom_sprite_index_, current_sheets_, custom_sprite_bindings_, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), DrawSpritesetPicker(), yaze::gui::Canvas::DrawTileSelector(), yaze::gfx::Arena::Get(), yaze::gui::Canvas::GetConfig(), yaze::gui::GetID(), gfx_buffer_loaded_, yaze::gfx::Arena::gfx_sheets(), graphics_sheet_canvas_, yaze::gui::InputHexByte(), yaze::gui::kSelectionSource, MarkSpriteMutated(), preview_needs_update_, and yaze::gui::CanvasConfig::role.
Referenced by DrawCustomSprites(), and DrawVanillaSpriteEditor().
|
private |
Definition at line 182 of file sprite_editor.cc.
|
private |
Definition at line 657 of file sprite_editor.cc.
References DrawCurrentSheets(), DrawCustomSpritesMetadata(), and DrawZSpriteOnCanvas().
Referenced by Initialize().
|
private |
Definition at line 684 of file sprite_editor.cc.
References animation_playing_, ApplyCurrentSpriteBinding(), asset_load_status_, yaze::gui::BeginThemedTabBar(), BeginUndoTransaction(), CheckCurrentSpriteSource(), CommitUndoTransaction(), CreateNewZSprite(), current_animation_index_, current_custom_sprite_index_, current_frame_, custom_sprites_, DrawAnimationPanel(), DrawSpriteAssetBindings(), DrawSpriteBehaviorPanel(), DrawSpritePropertiesPanel(), DrawUserRoutinesPanel(), yaze::gui::EndThemedTabBar(), frame_timer_, GetCurrentZsmPath(), ICON_MD_ADD, ICON_MD_FOLDER_OPEN, ICON_MD_SAVE, ICON_MD_SAVE_AS, OpenSpriteAsset(), preview_needs_update_, SaveZsmFile(), SaveZsmFileAs(), selected_routine_index_, selected_tile_index_, yaze::util::FileDialogWrapper::ShowOpenFileDialog(), and status_.
Referenced by DrawCustomSprites().
|
private |
Definition at line 825 of file sprite_editor.cc.
References animation_playing_, yaze::editor::zsprite::ZSprite::animations, current_animation_index_, current_custom_sprite_index_, current_frame_, current_sheets_, custom_sprite_bindings_, custom_sprite_paths_, custom_sprites_, yaze::editor::zsprite::ZSprite::editor, frame_timer_, yaze::editor::zsprite::SubEditor::Frames, preview_needs_update_, yaze::editor::zsprite::ZSprite::Reset(), selected_routine_index_, selected_tile_index_, yaze::project::SpriteAssetBinding::sheets, source_checked_, yaze::editor::zsprite::ZSprite::sprName, and zsm_dirty_.
Referenced by DrawCustomSpritesMetadata(), DrawSpriteCanvas(), and ImportCatalogDraw().
|
private |
Definition at line 853 of file sprite_editor.cc.
References animation_playing_, ApplyCurrentSpriteBinding(), CheckCurrentSpriteSource(), current_animation_index_, current_custom_sprite_index_, current_frame_, current_sheets_, custom_sprite_bindings_, custom_sprite_paths_, custom_sprites_, frame_timer_, yaze::project::YazeProject::GetAbsolutePath(), yaze::editor::zsprite::ZSprite::Load(), preview_needs_update_, yaze::editor::Editor::project(), selected_routine_index_, selected_tile_index_, yaze::project::SpriteAssetBinding::sheets, yaze::project::YazeProject::sprite_assets, status_, zsm_dirty_, and yaze::project::SpriteAssetBinding::zsm_path.
Referenced by OpenSpriteAsset().
|
private |
Definition at line 886 of file sprite_editor.cc.
References current_custom_sprite_index_, custom_sprite_bindings_, custom_sprites_, yaze::editor::Editor::project(), SetCurrentZsmPath(), yaze::project::YazeProject::sprite_assets, status_, and zsm_dirty_.
Referenced by DrawCustomSpritesMetadata(), Save(), SaveSpriteAsset(), and SaveZsmFileAs().
|
private |
Definition at line 910 of file sprite_editor.cc.
References current_custom_sprite_index_, SaveZsmFile(), and yaze::util::FileDialogWrapper::ShowSaveFileDialog().
Referenced by DrawCustomSpritesMetadata(), and Save().
|
private |
Definition at line 1858 of file sprite_editor.cc.
References custom_sprite_paths_, and custom_sprites_.
Referenced by SetCurrentZsmPath().
|
private |
Definition at line 1864 of file sprite_editor.cc.
References current_custom_sprite_index_, and custom_sprite_paths_.
Referenced by DrawCustomSpritesMetadata(), and Save().
|
private |
Definition at line 1874 of file sprite_editor.cc.
References current_custom_sprite_index_, custom_sprite_paths_, and EnsureCustomSpritePaths().
Referenced by SaveZsmFile().
|
private |
Definition at line 924 of file sprite_editor.cc.
References current_custom_sprite_index_, custom_sprites_, DrawBooleanProperties(), DrawStatProperties(), and MarkSpriteMutated().
Referenced by DrawCustomSpritesMetadata().
|
private |
Definition at line 996 of file sprite_editor.cc.
References current_custom_sprite_index_, custom_sprites_, and MarkSpriteMutated().
Referenced by DrawSpritePropertiesPanel().
|
private |
Definition at line 953 of file sprite_editor.cc.
References current_custom_sprite_index_, custom_sprites_, and MarkSpriteMutated().
Referenced by DrawSpritePropertiesPanel().
|
private |
Definition at line 1068 of file sprite_editor.cc.
References animation_playing_, current_animation_index_, current_custom_sprite_index_, current_frame_, custom_sprite_bindings_, custom_sprites_, draw_export_status_, DrawFrameEditor(), ExportCurrentSpriteDraw(), frame_timer_, HOVER_HINT, ICON_MD_ADD, ICON_MD_PLAY_ARROW, ICON_MD_SKIP_NEXT, ICON_MD_SKIP_PREVIOUS, ICON_MD_STOP, MarkSpriteMutated(), and preview_needs_update_.
Referenced by DrawCustomSpritesMetadata().
|
private |
|
private |
Definition at line 1206 of file sprite_editor.cc.
References yaze::editor::sprite_authoring::AppendFrame(), current_custom_sprite_index_, current_frame_, custom_sprites_, yaze::editor::sprite_authoring::DeleteFrame(), frame_timer_, graphics_context_status_, HOVER_HINT, ICON_MD_ADD, ICON_MD_DELETE, yaze::editor::sprite_authoring::kOriginX, yaze::editor::sprite_authoring::kOriginY, MarkSpriteMutated(), yaze::editor::sprite_authoring::OffsetX(), yaze::editor::sprite_authoring::OffsetY(), OpenSelectedOamGraphics(), preview_needs_update_, and selected_tile_index_.
Referenced by DrawAnimationPanel().
|
private |
Definition at line 1365 of file sprite_editor.cc.
References yaze::editor::sprite_authoring::Advance(), animation_playing_, current_animation_index_, current_custom_sprite_index_, current_frame_, custom_sprites_, frame_timer_, and preview_needs_update_.
Referenced by Update().
|
private |
Definition at line 1389 of file sprite_editor.cc.
References current_custom_sprite_index_, custom_sprites_, HOVER_HINT, ICON_MD_ADD, MarkSpriteMutated(), and selected_routine_index_.
Referenced by DrawCustomSpritesMetadata().
|
private |
Definition at line 1644 of file sprite_editor.cc.
References yaze::gfx::SnesPalette::AddColor(), yaze::editor::SpriteDrawer::ClearBitmap(), current_custom_sprite_index_, custom_sprites_, yaze::gui::Canvas::DrawBitmap(), yaze::editor::SpriteDrawer::DrawFrame(), yaze::gui::Canvas::DrawRect(), yaze::editor::internal::EnsureSpritePreviewBitmapReady(), yaze::gui::Canvas::GetConfig(), graphics_binding_status_, yaze::gfx::Bitmap::is_active(), yaze::editor::SpriteDrawer::IsReady(), yaze::gui::kCompositeOutput, yaze::editor::sprite_authoring::OffsetX(), yaze::editor::sprite_authoring::OffsetY(), yaze::gfx::PaletteGroup::palette(), palette_binding_status_, preview_needs_update_, yaze::editor::internal::PublishSpritePreviewPixels(), RefreshSpritePreviewGraphics(), yaze::gui::CanvasConfig::role, selected_tile_index_, yaze::gfx::Bitmap::SetPalette(), show_tile_grid_, yaze::gfx::SnesPalette::size(), yaze::gfx::PaletteGroup::size(), sprite_canvas_, sprite_drawer_, sprite_gfx_buffer_, sprite_palettes_, and sprite_preview_bitmap_.
Referenced by DrawZSpriteOnCanvas().
|
private |
Definition at line 1736 of file sprite_editor.cc.
References current_custom_sprite_index_, current_frame_, custom_sprites_, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::GetID(), graphics_binding_status_, palette_binding_status_, RenderZSpriteFrame(), and sprite_canvas_.
Referenced by DrawCustomSprites().
|
private |
Definition at line 1449 of file sprite_editor.cc.
References yaze::gfx::PaletteManager::ColorRevision(), current_sheets_, yaze::editor::Editor::game_data(), yaze::gfx::PaletteManager::Get(), gfx_buffer_loaded_, loaded_preview_revisions_, loaded_preview_sheets_, LoadSpriteGraphicsBuffer(), LoadSpritePalettes(), preview_graphics_owner_, preview_needs_update_, preview_palette_revision_, yaze::zelda3::GraphicsSheetStore::Revision(), room_palette_cache_, yaze::zelda3::GraphicsSheetStoreHolder::sheet_store, and vanilla_preview_needs_update_.
Referenced by RenderVanillaSprite(), and RenderZSpriteFrame().
|
private |
Definition at line 1482 of file sprite_editor.cc.
References current_sheets_, yaze::editor::Editor::game_data(), gfx_buffer_loaded_, graphics_binding_status_, yaze::editor::SpriteDrawer::SetGraphicsBuffer(), yaze::zelda3::GraphicsSheetStore::Sheet(), yaze::zelda3::GraphicsSheetStoreHolder::sheet_store, sprite_drawer_, and sprite_gfx_buffer_.
Referenced by OpenSelectedOamGraphics(), and RefreshSpritePreviewGraphics().
|
private |
Definition at line 1528 of file sprite_editor.cc.
References yaze::editor::sprite_authoring::BindPaletteRows(), yaze::zelda3::BuildDungeonSpriteRenderPalette(), yaze::gfx::PaletteGroup::clear(), current_sprite_binding(), yaze::editor::internal::DefaultSpritePreviewPalettes(), yaze::editor::Editor::game_data(), yaze::gfx::PaletteGroupMap::global_sprites, yaze::Rom::is_loaded(), yaze::zelda3::LoadRoomHeaderFromRom(), palette_binding_status_, yaze::zelda3::GameData::palette_groups, preview_room_, preview_use_room_palette_, rom_, room_palette_cache_, room_palette_cache_room_, yaze::editor::SpriteDrawer::SetPalettes(), sprite_drawer_, sprite_palettes_, yaze::editor::internal::SpritePalettesFromCgram(), yaze::gfx::PaletteGroupMap::sprites_aux1, yaze::gfx::PaletteGroupMap::sprites_aux2, and yaze::gfx::PaletteGroupMap::sprites_aux3.
Referenced by OpenSelectedOamGraphics(), and RefreshSpritePreviewGraphics().
|
private |
Definition at line 1586 of file sprite_editor.cc.
References yaze::gfx::SnesPalette::AddColor(), yaze::editor::SpriteDrawer::ClearBitmap(), yaze::editor::sprite_authoring::CopyVanillaLayout(), yaze::editor::SpriteDrawer::DrawFrame(), yaze::editor::internal::EnsureSpritePreviewBitmapReady(), graphics_binding_status_, yaze::editor::SpriteDrawer::IsReady(), yaze::gfx::PaletteGroup::palette(), palette_binding_status_, yaze::editor::internal::PublishSpritePreviewPixels(), RefreshSpritePreviewGraphics(), yaze::gfx::Bitmap::SetPalette(), yaze::gfx::SnesPalette::size(), yaze::gfx::PaletteGroup::size(), sprite_drawer_, sprite_gfx_buffer_, sprite_palettes_, vanilla_preview_bitmap_, and vanilla_preview_needs_update_.
Referenced by DrawSpriteCanvas().
|
private |
Definition at line 1791 of file sprite_editor.cc.
References yaze::editor::SpriteSnapshot::binding, yaze::editor::SpriteSnapshot::current_animation_index, current_animation_index_, current_custom_sprite_index_, yaze::editor::SpriteSnapshot::current_frame, current_frame_, custom_sprite_bindings_, custom_sprites_, yaze::editor::SpriteSnapshot::sprite_data, and yaze::editor::SpriteSnapshot::sprite_index.
Referenced by BeginUndoTransaction(), and CommitUndoTransaction().
|
private |
Definition at line 1804 of file sprite_editor.cc.
References ApplyCurrentSpriteBinding(), yaze::editor::SpriteSnapshot::binding, yaze::editor::SpriteSnapshot::current_animation_index, current_animation_index_, current_custom_sprite_index_, yaze::editor::SpriteSnapshot::current_frame, current_frame_, custom_sprite_bindings_, custom_sprites_, preview_needs_update_, yaze::editor::SpriteSnapshot::sprite_data, yaze::editor::SpriteSnapshot::sprite_index, and zsm_dirty_.
Referenced by CommitUndoTransaction().
|
private |
Definition at line 1819 of file sprite_editor.cc.
References CaptureCurrentSpriteSnapshot(), undo_before_snapshot_, and undo_snapshot_pending_.
Referenced by ApplySpritesetToSheets(), Cut(), DrawCurrentSheets(), DrawCustomSpritesMetadata(), DrawSpriteAssetBindings(), DrawSpriteBehaviorPanel(), Paste(), SetSpriteBehavior(), and SetSpriteGraphics().
|
private |
Definition at line 1827 of file sprite_editor.cc.
References CaptureCurrentSpriteSnapshot(), yaze::editor::UndoManager::Push(), RestoreFromSnapshot(), sprite_mutated_this_frame_, undo_before_snapshot_, yaze::editor::Editor::undo_manager_, and undo_snapshot_pending_.
Referenced by ApplySpritesetToSheets(), Cut(), DrawCurrentSheets(), DrawCustomSpritesMetadata(), Paste(), SetSpriteBehavior(), SetSpriteGraphics(), and Update().
|
private |
Definition at line 1851 of file sprite_editor.cc.
References behavior_candidate_, preview_needs_update_, sprite_mutated_this_frame_, and zsm_dirty_.
Referenced by ApplySpritesetToSheets(), Cut(), DrawAnimationPanel(), DrawBooleanProperties(), DrawCurrentSheets(), DrawFrameEditor(), DrawSpritePropertiesPanel(), DrawStatProperties(), DrawUserRoutinesPanel(), Paste(), SetSpriteBehavior(), and SetSpriteGraphics().
|
private |
Definition at line 440 of file sprite_editor.cc.
References ApplySpritesetToSheets(), yaze::zelda3::CollectOverworldAreaGfx(), yaze::zelda3::CollectRoomGfx(), DrawFrameTileWarnings(), yaze::zelda3::FindSpritesetUsage(), yaze::editor::Editor::game_data(), yaze::gui::LayoutHelpers::GetHexInputWidth(), gfx_buffer_loaded_, HOVER_HINT, ICON_MD_DONE, ICON_MD_MEETING_ROOM, yaze::gui::InputHexByte(), yaze::Rom::is_loaded(), yaze::zelda3::IsUnderworldSpriteset(), yaze::zelda3::kDungeonSpritesetBase, yaze::zelda3::kNumDungeonRooms, yaze::zelda3::kNumSpritesets, preview_needs_update_, preview_room_, preview_spriteset_, preview_use_room_palette_, rom_, room_palette_cache_, yaze::zelda3::GameData::spriteset_ids, yaze::zelda3::SpriteSheetSlots(), usage_areas_, usage_rom_, and usage_rooms_.
Referenced by DrawCurrentSheets().
|
private |
Definition at line 342 of file sprite_editor.cc.
References BeginUndoTransaction(), CommitUndoTransaction(), current_custom_sprite(), current_custom_sprite_index_, current_sheets_, custom_sprite_bindings_, yaze::editor::Editor::game_data(), gfx_buffer_loaded_, yaze::zelda3::IsUnderworldSpriteset(), yaze::zelda3::kNumSpritesets, MarkSpriteMutated(), preview_needs_update_, and yaze::zelda3::SpriteSheetSlots().
Referenced by DrawSpritesetPicker().
|
private |
Definition at line 530 of file sprite_editor.cc.
References yaze::core::BuildGfxSheetInventoryOptions(), yaze::zelda3::CheckSpriteTiles(), current_custom_sprite(), current_custom_sprite_index_, current_frame_, current_sheets_, yaze::editor::internal::FrameTiles8x8(), yaze::gui::GetSuccessColor(), yaze::gui::GetWarningColor(), ICON_MD_CHECK, ICON_MD_WARNING, yaze::zelda3::SpriteTileIssue::kBlank, yaze::zelda3::SpriteTileIssue::kReservedSheet, yaze::editor::Editor::project(), rom_, tile_check_count_, tile_check_key_, and tile_issues_.
Referenced by DrawSpritesetPicker().
|
private |
Definition at line 363 of file sprite_editor.cc.
References yaze::editor::Editor::context(), current_custom_sprite(), current_custom_sprite_index_, current_frame_, current_sheets_, current_sprite_binding(), yaze::editor::EditorDependencies::custom_data, custom_sprites_, yaze::editor::Editor::dependencies_, yaze::editor::Editor::game_data(), gfx_buffer_loaded_, graphics_binding_status_, yaze::Rom::is_loaded(), yaze::editor::kGraphics, yaze::editor::kSprite, LoadSpriteGraphicsBuffer(), LoadSpritePalettes(), yaze::editor::sprite_graphics_context::Make(), palette_binding_status_, preview_needs_update_, preview_room_, preview_spriteset_, preview_use_room_palette_, yaze::editor::sprite_graphics_context::RenderCapturedFrame(), rom_, selected_tile_index_, and sprite_palettes_.
Referenced by DrawFrameEditor().
|
friend |
Definition at line 50 of file sprite_editor.h.
|
friend |
Definition at line 51 of file sprite_editor.h.
|
private |
Definition at line 108 of file sprite_editor.h.
|
private |
Definition at line 109 of file sprite_editor.h.
Referenced by DrawAnimationPanel().
|
private |
Definition at line 112 of file sprite_editor.h.
Referenced by DrawSpriteBehaviorPanel().
|
private |
Definition at line 113 of file sprite_editor.h.
Referenced by DrawSpriteBehaviorPanel().
|
private |
Definition at line 114 of file sprite_editor.h.
Referenced by ApplyCurrentSpriteBinding(), DrawSpriteBehaviorPanel(), MarkSpriteMutated(), and SetSpriteBehavior().
|
private |
Definition at line 115 of file sprite_editor.h.
Referenced by ApplyCurrentSpriteBinding(), and DrawSpriteBehaviorPanel().
|
private |
Definition at line 117 of file sprite_editor.h.
Referenced by ApplySpritesetToSheets(), CaptureCurrentSpriteSnapshot(), CreateNewZSprite(), current_sprite_binding(), DrawAnimationPanel(), DrawCurrentSheets(), DrawSpriteCanvas(), ImportCatalogDraw(), LoadZsmFile(), RestoreFromSnapshot(), SaveZsmFile(), SetSpriteBehavior(), and SetSpriteGraphics().
|
private |
Definition at line 118 of file sprite_editor.h.
Referenced by DrawCustomSpritesMetadata(), and Load().
|
private |
Definition at line 119 of file sprite_editor.h.
Referenced by ApplyCurrentSpriteBinding(), DrawSpriteAssetBindings(), DrawSpriteCanvas(), DrawZSpriteOnCanvas(), LoadSpritePalettes(), OpenSelectedOamGraphics(), RenderVanillaSprite(), and RenderZSpriteFrame().
|
private |
Definition at line 120 of file sprite_editor.h.
Referenced by ApplyCurrentSpriteBinding(), DrawSpriteAssetBindings(), DrawSpriteCanvas(), DrawZSpriteOnCanvas(), LoadSpriteGraphicsBuffer(), OpenSelectedOamGraphics(), RenderVanillaSprite(), and RenderZSpriteFrame().
|
private |
Definition at line 121 of file sprite_editor.h.
Referenced by CheckCurrentSpriteSource(), DrawSpriteAssetBindings(), and ImportCatalogDraw().
|
private |
Definition at line 122 of file sprite_editor.h.
Referenced by ApplyCurrentSpriteBinding(), CheckCurrentSpriteSource(), CreateNewZSprite(), DrawSpriteAssetBindings(), and ImportCatalogDraw().
|
private |
Definition at line 125 of file sprite_editor.h.
Referenced by DrawSpriteCatalog(), ReloadSpriteCatalog(), and sprite_catalog().
|
private |
Definition at line 126 of file sprite_editor.h.
Referenced by catalog_source(), DrawSpriteCatalog(), ImportCatalogDraw(), OpenCatalogSource(), and ReloadSpriteCatalog().
|
private |
Definition at line 127 of file sprite_editor.h.
Referenced by DrawSpriteCatalog(), and ReloadSpriteCatalog().
|
private |
Definition at line 128 of file sprite_editor.h.
Referenced by DrawSpriteCatalog(), OpenCatalogSource(), and ReloadSpriteCatalog().
|
private |
Definition at line 129 of file sprite_editor.h.
Referenced by RefreshCatalogIfChanged(), and ReloadSpriteCatalog().
|
private |
Definition at line 130 of file sprite_editor.h.
Referenced by RefreshCatalogIfChanged(), and ReloadSpriteCatalog().
|
private |
Definition at line 131 of file sprite_editor.h.
Referenced by DrawSpriteCatalog(), RefreshCatalogIfChanged(), and ReloadSpriteCatalog().
|
private |
Definition at line 132 of file sprite_editor.h.
Referenced by DrawSpriteCatalog(), OpenCatalogSource(), RefreshCatalogIfChanged(), and ReloadSpriteCatalog().
|
private |
Definition at line 133 of file sprite_editor.h.
Referenced by DrawSpriteCatalog(), and ReloadSpriteCatalog().
|
private |
Definition at line 134 of file sprite_editor.h.
Referenced by DrawSpriteCatalog(), and ReloadSpriteCatalog().
|
private |
Definition at line 135 of file sprite_editor.h.
Referenced by DrawSpriteCatalog(), and ReloadSpriteCatalog().
|
private |
Definition at line 136 of file sprite_editor.h.
Referenced by DrawSpriteCatalog(), OpenCatalogSource(), and ReloadSpriteCatalog().
|
private |
Definition at line 205 of file sprite_editor.h.
Referenced by DrawVanillaSpriteEditor(), and SelectVanillaSprite().
|
private |
Definition at line 206 of file sprite_editor.h.
Referenced by CurrentPreviewLayout(), DrawSpriteCanvas(), DrawSpritesList(), DrawVanillaSpriteEditor(), HandleEditorShortcuts(), Load(), and SelectVanillaSprite().
|
private |
Definition at line 207 of file sprite_editor.h.
Referenced by DrawVanillaSpriteEditor(), and SelectVanillaSprite().
|
private |
Definition at line 208 of file sprite_editor.h.
Referenced by ApplyCurrentSpriteBinding(), ApplySpritesetToSheets(), CreateNewZSprite(), DrawCurrentSheets(), DrawFrameTileWarnings(), DrawSpriteCanvas(), Load(), LoadSpriteGraphicsBuffer(), LoadZsmFile(), OpenSelectedOamGraphics(), and RefreshSpritePreviewGraphics().
|
private |
Definition at line 209 of file sprite_editor.h.
Referenced by DrawVanillaSpriteEditor(), Load(), and Update().
|
private |
Definition at line 221 of file sprite_editor.h.
|
private |
Definition at line 222 of file sprite_editor.h.
|
private |
Definition at line 223 of file sprite_editor.h.
Referenced by DrawSpriteCanvas(), and RenderVanillaSprite().
|
private |
Definition at line 224 of file sprite_editor.h.
Referenced by DrawVanillaSpriteEditor(), Load(), RefreshSpritePreviewGraphics(), RenderVanillaSprite(), and SelectVanillaSprite().
|
private |
Definition at line 229 of file sprite_editor.h.
Referenced by CaptureCurrentSpriteSnapshot(), Copy(), CreateNewZSprite(), current_custom_sprite(), Cut(), DrawAnimationPanel(), DrawBooleanProperties(), DrawCustomSpritesMetadata(), DrawFrameEditor(), DrawSpriteCanvas(), DrawSpritePropertiesPanel(), DrawStatProperties(), DrawUserRoutinesPanel(), DrawZSpriteOnCanvas(), EnsureCustomSpritePaths(), ImportCatalogDraw(), LoadZsmFile(), OpenSelectedOamGraphics(), OpenSpriteAsset(), Paste(), RenderZSpriteFrame(), RestoreFromSnapshot(), Save(), SaveZsmFile(), and UpdateAnimationPlayback().
|
private |
Definition at line 230 of file sprite_editor.h.
Referenced by CreateNewZSprite(), EnsureCustomSpritePaths(), GetCurrentZsmPath(), LoadZsmFile(), OpenSpriteAsset(), and SetCurrentZsmPath().
|
private |
Definition at line 231 of file sprite_editor.h.
Referenced by ApplySpritesetToSheets(), CaptureCurrentSpriteSnapshot(), Copy(), CreateNewZSprite(), current_custom_sprite(), current_sprite_binding(), Cut(), DrawAnimationPanel(), DrawBooleanProperties(), DrawCurrentSheets(), DrawCustomSpritesMetadata(), DrawFrameEditor(), DrawFrameTileWarnings(), DrawSpritePropertiesPanel(), DrawStatProperties(), DrawUserRoutinesPanel(), DrawZSpriteOnCanvas(), GetCurrentZsmPath(), LoadZsmFile(), OpenSelectedOamGraphics(), OpenSpriteAsset(), Paste(), RenderZSpriteFrame(), RestoreFromSnapshot(), Save(), SaveZsmFile(), SaveZsmFileAs(), SetCurrentZsmPath(), SetSpriteBehavior(), SetSpriteGraphics(), and UpdateAnimationPlayback().
|
private |
Definition at line 232 of file sprite_editor.h.
Referenced by CreateNewZSprite(), LoadZsmFile(), MarkSpriteMutated(), RestoreFromSnapshot(), and SaveZsmFile().
|
private |
Definition at line 235 of file sprite_editor.h.
Referenced by CreateNewZSprite(), DrawAnimationPanel(), DrawCustomSpritesMetadata(), DrawSpriteBehaviorPanel(), HandleEditorShortcuts(), LoadZsmFile(), OpenSpriteAsset(), and UpdateAnimationPlayback().
|
private |
Definition at line 236 of file sprite_editor.h.
Referenced by CaptureCurrentSpriteSnapshot(), Copy(), CreateNewZSprite(), Cut(), DrawAnimationPanel(), DrawCustomSpritesMetadata(), DrawFrameEditor(), DrawFrameTileWarnings(), DrawSpriteBehaviorPanel(), DrawZSpriteOnCanvas(), HandleEditorShortcuts(), LoadZsmFile(), OpenSelectedOamGraphics(), OpenSpriteAsset(), Paste(), RestoreFromSnapshot(), and UpdateAnimationPlayback().
|
private |
Definition at line 237 of file sprite_editor.h.
Referenced by CaptureCurrentSpriteSnapshot(), CreateNewZSprite(), DrawAnimationPanel(), DrawCustomSpritesMetadata(), DrawSpriteBehaviorPanel(), LoadZsmFile(), OpenSpriteAsset(), RestoreFromSnapshot(), and UpdateAnimationPlayback().
|
private |
Definition at line 238 of file sprite_editor.h.
Referenced by CreateNewZSprite(), DrawAnimationPanel(), DrawCustomSpritesMetadata(), DrawFrameEditor(), DrawSpriteBehaviorPanel(), LoadZsmFile(), and UpdateAnimationPlayback().
|
private |
Definition at line 239 of file sprite_editor.h.
Referenced by Update().
|
private |
Definition at line 242 of file sprite_editor.h.
Referenced by CreateNewZSprite(), DrawCustomSpritesMetadata(), DrawUserRoutinesPanel(), and LoadZsmFile().
|
private |
Definition at line 243 of file sprite_editor.h.
Referenced by CreateNewZSprite(), Cut(), DrawCustomSpritesMetadata(), DrawFrameEditor(), LoadZsmFile(), OpenSelectedOamGraphics(), OpenSpriteAsset(), Paste(), and RenderZSpriteFrame().
|
private |
Definition at line 244 of file sprite_editor.h.
Referenced by RenderZSpriteFrame().
|
private |
Definition at line 247 of file sprite_editor.h.
Referenced by RenderZSpriteFrame().
|
private |
Definition at line 248 of file sprite_editor.h.
Referenced by ApplyCurrentSpriteBinding(), ApplySpritesetToSheets(), CreateNewZSprite(), DrawAnimationPanel(), DrawCurrentSheets(), DrawCustomSpritesMetadata(), DrawFrameEditor(), DrawSpriteBehaviorPanel(), DrawSpritesetPicker(), HandleEditorShortcuts(), Load(), LoadZsmFile(), MarkSpriteMutated(), OpenSelectedOamGraphics(), RefreshSpritePreviewGraphics(), RenderZSpriteFrame(), RestoreFromSnapshot(), and UpdateAnimationPlayback().
|
private |
Definition at line 253 of file sprite_editor.h.
Referenced by LoadSpriteGraphicsBuffer(), LoadSpritePalettes(), RenderVanillaSprite(), and RenderZSpriteFrame().
|
private |
Definition at line 254 of file sprite_editor.h.
Referenced by LoadSpriteGraphicsBuffer(), RenderVanillaSprite(), and RenderZSpriteFrame().
|
private |
Definition at line 255 of file sprite_editor.h.
Referenced by LoadSpritePalettes(), OpenSelectedOamGraphics(), RenderVanillaSprite(), and RenderZSpriteFrame().
|
private |
Definition at line 256 of file sprite_editor.h.
Referenced by ApplyCurrentSpriteBinding(), ApplySpritesetToSheets(), DrawCurrentSheets(), DrawSpritesetPicker(), Load(), LoadSpriteGraphicsBuffer(), OpenSelectedOamGraphics(), and RefreshSpritePreviewGraphics().
|
private |
Definition at line 257 of file sprite_editor.h.
Referenced by RefreshSpritePreviewGraphics().
|
private |
Definition at line 258 of file sprite_editor.h.
Referenced by RefreshSpritePreviewGraphics().
|
private |
Definition at line 259 of file sprite_editor.h.
Referenced by RefreshSpritePreviewGraphics().
|
private |
Definition at line 260 of file sprite_editor.h.
Referenced by RefreshSpritePreviewGraphics().
|
private |
Definition at line 271 of file sprite_editor.h.
Referenced by DrawFrameEditor().
|
private |
Definition at line 272 of file sprite_editor.h.
Referenced by DrawSpritesetPicker(), Load(), and OpenSelectedOamGraphics().
|
private |
Definition at line 273 of file sprite_editor.h.
Referenced by DrawSpritesetPicker(), LoadSpritePalettes(), and OpenSelectedOamGraphics().
|
private |
Definition at line 274 of file sprite_editor.h.
Referenced by DrawSpritesetPicker(), LoadSpritePalettes(), and OpenSelectedOamGraphics().
|
private |
Definition at line 275 of file sprite_editor.h.
Referenced by DrawSpritesetPicker(), Load(), LoadSpritePalettes(), and RefreshSpritePreviewGraphics().
|
private |
Definition at line 276 of file sprite_editor.h.
Referenced by LoadSpritePalettes().
|
private |
Definition at line 277 of file sprite_editor.h.
Referenced by DrawSpritesetPicker().
|
private |
Definition at line 278 of file sprite_editor.h.
Referenced by DrawSpritesetPicker().
|
private |
Definition at line 279 of file sprite_editor.h.
Referenced by DrawSpritesetPicker().
|
private |
Definition at line 280 of file sprite_editor.h.
Referenced by DrawFrameTileWarnings().
|
private |
Definition at line 281 of file sprite_editor.h.
Referenced by DrawFrameTileWarnings().
|
private |
Definition at line 282 of file sprite_editor.h.
Referenced by DrawFrameTileWarnings().
|
private |
Definition at line 287 of file sprite_editor.h.
Referenced by DrawSpriteCanvas(), DrawZSpriteOnCanvas(), and RenderZSpriteFrame().
|
private |
Definition at line 290 of file sprite_editor.h.
Referenced by DrawCurrentSheets().
|
private |
Definition at line 297 of file sprite_editor.h.
Referenced by BeginUndoTransaction(), and CommitUndoTransaction().
|
private |
Definition at line 298 of file sprite_editor.h.
Referenced by CommitUndoTransaction(), and MarkSpriteMutated().
|
private |
Definition at line 299 of file sprite_editor.h.
Referenced by BeginUndoTransaction(), and CommitUndoTransaction().
|
private |
Definition at line 304 of file sprite_editor.h.
Referenced by DrawCustomSpritesMetadata(), LoadZsmFile(), OpenSpriteAsset(), ReloadProjectSpriteAssets(), Save(), SaveSpriteAsset(), SaveZsmFile(), and Update().
|
private |
Definition at line 305 of file sprite_editor.h.
Referenced by DrawFrameTileWarnings(), DrawSpritesetPicker(), Initialize(), Load(), LoadSpritePalettes(), OpenSelectedOamGraphics(), rom(), and set_rom().