The ScreenEditor class allows the user to edit a variety of screens in the game or create a custom menu. More...
#include <screen_editor.h>

Public Member Functions | |
| ScreenEditor (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 |
| absl::StatusOr< zelda3::DungeonMapWritePlan > | PrepareDungeonMapSave () const |
| absl::Status | BeginSaveTransaction () override |
| void | RollbackSaveTransaction () override |
| void | CommitSaveTransaction () override |
| void | set_rom (Rom *rom) |
| Rom * | rom () const |
| EditorContextSnapshot | BuildContextSnapshot () const override |
| absl::Status | LoadMenuTilemapForTesting (const std::string &path) |
| bool | IsMenuTilemapDirtyForTesting () const |
| bool | IsMenuTilemapLoadedForTesting () const |
| bool | HasPendingDungeonMapChanges () const |
| bool | HasPendingDungeonMapTile16Changes () const |
| bool | HasPendingTitleScreenChanges () const |
| bool | HasPendingOverworldMapChanges () const |
| bool | HasPendingScreenChanges () const |
| void | InvalidateRomBackedState () |
| absl::Status | RefreshRomBackedState () |
| bool | IsRomBackedStateValid () const |
| absl::Status | OpenDungeonMapTileGraphics () |
Public Member Functions inherited from yaze::editor::Editor | |
| Editor ()=default | |
| virtual | ~Editor ()=default |
| virtual void | SetDependencies (const EditorDependencies &deps) |
| virtual void | SetGameData (zelda3::GameData *game_data) |
| 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 *) |
| 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 |
Public Attributes | |
| std::vector< zelda3::DungeonMap > | dungeon_maps_ |
Private Types | |
| enum class | EditingMode { DRAW , EDIT } |
Friends | |
| class | ScreenEditorSaveStoplossTestPeer |
| class | AuthoringSaveWorkflowTestPeer |
| class | ScreenGraphicsContextTestPeer |
| class | ScreenFloorMutationTestPeer |
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_ |
The ScreenEditor class allows the user to edit a variety of screens in the game or create a custom menu.
This class is currently a work in progress (WIP) and provides functionality for updating the screens, saving dungeon maps, drawing different types of screens, loading dungeon maps, and managing various properties related to the editor.
The screens that can be edited include the title screen, naming screen, overworld map, inventory menu, and more.
Definition at line 39 of file screen_editor.h.
|
strongprivate |
| Enumerator | |
|---|---|
| DRAW | |
| EDIT | |
Definition at line 170 of file screen_editor.h.
|
inlineexplicit |
Definition at line 41 of file screen_editor.h.
References yaze::editor::kScreen, screen_canvas_, yaze::gui::Canvas::SetCanvasSize(), and yaze::editor::Editor::type_.

|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 35 of file screen_editor.cc.
References yaze::editor::Editor::dependencies_, DrawDungeonMapsEditor(), DrawInventoryMenuEditor(), DrawMenuTilemapEditor(), DrawNamingScreenEditor(), DrawOverworldMapEditor(), DrawTitleScreenEditor(), ICON_MD_EDIT, ICON_MD_INVENTORY, ICON_MD_MAP, ICON_MD_PUBLIC, ICON_MD_TITLE, yaze::Rom::is_loaded(), yaze::editor::WorkspaceWindowManager::RegisterPanel(), rom(), and yaze::editor::EditorDependencies::window_manager.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 117 of file screen_editor.cc.
References ASSIGN_OR_RETURN, yaze::gfx::Tilemap::atlas, yaze::gfx::Bitmap::Create(), yaze::gfx::Arena::CREATE, yaze::gfx::PaletteGroupMap::dungeon_main, dungeon_map_labels_, dungeon_maps_, yaze::editor::Editor::game_data(), yaze::gfx::Arena::Get(), GetOrCreateSheet(), yaze::Rom::is_loaded(), yaze::zelda3::LoadDungeonMaps(), yaze::zelda3::LoadDungeonMapTile16(), loaded_game_data_, loaded_rom_, yaze::gfx::Tilemap::map_size, yaze::gfx::PaletteGroup::mutable_palette(), yaze::zelda3::GameData::palette_groups, yaze::gfx::Arena::QueueTextureCommand(), RefreshTileCacheForReload(), ResetRomBackedStateForLoad(), RETURN_IF_ERROR, rom(), rom_, rom_backed_state_valid_, yaze::gfx::Bitmap::SetPalette(), yaze::zelda3::GraphicsSheetStore::Sheet(), yaze::zelda3::GraphicsSheetStoreHolder::sheet_store, sheets_, tile16_blockset_, tile8_tilemap_, and yaze::gfx::Tilemap::tile_size.
Referenced by RefreshRomBackedState().
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 341 of file screen_editor.cc.
References status_.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 49 of file screen_editor.h.
References yaze::editor::UndoManager::Undo(), and yaze::editor::Editor::undo_manager_.
Referenced by DrawInventoryToolset().

|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 50 of file screen_editor.h.
References yaze::editor::UndoManager::Redo(), and yaze::editor::Editor::undo_manager_.
Referenced by DrawInventoryToolset().

|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 51 of file screen_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 52 of file screen_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 53 of file screen_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 54 of file screen_editor.h.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 329 of file screen_editor.cc.
References ASSIGN_OR_RETURN, dungeon_maps_, map_save_serialized_, map_save_transaction_active_, PrepareDungeonMapSave(), RETURN_IF_ERROR, rom_, and yaze::zelda3::SaveDungeonMaps().

| absl::StatusOr< zelda3::DungeonMapWritePlan > yaze::editor::ScreenEditor::PrepareDungeonMapSave | ( | ) | const |
Definition at line 272 of file screen_editor.cc.
References yaze::zelda3::BuildDungeonMapWritePlan(), dungeon_maps_, yaze::editor::Editor::game_data(), yaze::core::FeatureFlags::get(), has_pending_dungeon_undo_, has_pending_tile16_undo_, HasPendingDungeonMapChanges(), HasPendingDungeonMapTile16Changes(), HasPendingOverworldMapChanges(), HasPendingTitleScreenChanges(), yaze::Rom::is_loaded(), loaded_game_data_, loaded_rom_, rom_, and rom_backed_state_valid_.
Referenced by Save().
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 306 of file screen_editor.cc.
References map_save_serialized_, and map_save_transaction_active_.
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 315 of file screen_editor.cc.
References map_save_serialized_, and map_save_transaction_active_.
Referenced by CommitSaveTransaction(), and ResetRomBackedStateForLoad().
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 322 of file screen_editor.cc.
References map_save_serialized_, map_save_transaction_active_, pending_dungeon_map_changes_, and RollbackSaveTransaction().

|
inline |
|
inline |
Definition at line 63 of file screen_editor.h.
References rom_.
Referenced by DrawDungeonMapsEditor(), DrawInventoryMenuEditor(), DrawMenuTilemapEditor(), DrawOverworldMapEditor(), DrawTitleScreenEditor(), Initialize(), Load(), LoadBinaryGfx(), and set_rom().
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 1376 of file screen_editor.cc.
References yaze::editor::Editor::BuildContextSnapshot(), yaze::editor::MenuTilemapEditorUI::current_path(), yaze::editor::MenuTilemapEditorUI::dirty(), yaze::util::GetFileName(), yaze::editor::EditorContextSnapshot::has_pending_changes, yaze::editor::MenuTilemapEditorUI::loaded(), menu_tilemap_ui_, yaze::editor::EditorContextSnapshot::metadata, and yaze::editor::EditorContextSnapshot::pending_label.
|
inline |
Definition at line 74 of file screen_editor.h.
References yaze::editor::MenuTilemapEditorUI::LoadFileForTesting(), and menu_tilemap_ui_.

|
inline |
Definition at line 77 of file screen_editor.h.
References yaze::editor::MenuTilemapEditorUI::dirty(), and menu_tilemap_ui_.

|
inline |
Definition at line 78 of file screen_editor.h.
References yaze::editor::MenuTilemapEditorUI::loaded(), and menu_tilemap_ui_.

|
inline |
Definition at line 82 of file screen_editor.h.
References pending_dungeon_map_changes_.
Referenced by HasPendingScreenChanges(), and PrepareDungeonMapSave().
|
inline |
Definition at line 85 of file screen_editor.h.
References pending_dungeon_map_tile16_changes_.
Referenced by HasPendingScreenChanges(), and PrepareDungeonMapSave().
|
inline |
Definition at line 88 of file screen_editor.h.
References pending_title_screen_changes_.
Referenced by HasPendingScreenChanges(), and PrepareDungeonMapSave().
|
inline |
Definition at line 91 of file screen_editor.h.
References pending_overworld_map_changes_, and pending_overworld_map_palette_changes_.
Referenced by HasPendingScreenChanges(), and PrepareDungeonMapSave().
|
inline |
Definition at line 95 of file screen_editor.h.
References HasPendingDungeonMapChanges(), HasPendingDungeonMapTile16Changes(), HasPendingOverworldMapChanges(), and HasPendingTitleScreenChanges().

| void yaze::editor::ScreenEditor::InvalidateRomBackedState | ( | ) |
Definition at line 1775 of file screen_editor.cc.
References ResetRomBackedStateForLoad().

| absl::Status yaze::editor::ScreenEditor::RefreshRomBackedState | ( | ) |
Definition at line 1779 of file screen_editor.cc.
References Load().

|
inline |
Definition at line 102 of file screen_editor.h.
References rom_backed_state_valid_.
| absl::Status yaze::editor::ScreenEditor::OpenDungeonMapTileGraphics | ( | ) |
Definition at line 239 of file screen_editor.cc.
References binary_gfx_loaded_, yaze::editor::Editor::context(), yaze::editor::EditorDependencies::custom_data, yaze::editor::Editor::dependencies_, yaze::editor::Editor::game_data(), yaze::Rom::is_loaded(), yaze::editor::kGraphics, yaze::editor::kScreen, yaze::editor::MakeDungeonMapTilesGfxEditContext(), yaze::editor::WorkspaceWindowManager::OpenWindow(), RefreshDungeonMapGraphicsFromSession(), RETURN_IF_ERROR, rom_, rom_backed_state_valid_, selected_tile8_, and yaze::editor::EditorDependencies::window_manager.
Referenced by DrawDungeonMapsEditor().
|
private |
Definition at line 1088 of file screen_editor.cc.
References yaze::zelda3::TitleScreen::composite_bitmap(), yaze::zelda3::TitleScreen::Create(), current_mode_, DRAW, DrawTitleScreenBlocksetSelector(), DrawTitleScreenCompositeCanvas(), yaze::editor::Editor::game_data(), yaze::gfx::Arena::Get(), yaze::editor::AgentUI::GetTheme(), ICON_MD_DRAW, ICON_MD_SAVE, yaze::gfx::Arena::QueueTextureCommand(), yaze::zelda3::TitleScreen::RenderCompositeLayer(), rom(), rom_backed_state_valid_, SaveTitleScreenToRom(), selected_title_tile16_, show_title_bg1_, show_title_bg2_, status_, title_screen_, title_screen_loaded_, and yaze::gfx::Arena::UPDATE.
Referenced by Initialize().
|
private |
Definition at line 1370 of file screen_editor.cc.
Referenced by Initialize().
|
private |
Definition at line 1391 of file screen_editor.cc.
References yaze::zelda3::OverworldMapScreen::Create(), current_mode_, DRAW, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), yaze::zelda3::OverworldMapScreen::dw_palette(), yaze::gfx::Arena::Get(), yaze::gui::Canvas::GetConfig(), yaze::editor::AgentUI::GetTheme(), yaze::gui::InlinePaletteEditor(), yaze::gui::kPreviewOnly, yaze::gui::kSelectionSource, yaze::zelda3::OverworldMapScreen::LoadCustomMap(), yaze::zelda3::OverworldMapScreen::lw_palette(), yaze::zelda3::OverworldMapScreen::map_bitmap(), MarkOverworldMapModified(), MarkOverworldMapPaletteModified(), yaze::zelda3::OverworldMapScreen::mutable_dw_tiles(), yaze::zelda3::OverworldMapScreen::mutable_lw_tiles(), ow_map_canvas_, ow_map_loaded_, ow_map_screen_, ow_show_dark_world_, ow_tileset_canvas_, yaze::gui::Canvas::points(), yaze::gfx::Arena::QueueTextureCommand(), yaze::zelda3::OverworldMapScreen::RenderMapLayer(), yaze::gui::CanvasConfig::role, rom(), rom_backed_state_valid_, yaze::zelda3::OverworldMapScreen::SaveCustomMap(), SaveOverworldMapToRom(), selected_ow_tile_, yaze::util::FileDialogWrapper::ShowOpenFileDialog(), yaze::util::FileDialogWrapper::ShowSaveFileDialog(), status_, yaze::zelda3::OverworldMapScreen::tiles8_bitmap(), and yaze::gfx::Arena::UPDATE.
Referenced by Initialize().
|
private |
Definition at line 353 of file screen_editor.cc.
References yaze::gui::BeginCanvas(), yaze::gui::CanvasFrameOptions::canvas_size, yaze::gui::DisplayPalette(), yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::DrawBitmap(), DrawInventoryItemIcons(), DrawInventoryToolset(), yaze::gui::EndCanvas(), yaze::editor::Editor::game_data(), yaze::editor::AgentUI::GetTheme(), yaze::gui::CanvasFrameOptions::grid_step, inventory_, inventory_loaded_, palette_, yaze::gui::CanvasFrameOptions::render_popups, rom(), rom_backed_state_valid_, screen_canvas_, status_, and tilesheet_canvas_.
Referenced by Initialize().
|
private |
Definition at line 475 of file screen_editor.cc.
References inventory_.
Referenced by DrawInventoryMenuEditor().
|
private |
Definition at line 1372 of file screen_editor.cc.
References yaze::editor::MenuTilemapEditorUI::Draw(), yaze::editor::Editor::game_data(), menu_tilemap_ui_, yaze::editor::Editor::project(), rom(), and yaze::editor::Editor::undo_manager_.
Referenced by Initialize().

|
private |
Definition at line 348 of file screen_editor.cc.
|
private |
Definition at line 1587 of file screen_editor.cc.
|
private |
Definition at line 426 of file screen_editor.cc.
References yaze::editor::UndoManager::CanRedo(), yaze::editor::UndoManager::CanUndo(), current_mode_, DRAW, ICON_MD_BUILD, ICON_MD_DRAW, ICON_MD_MORE_VERT, ICON_MD_REDO, ICON_MD_UNDO, ICON_MD_ZOOM_IN, ICON_MD_ZOOM_OUT, Redo(), screen_canvas_, status_, yaze::gui::ToolbarIconButton(), Undo(), yaze::editor::Editor::undo_manager_, yaze::gui::Canvas::ZoomIn(), and yaze::gui::Canvas::ZoomOut().
Referenced by DrawInventoryMenuEditor().
|
private |
Definition at line 1168 of file screen_editor.cc.
References yaze::zelda3::TitleScreen::bg1_bitmap(), yaze::zelda3::TitleScreen::composite_bitmap(), current_mode_, DRAW, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), yaze::editor::internal::EnsureCompositeBitmapTextureQueued(), yaze::gfx::Arena::Get(), yaze::gui::Canvas::GetConfig(), yaze::gui::kCompositeOutput, MarkTitleScreenModified(), yaze::zelda3::TitleScreen::mutable_bg1_buffer(), yaze::gui::Canvas::points(), yaze::gfx::Arena::QueueTextureCommand(), yaze::zelda3::TitleScreen::RenderBG1Layer(), yaze::zelda3::TitleScreen::RenderCompositeLayer(), yaze::gui::CanvasConfig::role, selected_title_tile16_, show_title_bg1_, show_title_bg2_, status_, title_bg1_canvas_, title_h_flip_, title_palette_, title_screen_, title_v_flip_, and yaze::gfx::Arena::UPDATE.
Referenced by DrawTitleScreenEditor().
|
private |
Definition at line 1236 of file screen_editor.cc.
References yaze::zelda3::TitleScreen::bg1_bitmap(), current_mode_, DRAW, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), yaze::gfx::Arena::Get(), MarkTitleScreenModified(), yaze::zelda3::TitleScreen::mutable_bg1_buffer(), yaze::gui::Canvas::points(), yaze::gfx::Arena::QueueTextureCommand(), yaze::zelda3::TitleScreen::RenderBG1Layer(), selected_title_tile16_, status_, title_bg1_canvas_, title_h_flip_, title_palette_, title_screen_, title_v_flip_, and yaze::gfx::Arena::UPDATE.
|
private |
Definition at line 1282 of file screen_editor.cc.
References yaze::zelda3::TitleScreen::bg2_bitmap(), current_mode_, DRAW, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), yaze::gfx::Arena::Get(), yaze::gui::Canvas::GetConfig(), yaze::gui::kEditableScratchpad, MarkTitleScreenModified(), yaze::zelda3::TitleScreen::mutable_bg2_buffer(), yaze::gui::Canvas::points(), yaze::gfx::Arena::QueueTextureCommand(), yaze::zelda3::TitleScreen::RenderBG2Layer(), yaze::gui::CanvasConfig::role, selected_title_tile16_, status_, title_bg2_canvas_, title_h_flip_, title_palette_, title_screen_, title_v_flip_, and yaze::gfx::Arena::UPDATE.
|
private |
Definition at line 1329 of file screen_editor.cc.
References yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), yaze::gui::Canvas::GetConfig(), yaze::gui::kSelectionSource, yaze::gui::Canvas::points(), yaze::gui::CanvasConfig::role, selected_title_tile16_, yaze::zelda3::TitleScreen::tiles8_bitmap(), title_blockset_canvas_, title_h_flip_, title_palette_, title_screen_, and title_v_flip_.
Referenced by DrawTitleScreenEditor().
|
private |
|
private |
Definition at line 529 of file screen_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gfx::TileCache::CacheTile(), yaze::gfx::Arena::CREATE, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOutlineWithColor(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawText(), yaze::gui::Canvas::DrawTileSelector(), dungeon_map_labels_, dungeon_maps_, floor_number, yaze::gfx::Arena::Get(), yaze::gfx::Bitmap::Get16x16Tile(), yaze::gui::Canvas::GetConfig(), yaze::editor::AgentUI::GetTheme(), yaze::gfx::TileCache::GetTile(), HasValidDungeonFloorSelection(), yaze::gfx::Bitmap::height(), yaze::util::HexByte(), yaze::zelda3::kNumRooms, yaze::gui::kSelectionSource, yaze::gfx::Bitmap::palette(), yaze::gui::Canvas::points(), yaze::gfx::Arena::QueueTextureCommand(), yaze::gui::CanvasConfig::role, rom_backed_state_valid_, screen_canvas_, selected_dungeon, selected_room, yaze::gfx::Bitmap::set_data(), yaze::gfx::Bitmap::SetPalette(), tile16_blockset_, yaze::gfx::Tilemap::tile_cache, and yaze::gfx::Bitmap::width().
Referenced by DrawDungeonMapsTabs().
|
private |
Definition at line 644 of file screen_editor.cc.
References yaze::gui::AutoButton(), yaze::gui::BeginThemedTabBar(), CaptureDungeonMapSnapshot(), ChangeDungeonMapFloorCount(), copy_button_pressed, DrawDungeonMapScreen(), dungeon_map_labels_, dungeon_maps_, yaze::gui::EndThemedTabBar(), floor_number, HasValidDungeonFloorSelection(), HasValidDungeonSelection(), yaze::util::HexByte(), yaze::gui::InputHexByte(), yaze::gui::InputHexWord(), yaze::zelda3::kNumRooms, MarkDungeonMapModified(), paste_button_pressed, yaze::editor::UndoManager::Push(), RestoreFromSnapshot(), rom_backed_state_valid_, select_floor_tab_, selected_dungeon, selected_room, status_, and yaze::editor::Editor::undo_manager_.
Referenced by DrawDungeonMapsEditor().
|
private |
Draw dungeon maps editor with enhanced ROM hacking features.
Enhanced Features:
Performance Notes:
Definition at line 949 of file screen_editor.cc.
References current_mode_, DRAW, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmapTable(), yaze::gui::Canvas::DrawContextMenu(), DrawDungeonMapsRoomGfx(), DrawDungeonMapsTabs(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), dungeon_maps_, EDIT, yaze::gui::Canvas::GetConfig(), HasValidDungeonSelection(), ICON_MD_DRAW, ICON_MD_EDIT, ICON_MD_SAVE, yaze::gui::Canvas::IsMouseHovering(), yaze::gui::kSelectionSource, LoadBinaryGfx(), OpenDungeonMapTileGraphics(), yaze::gui::Canvas::points(), yaze::Rom::resource_label(), yaze::gui::CanvasConfig::role, rom(), rom_backed_state_valid_, yaze::project::ResourceLabelManager::SelectableLabelWithNameEdit(), selected_dungeon, selected_tile8_, sheets_, status_, tilemap_canvas_, and yaze::gui::ToolbarIconButton().
Referenced by Initialize().
|
private |
Draw dungeon room graphics editor with enhanced tile16 editing.
Enhanced Features:
Performance Notes:
Definition at line 759 of file screen_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gui::BeginCanvas(), yaze::gfx::TileCache::CacheTile(), yaze::gui::CanvasFrameOptions::canvas_size, CommitDungeonMapUndo(), CommitTile16CompUndo(), yaze::gfx::Arena::CREATE, current_tile16_info, current_tile_canvas_, yaze::gfx::Bitmap::data(), yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::DrawBitmap(), yaze::gui::Canvas::DrawTilePainter(), yaze::gui::DrawTileSelector(), dungeon_maps_, yaze::gui::EndCanvas(), floor_number, yaze::editor::Editor::game_data(), yaze::gfx::Arena::Get(), yaze::gui::Canvas::GetConfig(), yaze::gfx::TileCache::GetTile(), yaze::gui::CanvasFrameOptions::grid_step, HasValidDungeonFloorSelection(), yaze::gfx::Bitmap::height(), yaze::gui::InputTileInfo(), yaze::gui::Canvas::IsMouseHovering(), yaze::zelda3::kNumRooms, yaze::gui::kPreviewOnly, yaze::gui::kSelectionSource, yaze::gfx::ModifyTile16(), yaze::gui::Canvas::mutable_points(), yaze::gfx::Bitmap::palette(), yaze::gui::Canvas::points(), yaze::gfx::Arena::QueueTextureCommand(), yaze::gui::CanvasFrameOptions::render_popups, yaze::gfx::RenderTile16(), yaze::gui::CanvasConfig::role, rom_backed_state_valid_, SaveDungeonMapUndoState(), SaveTile16CompUndoState(), screen_canvas_, selected_dungeon, selected_room, selected_tile16_, selected_tile8_, yaze::gfx::Bitmap::SetPalette(), yaze::gfx::Bitmap::size(), tile16_blockset_, tile8_tilemap_, yaze::gfx::Tilemap::tile_cache, yaze::gfx::Tilemap::tile_info, tilesheet_canvas_, yaze::gfx::UpdateTile16(), and yaze::gfx::Bitmap::width().
Referenced by DrawDungeonMapsEditor().
|
private |
Definition at line 196 of file screen_editor.cc.
References yaze::gfx::Tilemap::atlas, binary_gfx_loaded_, yaze::gfx::Bitmap::Create(), yaze::gfx::Arena::CREATE, yaze::editor::Editor::game_data(), yaze::gfx::Arena::Get(), GetOrCreateSheet(), yaze::gfx::ModifyTile16(), yaze::gfx::Arena::QueueTextureCommand(), RefreshTileCacheForReload(), rom_backed_state_valid_, yaze::gfx::Bitmap::SetPalette(), yaze::zelda3::GraphicsSheetStore::Sheet(), yaze::zelda3::GraphicsSheetStoreHolder::sheet_store, tile16_blockset_, tile8_tilemap_, yaze::gfx::Tilemap::tile_info, and yaze::gfx::Arena::UPDATE.
Referenced by OpenDungeonMapTileGraphics().
|
private |
Definition at line 1053 of file screen_editor.cc.
References binary_gfx_loaded_, yaze::gfx::Arena::CREATE, yaze::editor::Editor::game_data(), yaze::gfx::Arena::Get(), GetOrCreateSheet(), yaze::zelda3::LoadDungeonMapTile16(), MarkDungeonMapTile16Modified(), yaze::gfx::Arena::QueueTextureCommand(), RefreshTileCacheForReload(), rom(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), yaze::gfx::SnesTo8bppSheet(), status_, and tile16_blockset_.
Referenced by DrawDungeonMapsEditor().
|
private |
Definition at line 1783 of file screen_editor.cc.
References sheets_.
Referenced by Load(), LoadBinaryGfx(), and RefreshDungeonMapGraphicsFromSession().
|
private |
Definition at line 1791 of file screen_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gfx::TileCache::cache_, yaze::gfx::Arena::CREATE, yaze::gfx::Arena::Get(), yaze::gfx::GetTilemapData(), yaze::gfx::Bitmap::palette(), yaze::gfx::Arena::QueueTextureCommand(), yaze::gfx::Tilemap::tile_cache, yaze::gfx::Tilemap::tile_size, yaze::gfx::Pair::x, and yaze::gfx::Pair::y.
Referenced by Load(), LoadBinaryGfx(), and RefreshDungeonMapGraphicsFromSession().

|
private |
Definition at line 1807 of file screen_editor.cc.
References dungeon_map_labels_, dungeon_maps_, and selected_dungeon.
Referenced by ChangeDungeonMapFloorCount(), DrawDungeonMapsEditor(), DrawDungeonMapsTabs(), and HasValidDungeonFloorSelection().
|
private |
Definition at line 1813 of file screen_editor.cc.
References dungeon_map_labels_, dungeon_maps_, HasValidDungeonSelection(), and selected_dungeon.
Referenced by DrawDungeonMapScreen(), DrawDungeonMapsRoomGfx(), and DrawDungeonMapsTabs().

|
private |
Definition at line 1611 of file screen_editor.cc.
References CommitDungeonMapUndo(), dungeon_map_labels_, dungeon_maps_, floor_number, has_pending_dungeon_undo_, has_pending_tile16_undo_, HasValidDungeonSelection(), yaze::util::HexByte(), rom_backed_state_valid_, SaveDungeonMapUndoState(), select_floor_tab_, and selected_dungeon.
Referenced by DrawDungeonMapsTabs().

|
private |
Definition at line 1669 of file screen_editor.cc.
References yaze::editor::DungeonMapSnapshot::dungeon_index, yaze::editor::ScreenSnapshot::dungeon_map, dungeon_map_labels_, dungeon_maps_, yaze::editor::ScreenSnapshot::edit_type, yaze::editor::DungeonMapSnapshot::floor_index, floor_number, yaze::editor::kDungeonMap, yaze::editor::DungeonMapSnapshot::labels, yaze::editor::DungeonMapSnapshot::map_data, and selected_dungeon.
Referenced by CommitDungeonMapUndo(), DrawDungeonMapsTabs(), and SaveDungeonMapUndoState().
|
private |
Definition at line 1682 of file screen_editor.cc.
References current_tile16_info, yaze::editor::ScreenSnapshot::edit_type, yaze::editor::kTile16Edit, selected_tile16_, yaze::editor::ScreenSnapshot::tile16_comp, yaze::editor::Tile16CompSnapshot::tile16_id, and yaze::editor::Tile16CompSnapshot::tile_info.
Referenced by CommitTile16CompUndo(), and SaveTile16CompUndoState().
|
private |
Definition at line 1690 of file screen_editor.cc.
References CaptureDungeonMapSnapshot(), has_pending_dungeon_undo_, pending_dungeon_before_, and pending_dungeon_desc_.
Referenced by ChangeDungeonMapFloorCount(), and DrawDungeonMapsRoomGfx().

|
private |
Definition at line 1696 of file screen_editor.cc.
References CaptureTile16CompSnapshot(), has_pending_tile16_undo_, pending_tile16_before_, and pending_tile16_desc_.
Referenced by DrawDungeonMapsRoomGfx().

|
private |
Definition at line 1702 of file screen_editor.cc.
References CaptureDungeonMapSnapshot(), has_pending_dungeon_undo_, MarkDungeonMapModified(), pending_dungeon_before_, pending_dungeon_desc_, yaze::editor::UndoManager::Push(), RestoreFromSnapshot(), and yaze::editor::Editor::undo_manager_.
Referenced by ChangeDungeonMapFloorCount(), and DrawDungeonMapsRoomGfx().

|
private |
Definition at line 1715 of file screen_editor.cc.
References CaptureTile16CompSnapshot(), has_pending_tile16_undo_, MarkDungeonMapTile16Modified(), pending_tile16_before_, pending_tile16_desc_, yaze::editor::UndoManager::Push(), RestoreFromSnapshot(), and yaze::editor::Editor::undo_manager_.
Referenced by DrawDungeonMapsRoomGfx().

|
private |
Definition at line 1728 of file screen_editor.cc.
References current_tile16_info, yaze::editor::DungeonMapSnapshot::dungeon_index, yaze::editor::ScreenSnapshot::dungeon_map, dungeon_map_labels_, dungeon_maps_, yaze::editor::ScreenSnapshot::edit_type, yaze::editor::DungeonMapSnapshot::floor_index, floor_number, yaze::editor::Editor::game_data(), yaze::editor::kDungeonMap, yaze::editor::kTile16Edit, yaze::editor::DungeonMapSnapshot::labels, yaze::editor::DungeonMapSnapshot::map_data, MarkDungeonMapModified(), MarkDungeonMapTile16Modified(), yaze::gfx::ModifyTile16(), select_floor_tab_, selected_dungeon, selected_tile16_, tile16_blockset_, yaze::editor::ScreenSnapshot::tile16_comp, yaze::editor::Tile16CompSnapshot::tile16_id, yaze::editor::Tile16CompSnapshot::tile_info, and yaze::gfx::UpdateTile16().
Referenced by CommitDungeonMapUndo(), CommitTile16CompUndo(), and DrawDungeonMapsTabs().
|
private |
Definition at line 1823 of file screen_editor.cc.
References binary_gfx_loaded_, yaze::editor::UndoManager::Clear(), yaze::gfx::SnesPalette::clear(), copy_button_pressed, current_mode_, current_tile16_info, current_tile_canvas_, DRAW, dungeon_map_labels_, dungeon_maps_, floor_number, has_pending_dungeon_undo_, has_pending_tile16_undo_, inventory_, inventory_loaded_, loaded_game_data_, loaded_rom_, yaze::gfx::Tilemap::map_size, ow_map_canvas_, ow_map_loaded_, ow_map_screen_, ow_show_dark_world_, ow_tileset_canvas_, palette_, paste_button_pressed, pending_dungeon_before_, pending_dungeon_desc_, pending_dungeon_map_changes_, pending_dungeon_map_tile16_changes_, pending_overworld_map_changes_, pending_overworld_map_palette_changes_, pending_tile16_before_, pending_tile16_desc_, pending_title_screen_changes_, yaze::zelda3::OverworldMapScreen::ResetForReload(), yaze::zelda3::TitleScreen::ResetForReload(), RollbackSaveTransaction(), rom_backed_state_valid_, screen_canvas_, select_floor_tab_, selected_dungeon, selected_ow_tile_, selected_room, selected_tile16_, selected_tile8_, selected_title_tile16_, show_title_bg1_, show_title_bg2_, status_, tile16_blockset_, tile8_tilemap_, yaze::gfx::Tilemap::tile_info, yaze::gfx::Tilemap::tile_size, tilemap_canvas_, tilesheet_canvas_, title_bg1_canvas_, title_bg2_canvas_, title_blockset_canvas_, title_h_flip_, title_palette_, title_screen_, title_screen_loaded_, title_v_flip_, and yaze::editor::Editor::undo_manager_.
Referenced by InvalidateRomBackedState(), and Load().
|
inlineprivate |
Definition at line 158 of file screen_editor.h.
References pending_dungeon_map_changes_.
Referenced by CommitDungeonMapUndo(), DrawDungeonMapsTabs(), and RestoreFromSnapshot().
|
inlineprivate |
Definition at line 159 of file screen_editor.h.
References pending_dungeon_map_tile16_changes_.
Referenced by CommitTile16CompUndo(), LoadBinaryGfx(), and RestoreFromSnapshot().
|
inlineprivate |
Definition at line 162 of file screen_editor.h.
References pending_title_screen_changes_.
Referenced by DrawTitleScreenBG1Canvas(), DrawTitleScreenBG2Canvas(), and DrawTitleScreenCompositeCanvas().
|
inlineprivate |
Definition at line 163 of file screen_editor.h.
References pending_overworld_map_changes_.
Referenced by DrawOverworldMapEditor().
|
inlineprivate |
Definition at line 164 of file screen_editor.h.
References pending_overworld_map_palette_changes_.
Referenced by DrawOverworldMapEditor().
|
private |
Definition at line 1763 of file screen_editor.cc.
Referenced by DrawTitleScreenEditor().
|
private |
Definition at line 1769 of file screen_editor.cc.
Referenced by DrawOverworldMapEditor().
|
friend |
Definition at line 110 of file screen_editor.h.
|
friend |
Definition at line 111 of file screen_editor.h.
|
friend |
Definition at line 112 of file screen_editor.h.
|
friend |
Definition at line 113 of file screen_editor.h.
| std::vector<zelda3::DungeonMap> yaze::editor::ScreenEditor::dungeon_maps_ |
Definition at line 107 of file screen_editor.h.
Referenced by CaptureDungeonMapSnapshot(), ChangeDungeonMapFloorCount(), DrawDungeonMapScreen(), DrawDungeonMapsEditor(), DrawDungeonMapsRoomGfx(), DrawDungeonMapsTabs(), HasValidDungeonFloorSelection(), HasValidDungeonSelection(), Load(), PrepareDungeonMapSave(), ResetRomBackedStateForLoad(), RestoreFromSnapshot(), and Save().
|
private |
Definition at line 172 of file screen_editor.h.
Referenced by DrawDungeonMapsEditor(), DrawInventoryToolset(), DrawOverworldMapEditor(), DrawTitleScreenBG1Canvas(), DrawTitleScreenBG2Canvas(), DrawTitleScreenCompositeCanvas(), DrawTitleScreenEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 174 of file screen_editor.h.
Referenced by LoadBinaryGfx(), OpenDungeonMapTileGraphics(), RefreshDungeonMapGraphicsFromSession(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 176 of file screen_editor.h.
Referenced by DrawDungeonMapScreen(), DrawDungeonMapsRoomGfx(), DrawDungeonMapsTabs(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 178 of file screen_editor.h.
Referenced by CaptureTile16CompSnapshot(), DrawDungeonMapsRoomGfx(), ResetRomBackedStateForLoad(), and RestoreFromSnapshot().
|
private |
Definition at line 179 of file screen_editor.h.
Referenced by DrawDungeonMapsEditor(), DrawDungeonMapsRoomGfx(), OpenDungeonMapTileGraphics(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 180 of file screen_editor.h.
Referenced by CaptureDungeonMapSnapshot(), ChangeDungeonMapFloorCount(), DrawDungeonMapScreen(), DrawDungeonMapsEditor(), DrawDungeonMapsRoomGfx(), DrawDungeonMapsTabs(), HasValidDungeonFloorSelection(), HasValidDungeonSelection(), ResetRomBackedStateForLoad(), and RestoreFromSnapshot().
|
private |
Definition at line 181 of file screen_editor.h.
Referenced by CaptureDungeonMapSnapshot(), ChangeDungeonMapFloorCount(), DrawDungeonMapScreen(), DrawDungeonMapsRoomGfx(), DrawDungeonMapsTabs(), ResetRomBackedStateForLoad(), and RestoreFromSnapshot().
|
private |
Definition at line 182 of file screen_editor.h.
Referenced by ChangeDungeonMapFloorCount(), DrawDungeonMapsTabs(), ResetRomBackedStateForLoad(), and RestoreFromSnapshot().
|
private |
Definition at line 184 of file screen_editor.h.
Referenced by DrawDungeonMapsTabs(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 185 of file screen_editor.h.
Referenced by DrawDungeonMapsTabs(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 187 of file screen_editor.h.
Referenced by CaptureDungeonMapSnapshot(), ChangeDungeonMapFloorCount(), DrawDungeonMapScreen(), DrawDungeonMapsTabs(), HasValidDungeonFloorSelection(), HasValidDungeonSelection(), Load(), ResetRomBackedStateForLoad(), and RestoreFromSnapshot().
|
private |
Definition at line 189 of file screen_editor.h.
Referenced by DrawInventoryMenuEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 190 of file screen_editor.h.
Referenced by DrawDungeonMapsEditor(), GetOrCreateSheet(), and Load().
|
private |
Definition at line 191 of file screen_editor.h.
Referenced by DrawDungeonMapScreen(), DrawDungeonMapsRoomGfx(), Load(), LoadBinaryGfx(), RefreshDungeonMapGraphicsFromSession(), ResetRomBackedStateForLoad(), and RestoreFromSnapshot().
|
private |
Definition at line 192 of file screen_editor.h.
Referenced by DrawDungeonMapsRoomGfx(), Load(), RefreshDungeonMapGraphicsFromSession(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 193 of file screen_editor.h.
Referenced by CaptureTile16CompSnapshot(), DrawDungeonMapsRoomGfx(), ResetRomBackedStateForLoad(), and RestoreFromSnapshot().
|
private |
Definition at line 195 of file screen_editor.h.
Referenced by DrawDungeonMapsRoomGfx(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 197 of file screen_editor.h.
Referenced by DrawDungeonMapScreen(), DrawDungeonMapsRoomGfx(), DrawInventoryMenuEditor(), DrawInventoryToolset(), ResetRomBackedStateForLoad(), and ScreenEditor().
|
private |
Definition at line 198 of file screen_editor.h.
Referenced by DrawDungeonMapsRoomGfx(), DrawInventoryMenuEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 199 of file screen_editor.h.
Referenced by DrawDungeonMapsEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 204 of file screen_editor.h.
Referenced by DrawTitleScreenBG1Canvas(), DrawTitleScreenCompositeCanvas(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 206 of file screen_editor.h.
Referenced by DrawTitleScreenBG2Canvas(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 209 of file screen_editor.h.
Referenced by DrawTitleScreenBlocksetSelector(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 212 of file screen_editor.h.
Referenced by DrawInventoryItemIcons(), DrawInventoryMenuEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 214 of file screen_editor.h.
Referenced by DrawInventoryMenuEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 215 of file screen_editor.h.
Referenced by BuildContextSnapshot(), DrawMenuTilemapEditor(), IsMenuTilemapDirtyForTesting(), IsMenuTilemapLoadedForTesting(), and LoadMenuTilemapForTesting().
|
private |
Definition at line 216 of file screen_editor.h.
Referenced by DrawTitleScreenBG1Canvas(), DrawTitleScreenBG2Canvas(), DrawTitleScreenBlocksetSelector(), DrawTitleScreenCompositeCanvas(), DrawTitleScreenEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 217 of file screen_editor.h.
Referenced by DrawOverworldMapEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 220 of file screen_editor.h.
Referenced by DrawTitleScreenBG1Canvas(), DrawTitleScreenBG2Canvas(), DrawTitleScreenBlocksetSelector(), DrawTitleScreenCompositeCanvas(), DrawTitleScreenEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 221 of file screen_editor.h.
Referenced by DrawTitleScreenEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 222 of file screen_editor.h.
Referenced by DrawTitleScreenBG1Canvas(), DrawTitleScreenBG2Canvas(), DrawTitleScreenBlocksetSelector(), DrawTitleScreenCompositeCanvas(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 223 of file screen_editor.h.
Referenced by DrawTitleScreenBG1Canvas(), DrawTitleScreenBG2Canvas(), DrawTitleScreenBlocksetSelector(), DrawTitleScreenCompositeCanvas(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 224 of file screen_editor.h.
Referenced by DrawTitleScreenBG1Canvas(), DrawTitleScreenBG2Canvas(), DrawTitleScreenBlocksetSelector(), DrawTitleScreenCompositeCanvas(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 225 of file screen_editor.h.
Referenced by DrawTitleScreenCompositeCanvas(), DrawTitleScreenEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 226 of file screen_editor.h.
Referenced by DrawTitleScreenCompositeCanvas(), DrawTitleScreenEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 229 of file screen_editor.h.
Referenced by DrawOverworldMapEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 230 of file screen_editor.h.
Referenced by DrawOverworldMapEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 231 of file screen_editor.h.
Referenced by DrawOverworldMapEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 234 of file screen_editor.h.
Referenced by DrawOverworldMapEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 236 of file screen_editor.h.
Referenced by DrawOverworldMapEditor(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 240 of file screen_editor.h.
Referenced by ChangeDungeonMapFloorCount(), CommitDungeonMapUndo(), PrepareDungeonMapSave(), ResetRomBackedStateForLoad(), and SaveDungeonMapUndoState().
|
private |
Definition at line 241 of file screen_editor.h.
Referenced by ChangeDungeonMapFloorCount(), CommitTile16CompUndo(), PrepareDungeonMapSave(), ResetRomBackedStateForLoad(), and SaveTile16CompUndoState().
|
private |
Definition at line 242 of file screen_editor.h.
Referenced by CommitSaveTransaction(), HasPendingDungeonMapChanges(), MarkDungeonMapModified(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 243 of file screen_editor.h.
Referenced by HasPendingDungeonMapTile16Changes(), MarkDungeonMapTile16Modified(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 244 of file screen_editor.h.
Referenced by HasPendingTitleScreenChanges(), MarkTitleScreenModified(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 245 of file screen_editor.h.
Referenced by HasPendingOverworldMapChanges(), MarkOverworldMapModified(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 246 of file screen_editor.h.
Referenced by HasPendingOverworldMapChanges(), MarkOverworldMapPaletteModified(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 247 of file screen_editor.h.
Referenced by ChangeDungeonMapFloorCount(), DrawDungeonMapScreen(), DrawDungeonMapsEditor(), DrawDungeonMapsRoomGfx(), DrawDungeonMapsTabs(), DrawInventoryMenuEditor(), DrawOverworldMapEditor(), DrawTitleScreenEditor(), IsRomBackedStateValid(), Load(), OpenDungeonMapTileGraphics(), PrepareDungeonMapSave(), RefreshDungeonMapGraphicsFromSession(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 248 of file screen_editor.h.
Referenced by Load(), PrepareDungeonMapSave(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 249 of file screen_editor.h.
Referenced by Load(), PrepareDungeonMapSave(), and ResetRomBackedStateForLoad().
|
private |
Definition at line 250 of file screen_editor.h.
Referenced by BeginSaveTransaction(), CommitSaveTransaction(), RollbackSaveTransaction(), and Save().
|
private |
Definition at line 251 of file screen_editor.h.
Referenced by BeginSaveTransaction(), CommitSaveTransaction(), RollbackSaveTransaction(), and Save().
|
private |
Definition at line 252 of file screen_editor.h.
Referenced by CommitDungeonMapUndo(), ResetRomBackedStateForLoad(), and SaveDungeonMapUndoState().
|
private |
Definition at line 253 of file screen_editor.h.
Referenced by CommitTile16CompUndo(), ResetRomBackedStateForLoad(), and SaveTile16CompUndoState().
|
private |
Definition at line 254 of file screen_editor.h.
Referenced by CommitDungeonMapUndo(), ResetRomBackedStateForLoad(), and SaveDungeonMapUndoState().
|
private |
Definition at line 255 of file screen_editor.h.
Referenced by CommitTile16CompUndo(), ResetRomBackedStateForLoad(), and SaveTile16CompUndoState().
|
private |
Definition at line 257 of file screen_editor.h.
Referenced by Load(), OpenDungeonMapTileGraphics(), PrepareDungeonMapSave(), rom(), Save(), and set_rom().
|
private |
Definition at line 258 of file screen_editor.h.
Referenced by DrawDungeonMapsEditor(), DrawDungeonMapsTabs(), DrawInventoryMenuEditor(), DrawInventoryToolset(), DrawOverworldMapEditor(), DrawTitleScreenBG1Canvas(), DrawTitleScreenBG2Canvas(), DrawTitleScreenCompositeCanvas(), DrawTitleScreenEditor(), LoadBinaryGfx(), ResetRomBackedStateForLoad(), and Update().