Main UI class for editing overworld maps in A Link to the Past. More...
#include <overworld_editor.h>

Classes | |
| struct | OverworldUndoPoint |
| struct | ScratchSpace |
Public Member Functions | |
| OverworldEditor (Rom *rom) | |
| OverworldEditor (Rom *rom, const EditorDependencies &deps) | |
| void | SetGameData (zelda3::GameData *game_data) override |
| void | Initialize () override |
| absl::Status | Load () override |
| absl::Status | Update () final |
| 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::Status | Clear () override |
| zelda3::Overworld & | overworld () |
| Access the underlying Overworld data. | |
| absl::Status | ApplyZSCustomOverworldASM (int target_version) |
| Apply ZSCustomOverworld ASM patch to upgrade ROM version. | |
| absl::Status | UpdateROMVersionMarkers (int target_version) |
| Update ROM version markers and feature flags after ASM patching. | |
| int | jump_to_tab () |
| bool | IsRomLoaded () const override |
| std::string | GetRomStatus () const override |
| Rom * | rom () const |
| void | set_current_map (int map_id) |
| Set the current map for editing (also updates world) | |
| void | set_current_tile16 (int tile_id) |
| absl::Status | LoadGraphics () |
| Load the Bitmap objects for each OverworldMap. | |
| void | HandleEntityInsertion (const std::string &entity_type) |
| Handle entity insertion from context menu. | |
| void | ProcessPendingEntityInsertion () |
| Process any pending entity insertion request Called from Update() - needed because ImGui::OpenPopup() doesn't work correctly when called from within another popup's callback. | |
| void | HandleTile16Edit () |
| Handle tile16 editing from context menu (MOUSE mode) Gets the tile16 under the cursor and opens the Tile16Editor focused on it. | |
| void | ToggleBrushTool () |
| void | ActivateFillTool () |
| void | CycleTileSelection (int delta) |
| bool | PickTile16FromHoveredCanvas () |
| void | HandleKeyboardShortcuts () |
| Handle keyboard shortcuts for the Overworld Editor Shortcuts: 1-2 (modes), 3-8 (entities), F11 (fullscreen), I/Right-click (eyedropper in paint modes), Ctrl+L (map lock), Ctrl+T (Tile16 editor), Ctrl+Z/Y (undo/redo) | |
| absl::Status | DrawAreaGraphics () |
| absl::Status | DrawTile16Selector () |
| void | DrawMapProperties () |
| void | InvalidateGraphicsCache (int map_id=-1) |
| Invalidate cached graphics for a specific map or all maps. | |
| absl::Status | DrawScratchSpace () |
| void | DrawTile8Selector () |
| absl::Status | UpdateGfxGroupEditor () |
| void | DrawV3Settings () |
| UsageStatisticsCard * | usage_stats_card () |
| Access usage statistics card for panel. | |
| DebugWindowCard * | debug_window_card () |
| Access debug window card for panel. | |
| Tile16Editor & | tile16_editor () |
| Access the Tile16 Editor for panel integration. | |
| void | DrawOverworldCanvas () |
| Draw the main overworld canvas. | |
Public Member Functions inherited from yaze::editor::Editor | |
| Editor ()=default | |
| virtual | ~Editor ()=default |
| virtual void | SetDependencies (const EditorDependencies &deps) |
| virtual std::string | GetUndoDescription () const |
| virtual std::string | GetRedoDescription () const |
| const UndoManager & | undo_manager () const |
| EditorType | type () const |
| bool * | active () |
| void | set_active (bool active) |
| void | toggle_active () |
| Rom * | rom () const |
| zelda3::GameData * | game_data () const |
| EditorContext | context () const |
| bool | HasContext () const |
Public Attributes | |
| int | jump_to_tab_ = -1 |
Private Types | |
| enum | OverworldProperty { LW_AREA_GFX , DW_AREA_GFX , LW_AREA_PAL , DW_AREA_PAL , LW_SPR_GFX_PART1 , LW_SPR_GFX_PART2 , DW_SPR_GFX_PART1 , DW_SPR_GFX_PART2 , LW_SPR_PAL_PART1 , LW_SPR_PAL_PART2 , DW_SPR_PAL_PART1 , DW_SPR_PAL_PART2 } |
Private Member Functions | |
| void | HandleEntityEditingShortcuts () |
| void | HandleUndoRedoShortcuts () |
| void | HandleEntityInteraction () |
| Handle entity interaction in MOUSE mode Includes: right-click context menus, double-click navigation, popups. | |
| void | HandleEntityContextMenus (zelda3::GameEntity *hovered_entity) |
| Handle right-click context menus for entities. | |
| void | HandleEntityDoubleClick (zelda3::GameEntity *hovered_entity) |
| Handle double-click actions on entities (e.g., jump to room) | |
| void | DrawEntityEditorPopups () |
| Draw entity editor popups and update entity data. | |
| void | InitMapRefreshCoordinator () |
| Initialize the map refresh coordinator (called during Initialize) | |
| void | RefreshChildMap (int map_index) |
| void | RefreshOverworldMap () |
| void | RefreshOverworldMapOnDemand (int map_index) |
| void | RefreshChildMapOnDemand (int map_index) |
| absl::Status | RefreshMapPalette () |
| void | RefreshMapProperties () |
| absl::Status | RefreshTile16Blockset () |
| void | UpdateBlocksetWithPendingTileChanges () |
| void | ForceRefreshGraphics (int map_index) |
| void | RefreshSiblingMapGraphics (int map_index, bool include_self=false) |
| void | InitTilePaintingManager () |
| Initialize the tile painting manager (called after graphics load) | |
| void | CheckForOverworldEdits () |
| Check for tile edits - delegates to TilePaintingManager. | |
| absl::Status | CheckForCurrentMap () |
| Check for map changes and refresh if needed. | |
| void | HandleMapInteraction () |
| void | UpdateBlocksetSelectorState () |
| void | ScrollBlocksetCanvasToCurrentTile () |
| Scroll the blockset canvas to show the current selected tile16. | |
| void | InitCanvasNavigationManager () |
| Initialize the canvas navigation manager (called during Initialize) | |
| void | HandleOverworldPan () |
| void | HandleOverworldZoom () |
| void | ZoomIn () |
| void | ZoomOut () |
| void | ClampOverworldScroll () |
| void | ResetOverworldView () |
| void | CenterOverworldView () |
| absl::Status | LoadSpriteGraphics () |
| void | ProcessDeferredTextures () |
| Create textures for deferred map bitmaps on demand. | |
| void | EnsureMapTexture (int map_index) |
| Ensure a specific map has its texture created. | |
| void | SetupCanvasAutomation () |
| gui::Canvas * | GetOverworldCanvas () |
| bool | AutomationSetTile (int x, int y, int tile_id) |
| int | AutomationGetTile (int x, int y) |
| absl::Status | SaveCurrentSelectionToScratch () |
| absl::Status | LoadScratchToSelection () |
| absl::Status | ClearScratchSpace () |
| void | DrawScratchSpaceEdits () |
| void | DrawScratchSpacePattern () |
| void | DrawScratchSpaceSelection () |
| void | UpdateScratchBitmapTile (int tile_x, int tile_y, int tile_id) |
| void | CreateUndoPoint (int map_id, int world, int x, int y, int old_tile_id) |
| void | FinalizePaintOperation () |
| auto & | GetWorldTiles (int world) |
Static Private Attributes | |
| static constexpr auto | kPaintBatchTimeout = std::chrono::milliseconds(500) |
Friends | |
| class | OverworldCanvasRenderer |
Additional Inherited Members | |
Protected Member Functions inherited from yaze::editor::Editor | |
| std::string | MakePanelTitle (const std::string &base_title) const |
| std::string | MakePanelId (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_ |
Static Protected Attributes inherited from yaze::gfx::GfxContext | |
| static std::unordered_map< uint8_t, gfx::Paletteset > | palettesets_ |
Main UI class for editing overworld maps in A Link to the Past.
The OverworldEditor orchestrates tile editing, entity management, and map property configuration. It coordinates between the data layer (zelda3::Overworld) and the UI components (canvas, panels, popups).
Key subsystems:
Definition at line 124 of file overworld_editor.h.
|
private |
| Enumerator | |
|---|---|
| LW_AREA_GFX | |
| DW_AREA_GFX | |
| LW_AREA_PAL | |
| DW_AREA_PAL | |
| LW_SPR_GFX_PART1 | |
| LW_SPR_GFX_PART2 | |
| DW_SPR_GFX_PART1 | |
| DW_SPR_GFX_PART2 | |
| LW_SPR_PAL_PART1 | |
| LW_SPR_PAL_PART2 | |
| DW_SPR_PAL_PART1 | |
| DW_SPR_PAL_PART2 | |
Definition at line 465 of file overworld_editor.h.
|
inlineexplicit |
Definition at line 132 of file overworld_editor.h.
References gfx_group_editor_, yaze::editor::kOverworld, rom(), yaze::editor::GfxGroupEditor::SetRom(), and yaze::editor::Editor::type_.

|
inlineexplicit |
Definition at line 139 of file overworld_editor.h.
References yaze::editor::Editor::dependencies_.
|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 144 of file overworld_editor.h.
References yaze::editor::Editor::game_data(), game_data_, gfx_group_editor_, overworld_, yaze::zelda3::Overworld::SetGameData(), yaze::editor::GfxGroupEditor::SetGameData(), yaze::editor::Tile16Editor::SetGameData(), and tile16_editor_.
Referenced by yaze::editor::EditorSet::EditorSet(), yaze::test::OverworldEditorTestSuite::RunEntityManipulationTest(), and yaze::test::OverworldEditorTestSuite::RunTilePlacementTest().

|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 87 of file overworld_editor.cc.
References canvas_renderer_, current_map_, debug_window_card_, yaze::editor::Editor::dependencies_, entity_renderer_, ForceRefreshGraphics(), InitCanvasNavigationManager(), InitMapRefreshCoordinator(), InitTilePaintingManager(), InvalidateGraphicsCache(), LoadScratchToSelection(), map_properties_system_, maps_bmp_, overworld_, ow_map_canvas_, yaze::editor::EditorDependencies::panel_manager, RefreshMapPalette(), RefreshMapProperties(), RefreshOverworldMap(), RefreshSiblingMapGraphics(), RefreshTile16Blockset(), yaze::editor::EditorDependencies::renderer, renderer_, rom_, SaveCurrentSelectionToScratch(), SetupCanvasAutomation(), sidebar_, sprite_previews_, toolbar_, and usage_stats_card_.
Referenced by yaze::test::OverworldEditorTestSuite::RunEntityManipulationTest(), and yaze::test::OverworldEditorTestSuite::RunTilePlacementTest().
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 233 of file overworld_editor.cc.
References all_gfx_loaded_, ASSIGN_OR_RETURN, yaze::editor::UndoManager::Clear(), current_gfx_bmp_, current_map_, current_paint_operation_, entrance_tiletypes_, yaze::gfx::Arena::Get(), HandleEntityInsertion(), HandleTile16Edit(), yaze::editor::Tile16Editor::Initialize(), yaze::Rom::is_loaded(), yaze::zelda3::LoadEntranceTileTypes(), LoadGraphics(), LOG_DEBUG, map_properties_system_, yaze::zelda3::Overworld::mutable_all_tiles_types(), overworld_, palette_, palette_listener_id_, RefreshOverworldMap(), RefreshTile16Blockset(), yaze::gfx::Arena::RegisterPaletteListener(), RETURN_IF_ERROR, rom_, yaze::editor::Tile16Editor::set_on_changes_committed(), yaze::editor::Tile16Editor::set_palette(), yaze::editor::Tile16Editor::SetRom(), tile16_blockset_bmp_, tile16_editor_, and yaze::editor::Editor::undo_manager_.
Referenced by yaze::test::OverworldEditorTestSuite::RunEntityManipulationTest(), yaze::test::OverworldEditorTestSuite::RunTilePlacementTest(), and Update().
|
finalvirtual |
Implements yaze::editor::Editor.
Definition at line 305 of file overworld_editor.cc.
References all_gfx_loaded_, ApplyZSCustomOverworldASM(), yaze::gui::CenterText(), Clear(), current_map_, yaze::editor::Editor::dependencies_, entity_insert_error_message_, yaze::editor::AgentUI::GetTheme(), HandleEntityInteraction(), HandleKeyboardShortcuts(), yaze::editor::Tile16Editor::has_pending_changes(), ICON_MD_CANCEL, ICON_MD_CHECK, ICON_MD_ERROR, ICON_MD_FORMAT_COLOR_FILL, ICON_MD_LAYERS, ICON_MD_UPGRADE, yaze::Rom::is_loaded(), yaze::zelda3::Overworld::is_loaded(), Load(), LOG_ERROR, map_blockset_loaded_, map_properties_system_, overworld_, overworld_canvas_fullscreen_, yaze::zelda3::OverworldCustomASMHasBeenApplied, yaze::editor::EditorDependencies::panel_manager, ProcessDeferredTextures(), rom_, show_custom_bg_color_editor_, show_overlay_editor_, status_, tile16_editor_, and UpdateBlocksetWithPendingTileChanges().
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 994 of file overworld_editor.cc.
References FinalizePaintOperation(), yaze::editor::UndoManager::Undo(), and yaze::editor::Editor::undo_manager_.
Referenced by HandleUndoRedoShortcuts().

|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 1000 of file overworld_editor.cc.
References yaze::editor::UndoManager::Redo(), and yaze::editor::Editor::undo_manager_.
Referenced by HandleUndoRedoShortcuts().

|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 160 of file overworld_editor.h.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 711 of file overworld_editor.cc.
References current_map_, current_tile16_, current_world_, yaze::editor::Editor::dependencies_, yaze::zelda3::Overworld::GetTile(), yaze::editor::SharedClipboard::has_overworld_tile16, overworld_, yaze::editor::SharedClipboard::overworld_height, yaze::editor::SharedClipboard::overworld_tile16_ids, yaze::editor::SharedClipboard::overworld_width, ow_map_canvas_, yaze::gui::Canvas::select_rect_active(), yaze::gui::Canvas::selected_points(), yaze::zelda3::Overworld::set_current_map(), yaze::zelda3::Overworld::set_current_world(), and yaze::editor::EditorDependencies::shared_clipboard.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 758 of file overworld_editor.cc.
References CreateUndoPoint(), current_map_, current_world_, yaze::editor::Editor::dependencies_, yaze::gui::Canvas::drawn_tile_position(), FinalizePaintOperation(), yaze::gui::Canvas::global_scale(), yaze::editor::SharedClipboard::has_overworld_tile16, yaze::editor::kOverworldMapSize, yaze::editor::kTile16Size, yaze::zelda3::Overworld::mutable_map_tiles(), overworld_, yaze::editor::SharedClipboard::overworld_height, yaze::editor::SharedClipboard::overworld_tile16_ids, yaze::editor::SharedClipboard::overworld_width, ow_map_canvas_, yaze::gui::Canvas::points(), RefreshOverworldMap(), rom_, yaze::gui::Canvas::selected_tile_pos(), yaze::Rom::set_dirty(), and yaze::editor::EditorDependencies::shared_clipboard.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 163 of file overworld_editor.h.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 853 of file overworld_editor.cc.
References yaze::core::AddressOwnershipToString(), yaze::zelda3::Overworld::CreateTile32Tilemap(), yaze::editor::Editor::dependencies_, yaze::core::FeatureFlags::get(), yaze::zelda3::Overworld::GetProjectedWriteRanges(), yaze::project::YazeProject::hack_manifest, yaze::project::kAllow, yaze::project::kBlock, yaze::editor::kError, yaze::core::FeatureFlags::Flags::Overworld::kSaveOverworldMaps, yaze::project::kWarn, yaze::editor::kWarning, yaze::core::HackManifest::loaded(), LOG_DEBUG, LOG_WARN, overworld(), yaze::core::FeatureFlags::Flags::overworld, overworld_, yaze::editor::EditorDependencies::project, RETURN_IF_ERROR, yaze::project::YazeProject::rom_metadata, yaze::zelda3::Overworld::SaveEntrances(), yaze::zelda3::Overworld::SaveExits(), yaze::zelda3::Overworld::SaveItems(), yaze::zelda3::Overworld::SaveMap16Tiles(), yaze::zelda3::Overworld::SaveMap32Tiles(), yaze::zelda3::Overworld::SaveMapProperties(), yaze::zelda3::Overworld::SaveMusic(), yaze::zelda3::Overworld::SaveOverworldMaps(), yaze::editor::ToastManager::Show(), yaze::editor::EditorDependencies::toast_manager, and yaze::project::RomMetadata::write_policy.
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 1293 of file overworld_editor.cc.
References all_gfx_loaded_, current_graphics_set_, yaze::zelda3::Overworld::Destroy(), yaze::gfx::Arena::Get(), map_blockset_loaded_, overworld_, palette_listener_id_, and yaze::gfx::Arena::UnregisterPaletteListener().
Referenced by Update().

|
inline |
Access the underlying Overworld data.
Definition at line 168 of file overworld_editor.h.
References overworld_.
Referenced by LoadGraphics(), yaze::test::OverworldEditorTestSuite::RunEntityManipulationTest(), and Save().
| absl::Status yaze::editor::OverworldEditor::ApplyZSCustomOverworldASM | ( | int | target_version | ) |
Apply ZSCustomOverworld ASM patch to upgrade ROM version.
| target_version | Target version (2 for v2, 3 for v3) |
Definition at line 1307 of file overworld_editor.cc.
References yaze::util::GetResourcePath(), yaze::zelda3::Overworld::Load(), yaze::Rom::LoadFromData(), LOG_DEBUG, LOG_ERROR, overworld_, yaze::zelda3::OverworldCustomASMHasBeenApplied, RETURN_IF_ERROR, rom_, UpdateROMVersionMarkers(), and yaze::Rom::vector().
Referenced by Update().
| absl::Status yaze::editor::OverworldEditor::UpdateROMVersionMarkers | ( | int | target_version | ) |
Update ROM version markers and feature flags after ASM patching.
Definition at line 1415 of file overworld_editor.cc.
References yaze::zelda3::kOverworldScreenSize, yaze::zelda3::LargeArea, LOG_DEBUG, yaze::zelda3::OverworldCustomAnimatedGFXEnabled, yaze::zelda3::OverworldCustomAreaSpecificBGEnabled, yaze::zelda3::OverworldCustomASMHasBeenApplied, yaze::zelda3::OverworldCustomMainPaletteEnabled, yaze::zelda3::OverworldCustomMosaicEnabled, yaze::zelda3::OverworldCustomSubscreenOverlayEnabled, yaze::zelda3::OverworldCustomTileGFXGroupEnabled, and yaze::zelda3::SmallArea.
Referenced by ApplyZSCustomOverworldASM().
|
inline |
Definition at line 183 of file overworld_editor.h.
References jump_to_tab_.
|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 190 of file overworld_editor.h.
References yaze::Rom::is_loaded(), and rom_.

|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 191 of file overworld_editor.h.
References yaze::Rom::is_loaded(), rom_, and yaze::Rom::title().

|
inline |
Definition at line 199 of file overworld_editor.h.
References rom_.
Referenced by OverworldEditor().
|
inline |
Set the current map for editing (also updates world)
Definition at line 202 of file overworld_editor.h.
References current_map_, current_world_, FinalizePaintOperation(), yaze::zelda3::kNumOverworldMaps, overworld_, yaze::zelda3::Overworld::set_current_map(), and yaze::zelda3::Overworld::set_current_world().
Referenced by yaze::test::OverworldEditorTestSuite::RunEntityManipulationTest(), and yaze::test::OverworldEditorTestSuite::RunTilePlacementTest().

|
inline |
Definition at line 214 of file overworld_editor.h.
References current_tile16_.
| absl::Status yaze::editor::OverworldEditor::LoadGraphics | ( | ) |
Load the Bitmap objects for each OverworldMap.
Calls the Overworld class to load the image data and palettes from the Rom, then renders the area graphics and tile16 blockset Bitmap objects before assembling the OverworldMap Bitmap objects.
Definition at line 1006 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gfx::Bitmap::Create(), yaze::gfx::Arena::CREATE, yaze::gfx::CreateTilemap(), yaze::zelda3::Overworld::current_area_palette(), current_gfx_bmp_, yaze::zelda3::Overworld::current_graphics(), yaze::zelda3::Overworld::current_map_bitmap_data(), current_world_, yaze::gfx::Arena::Get(), yaze::core::FeatureFlags::get(), yaze::gfx::Bitmap::is_active(), yaze::zelda3::kDarkWorldMapIdStart, yaze::zelda3::kNumOverworldMaps, yaze::zelda3::kNumTile16Individual, yaze::editor::kOverworldMapSize, yaze::zelda3::kSpecialWorldMapIdStart, yaze::editor::kTile16Size, yaze::zelda3::Overworld::Load(), LoadSpriteGraphics(), LOG_DEBUG, map_blockset_loaded_, maps_bmp_, overworld(), overworld_, palette_, yaze::gfx::Arena::QueueTextureCommand(), renderer_, RETURN_IF_ERROR, rom_, yaze::zelda3::Overworld::set_current_map(), yaze::gfx::Bitmap::SetPalette(), yaze::gfx::SnesPalette::size(), yaze::gfx::Bitmap::surface(), tile16_blockset_, tile16_blockset_bmp_, and yaze::zelda3::Overworld::tile16_blockset_data().
Referenced by Load().
| void yaze::editor::OverworldEditor::HandleEntityInsertion | ( | const std::string & | entity_type | ) |
Handle entity insertion from context menu.
| entity_type | Type: "entrance", "hole", "exit", "item", "sprite" |
Definition at line 75 of file automation.cc.
References yaze::gui::Canvas::hover_mouse_pos(), LOG_DEBUG, ow_map_canvas_, pending_entity_insert_pos_, and pending_entity_insert_type_.
Referenced by Load().

| void yaze::editor::OverworldEditor::ProcessPendingEntityInsertion | ( | ) |
Process any pending entity insertion request Called from Update() - needed because ImGui::OpenPopup() doesn't work correctly when called from within another popup's callback.
Definition at line 88 of file automation.cc.
References current_entity_, current_entrance_, current_exit_, current_item_, current_map_, current_sprite_, entity_insert_error_message_, game_state_, yaze::editor::InsertEntrance(), yaze::editor::InsertExit(), yaze::editor::InsertItem(), yaze::editor::InsertSprite(), yaze::zelda3::Overworld::is_loaded(), yaze::gui::PopupNames::kEntranceEditor, yaze::gui::PopupNames::kExitEditor, yaze::gui::PopupNames::kItemEditor, yaze::gui::EditorNames::kOverworld, yaze::gui::PopupNames::kSpriteEditor, LOG_DEBUG, LOG_ERROR, LOG_WARN, yaze::gui::MakePopupId(), overworld_, pending_entity_insert_pos_, pending_entity_insert_type_, rom_, and yaze::Rom::set_dirty().
Referenced by HandleEntityInteraction().
| void yaze::editor::OverworldEditor::HandleTile16Edit | ( | ) |
Handle tile16 editing from context menu (MOUSE mode) Gets the tile16 under the cursor and opens the Tile16Editor focused on it.
Definition at line 215 of file automation.cc.
References yaze::editor::Editor::dependencies_, yaze::zelda3::Overworld::is_loaded(), yaze::editor::OverworldPanelIds::kTile16Editor, LOG_ERROR, map_blockset_loaded_, overworld_, yaze::editor::EditorDependencies::panel_manager, and yaze::editor::PanelManager::ShowPanel().
Referenced by Load().

|
inline |
Definition at line 253 of file overworld_editor.h.
References tile_painting_.
Referenced by HandleKeyboardShortcuts().
|
inline |
Definition at line 254 of file overworld_editor.h.
References tile_painting_.
Referenced by HandleKeyboardShortcuts().
| void yaze::editor::OverworldEditor::CycleTileSelection | ( | int | delta | ) |
Definition at line 1475 of file overworld_editor.cc.
References current_tile16_.
|
inline |
Definition at line 256 of file overworld_editor.h.
References tile_painting_.
Referenced by HandleKeyboardShortcuts(), and InitCanvasNavigationManager().
| void yaze::editor::OverworldEditor::HandleKeyboardShortcuts | ( | ) |
Handle keyboard shortcuts for the Overworld Editor Shortcuts: 1-2 (modes), 3-8 (entities), F11 (fullscreen), I/Right-click (eyedropper in paint modes), Ctrl+L (map lock), Ctrl+T (Tile16 editor), Ctrl+Z/Y (undo/redo)
Definition at line 466 of file overworld_editor.cc.
References ActivateFillTool(), current_map_lock_, current_mode, yaze::editor::Editor::dependencies_, yaze::editor::DRAW_TILE, HandleEntityEditingShortcuts(), HandleUndoRedoShortcuts(), yaze::gui::kEntityManipulation, yaze::editor::OverworldPanelIds::kTile16Editor, yaze::gui::kTilePainting, yaze::editor::MOUSE, overworld_canvas_fullscreen_, ow_map_canvas_, yaze::editor::EditorDependencies::panel_manager, PickTile16FromHoveredCanvas(), yaze::gui::Canvas::SetUsageMode(), ToggleBrushTool(), and yaze::editor::PanelManager::TogglePanel().
Referenced by Update().
|
inline |
Definition at line 272 of file overworld_editor.h.
References canvas_renderer_.
|
inline |
Definition at line 276 of file overworld_editor.h.
References canvas_renderer_.
|
inline |
Definition at line 280 of file overworld_editor.h.
References canvas_renderer_.
|
inline |
Invalidate cached graphics for a specific map or all maps.
| map_id | The map to invalidate (-1 to invalidate all maps) Call this when palette or graphics settings change. |
Definition at line 285 of file overworld_editor.h.
References map_refresh_.
Referenced by Initialize().
| absl::Status yaze::editor::OverworldEditor::DrawScratchSpace | ( | ) |
Definition at line 28 of file scratch_space.cc.
References all_gfx_loaded_, yaze::gui::BeginCanvas(), yaze::gui::BeginChildWithScrollbar(), yaze::gui::BeginPadding(), yaze::gui::CanvasFrameOptions::canvas_size, ClearScratchSpace(), yaze::gfx::Bitmap::Create(), yaze::gfx::Arena::CREATE, yaze::zelda3::Overworld::current_area_palette(), current_mode, yaze::gui::CanvasFrameOptions::draw_context_menu, yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::CanvasFrameOptions::draw_overlay, yaze::editor::DRAW_TILE, yaze::gui::Canvas::DrawBitmap(), DrawScratchSpaceEdits(), yaze::gui::Canvas::DrawTileSelector(), yaze::gui::EndCanvas(), yaze::gui::EndPadding(), yaze::gfx::Arena::Get(), yaze::gui::CanvasFrameOptions::grid_step, yaze::editor::OverworldEditor::ScratchSpace::height, HOVER_HINT, ICON_MD_BRUSH, ICON_MD_CONTENT_PASTE, yaze::gfx::Bitmap::is_active(), map_blockset_loaded_, yaze::editor::OverworldEditor::ScratchSpace::name, overworld_, ow_map_canvas_, palette_, yaze::gfx::Arena::QueueTextureCommand(), yaze::gui::CanvasFrameOptions::render_popups, RETURN_IF_ERROR, SaveCurrentSelectionToScratch(), yaze::editor::OverworldEditor::ScratchSpace::scratch_bitmap, scratch_canvas_, scratch_space_, yaze::gui::Canvas::select_rect_active(), yaze::gui::Canvas::selected_tiles(), yaze::gfx::Bitmap::SetPalette(), yaze::gui::CanvasFrameOptions::use_child_window, and yaze::editor::OverworldEditor::ScratchSpace::width.
|
inline |
Definition at line 289 of file overworld_editor.h.
References canvas_renderer_.
| absl::Status yaze::editor::OverworldEditor::UpdateGfxGroupEditor | ( | ) |
Definition at line 839 of file overworld_editor.cc.
References yaze::gui::CenterText(), gfx_group_editor_, yaze::Rom::is_loaded(), rom_, and yaze::editor::GfxGroupEditor::Update().

|
inline |
Definition at line 291 of file overworld_editor.h.
References canvas_renderer_.
|
inline |
Access usage statistics card for panel.
Definition at line 294 of file overworld_editor.h.
References usage_stats_card_.
|
inline |
Access debug window card for panel.
Definition at line 297 of file overworld_editor.h.
References debug_window_card_.
|
inline |
Access the Tile16 Editor for panel integration.
Definition at line 300 of file overworld_editor.h.
References tile16_editor_.
|
inline |
Draw the main overworld canvas.
Definition at line 303 of file overworld_editor.h.
References canvas_renderer_.
|
private |
Definition at line 537 of file overworld_editor.cc.
References current_mode, entity_edit_mode_, yaze::editor::ENTRANCES, yaze::editor::EXITS, yaze::editor::ITEMS, yaze::gui::kEntityManipulation, yaze::editor::MOUSE, yaze::editor::MUSIC, ow_map_canvas_, yaze::gui::Canvas::SetUsageMode(), yaze::editor::SPRITES, and yaze::editor::TRANSPORTS.
Referenced by HandleKeyboardShortcuts().

|
private |
Definition at line 566 of file overworld_editor.cc.
References Redo(), status_, and Undo().
Referenced by HandleKeyboardShortcuts().

|
private |
Handle entity interaction in MOUSE mode Includes: right-click context menus, double-click navigation, popups.
Definition at line 591 of file overworld_editor.cc.
References current_mode, DrawEntityEditorPopups(), entity_renderer_, HandleEntityContextMenus(), HandleEntityDoubleClick(), yaze::editor::MOUSE, and ProcessPendingEntityInsertion().
Referenced by Update().

|
private |
Handle right-click context menus for entities.
Definition at line 611 of file overworld_editor.cc.
References current_entity_, current_entrance_, current_exit_, current_item_, current_sprite_, yaze::zelda3::GameEntity::entity_type_, yaze::zelda3::GameEntity::kEntrance, yaze::zelda3::GameEntity::kExit, yaze::zelda3::GameEntity::kItem, yaze::gui::EditorNames::kOverworld, yaze::zelda3::GameEntity::kSprite, and yaze::gui::MakePopupId().
Referenced by HandleEntityInteraction().

|
private |
Handle double-click actions on entities (e.g., jump to room)
Definition at line 653 of file overworld_editor.cc.
References yaze::zelda3::GameEntity::entity_type_, jump_to_tab_, yaze::zelda3::GameEntity::kEntrance, and yaze::zelda3::GameEntity::kExit.
Referenced by HandleEntityInteraction().
|
private |
Draw entity editor popups and update entity data.
Definition at line 669 of file overworld_editor.cc.
References current_entity_, current_entrance_, current_exit_, current_item_, current_sprite_, yaze::editor::DrawExitEditorPopup(), yaze::editor::DrawItemEditorPopup(), yaze::editor::DrawOverworldEntrancePopup(), yaze::editor::DrawSpriteEditorPopup(), yaze::zelda3::GameEntity::entity_type_, yaze::zelda3::GameEntity::kEntrance, yaze::zelda3::GameEntity::kExit, yaze::zelda3::GameEntity::kItem, yaze::zelda3::GameEntity::kSprite, rom_, and yaze::Rom::set_dirty().
Referenced by HandleEntityInteraction().
|
private |
Initialize the map refresh coordinator (called during Initialize)
Definition at line 1262 of file overworld_editor.cc.
References yaze::editor::MapRefreshContext::current_blockset, current_blockset_, yaze::editor::MapRefreshContext::current_gfx_bmp, current_gfx_bmp_, yaze::editor::MapRefreshContext::current_graphics_set, current_graphics_set_, yaze::editor::MapRefreshContext::current_map, current_map_, yaze::editor::MapRefreshContext::current_world, current_world_, yaze::editor::MapRefreshContext::ensure_map_texture, EnsureMapTexture(), yaze::editor::MapRefreshContext::game_state, game_state_, yaze::editor::MapRefreshContext::map_blockset_loaded, map_blockset_loaded_, map_refresh_, yaze::editor::MapRefreshContext::maps_bmp, maps_bmp_, yaze::editor::MapRefreshContext::overworld, overworld_, yaze::editor::MapRefreshContext::palette, palette_, yaze::editor::MapRefreshContext::renderer, renderer_, yaze::editor::MapRefreshContext::rom, rom_, yaze::editor::MapRefreshContext::status, status_, yaze::editor::MapRefreshContext::tile16_blockset, tile16_blockset_, yaze::editor::MapRefreshContext::tile16_editor, and tile16_editor_.
Referenced by Initialize().

|
inlineprivate |
Definition at line 335 of file overworld_editor.h.
References map_refresh_.
|
inlineprivate |
Definition at line 338 of file overworld_editor.h.
References map_refresh_.
Referenced by InitCanvasNavigationManager(), Initialize(), InitTilePaintingManager(), Load(), and Paste().
|
inlineprivate |
Definition at line 341 of file overworld_editor.h.
References map_refresh_.
Referenced by InitTilePaintingManager(), and ProcessDeferredTextures().
|
inlineprivate |
Definition at line 344 of file overworld_editor.h.
References map_refresh_.
|
inlineprivate |
Definition at line 347 of file overworld_editor.h.
References map_refresh_.
Referenced by Initialize().
|
inlineprivate |
Definition at line 351 of file overworld_editor.h.
References map_refresh_.
Referenced by Initialize().
|
inlineprivate |
Definition at line 354 of file overworld_editor.h.
References map_refresh_.
Referenced by InitCanvasNavigationManager(), Initialize(), and Load().
|
inlineprivate |
|
inlineprivate |
Definition at line 361 of file overworld_editor.h.
References map_refresh_.
Referenced by Initialize().
|
inlineprivate |
Definition at line 364 of file overworld_editor.h.
References map_refresh_.
Referenced by Initialize().
|
private |
Initialize the tile painting manager (called after graphics load)
Definition at line 158 of file overworld_editor.cc.
References yaze::editor::TilePaintingCallbacks::create_undo_point, CreateUndoPoint(), yaze::editor::TilePaintingDependencies::current_map, current_map_, current_mode, yaze::editor::TilePaintingDependencies::current_mode, yaze::editor::TilePaintingDependencies::current_parent, current_parent_, yaze::editor::TilePaintingDependencies::current_tile16, current_tile16_, yaze::editor::TilePaintingDependencies::current_world, current_world_, yaze::editor::TilePaintingCallbacks::finalize_paint_operation, FinalizePaintOperation(), yaze::editor::TilePaintingDependencies::game_state, game_state_, yaze::editor::TilePaintingDependencies::maps_bmp, maps_bmp_, yaze::editor::TilePaintingDependencies::overworld, overworld_, yaze::editor::TilePaintingDependencies::ow_map_canvas, ow_map_canvas_, yaze::editor::TilePaintingCallbacks::refresh_overworld_map, yaze::editor::TilePaintingCallbacks::refresh_overworld_map_on_demand, RefreshOverworldMap(), RefreshOverworldMapOnDemand(), yaze::editor::TilePaintingDependencies::rom, rom_, yaze::editor::TilePaintingCallbacks::scroll_blockset_to_current_tile, ScrollBlocksetCanvasToCurrentTile(), yaze::editor::TilePaintingDependencies::selected_tile16_ids, selected_tile16_ids_, yaze::editor::TilePaintingDependencies::tile16_blockset, tile16_blockset_, yaze::editor::TilePaintingDependencies::tile16_editor, tile16_editor_, and tile_painting_.
Referenced by Initialize().
|
private |
Check for tile edits - delegates to TilePaintingManager.
Definition at line 707 of file overworld_editor.cc.
References tile_painting_.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
|
private |
Check for map changes and refresh if needed.
Definition at line 834 of file overworld_editor.cc.
References canvas_nav_.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
|
private |
Definition at line 1285 of file overworld_editor.cc.
References canvas_nav_.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
|
private |
Definition at line 1471 of file overworld_editor.cc.
References canvas_nav_.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawTile16Selector().
|
private |
Scroll the blockset canvas to show the current selected tile16.
Definition at line 1289 of file overworld_editor.cc.
References canvas_nav_.
Referenced by InitTilePaintingManager().
|
private |
Initialize the canvas navigation manager (called during Initialize)
Definition at line 195 of file overworld_editor.cc.
References yaze::editor::CanvasNavigationContext::blockset_selector, blockset_selector_, canvas_nav_, yaze::editor::CanvasNavigationContext::current_map, current_map_, yaze::editor::CanvasNavigationContext::current_map_lock, current_map_lock_, yaze::editor::CanvasNavigationContext::current_mode, current_mode, yaze::editor::CanvasNavigationContext::current_parent, current_parent_, yaze::editor::CanvasNavigationContext::current_tile16, current_tile16_, yaze::editor::CanvasNavigationContext::current_world, current_world_, yaze::editor::CanvasNavigationCallbacks::ensure_map_texture, EnsureMapTexture(), entity_renderer_, yaze::editor::CanvasNavigationContext::is_dragging_entity, is_dragging_entity_, yaze::editor::CanvasNavigationCallbacks::is_entity_hovered, yaze::editor::CanvasNavigationContext::maps_bmp, maps_bmp_, yaze::editor::CanvasNavigationContext::overworld, overworld_, yaze::editor::CanvasNavigationContext::ow_map_canvas, ow_map_canvas_, yaze::editor::CanvasNavigationCallbacks::pick_tile16_from_hovered_canvas, PickTile16FromHoveredCanvas(), yaze::editor::CanvasNavigationCallbacks::refresh_overworld_map, yaze::editor::CanvasNavigationCallbacks::refresh_tile16_blockset, RefreshOverworldMap(), RefreshTile16Blockset(), yaze::editor::CanvasNavigationContext::rom, rom_, yaze::editor::CanvasNavigationContext::show_map_properties_panel, show_map_properties_panel_, yaze::editor::CanvasNavigationContext::tile16_blockset, and tile16_blockset_.
Referenced by Initialize().

|
private |
Definition at line 7 of file overworld_navigation.cc.
References canvas_nav_.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
|
private |
Definition at line 11 of file overworld_navigation.cc.
References canvas_nav_.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
|
private |
Definition at line 15 of file overworld_navigation.cc.
References canvas_nav_.
|
private |
Definition at line 19 of file overworld_navigation.cc.
References canvas_nav_.
|
private |
Definition at line 23 of file overworld_navigation.cc.
References canvas_nav_.
|
private |
Definition at line 27 of file overworld_navigation.cc.
References canvas_nav_.
|
private |
Definition at line 31 of file overworld_navigation.cc.
References canvas_nav_.
|
private |
Definition at line 1176 of file overworld_editor.cc.
References yaze::gfx::Arena::CREATE, yaze::gfx::Arena::Get(), yaze::zelda3::Overworld::mutable_sprites(), overworld_, palette_, yaze::gfx::Arena::QueueTextureCommand(), and sprite_previews_.
Referenced by LoadGraphics().

|
private |
Create textures for deferred map bitmaps on demand.
Definition at line 1199 of file overworld_editor.cc.
References current_map_, current_world_, yaze::gfx::Arena::Get(), yaze::zelda3::kNumOverworldMaps, maps_bmp_, yaze::gfx::Arena::ProcessTextureQueue(), RefreshOverworldMapOnDemand(), and renderer_.
Referenced by Update().

|
private |
Ensure a specific map has its texture created.
Definition at line 1225 of file overworld_editor.cc.
References yaze::gfx::Arena::CREATE, yaze::zelda3::Overworld::current_area_palette(), yaze::zelda3::Overworld::current_map_bitmap_data(), yaze::zelda3::Overworld::EnsureMapBuilt(), yaze::gfx::Arena::Get(), yaze::zelda3::kNumOverworldMaps, yaze::editor::kOverworldMapSize, LOG_ERROR, maps_bmp_, overworld_, yaze::gfx::Arena::QueueTextureCommand(), and yaze::zelda3::Overworld::set_current_map().
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldMaps(), InitCanvasNavigationManager(), and InitMapRefreshCoordinator().
|
private |
Definition at line 16 of file automation.cc.
References AutomationGetTile(), AutomationSetTile(), yaze::gui::Canvas::GetAutomationAPI(), ow_map_canvas_, and yaze::gui::CanvasAutomationAPI::SetTilePaintCallback().
Referenced by Initialize().

|
inlineprivate |
Definition at line 422 of file overworld_editor.h.
References ow_map_canvas_.
|
private |
Definition at line 29 of file automation.cc.
References current_map_, current_world_, yaze::gfx::GetTilemapData(), yaze::zelda3::Overworld::is_loaded(), overworld_, yaze::zelda3::Overworld::set_current_map(), yaze::zelda3::Overworld::set_current_world(), yaze::zelda3::Overworld::SetTile(), tile16_blockset_, and tile_painting_.
Referenced by yaze::test::OverworldEditorTestSuite::RunTilePlacementTest(), and SetupCanvasAutomation().
|
private |
Definition at line 58 of file automation.cc.
References current_map_, current_world_, yaze::zelda3::Overworld::GetTile(), yaze::zelda3::Overworld::is_loaded(), overworld_, yaze::zelda3::Overworld::set_current_map(), and yaze::zelda3::Overworld::set_current_world().
Referenced by yaze::test::OverworldEditorTestSuite::RunTilePlacementTest(), and SetupCanvasAutomation().

|
private |
Definition at line 231 of file scratch_space.cc.
References all_gfx_loaded_, yaze::gfx::Bitmap::Create(), yaze::gfx::Arena::CREATE, yaze::zelda3::Overworld::current_area_palette(), current_map_, current_world_, yaze::gfx::Arena::Get(), yaze::zelda3::Overworld::GetTileFromPosition(), yaze::editor::OverworldEditor::ScratchSpace::height, yaze::editor::OverworldEditor::ScratchSpace::in_use, yaze::editor::OverworldEditor::ScratchSpace::name, overworld_, ow_map_canvas_, palette_, yaze::gfx::Arena::QueueTextureCommand(), yaze::editor::OverworldEditor::ScratchSpace::scratch_bitmap, scratch_space_, yaze::gui::Canvas::select_rect_active(), yaze::gui::Canvas::selected_points(), yaze::gui::Canvas::selected_tiles(), yaze::zelda3::Overworld::set_current_map(), yaze::zelda3::Overworld::set_current_world(), yaze::gfx::Bitmap::SetPalette(), yaze::editor::OverworldEditor::ScratchSpace::tile_data, UpdateScratchBitmapTile(), and yaze::editor::OverworldEditor::ScratchSpace::width.
Referenced by DrawScratchSpace(), and Initialize().
|
private |
Definition at line 300 of file scratch_space.cc.
References yaze::editor::OverworldEditor::ScratchSpace::in_use, yaze::util::logf(), yaze::editor::OverworldEditor::ScratchSpace::name, and scratch_space_.
Referenced by Initialize().

|
private |
Definition at line 310 of file scratch_space.cc.
References yaze::gfx::Arena::Get(), yaze::editor::OverworldEditor::ScratchSpace::in_use, yaze::gfx::Bitmap::is_active(), yaze::gfx::Bitmap::mutable_data(), yaze::editor::OverworldEditor::ScratchSpace::name, yaze::gfx::Arena::QueueTextureCommand(), yaze::editor::OverworldEditor::ScratchSpace::scratch_bitmap, scratch_space_, yaze::gfx::Bitmap::set_modified(), yaze::editor::OverworldEditor::ScratchSpace::tile_data, and yaze::gfx::Arena::UPDATE.
Referenced by DrawScratchSpace().
|
private |
Definition at line 119 of file scratch_space.cc.
References current_tile16_, yaze::gui::Canvas::drawn_tile_position(), yaze::editor::OverworldEditor::ScratchSpace::height, yaze::editor::OverworldEditor::ScratchSpace::in_use, yaze::editor::OverworldEditor::ScratchSpace::name, scratch_canvas_, scratch_space_, yaze::editor::OverworldEditor::ScratchSpace::tile_data, UpdateScratchBitmapTile(), and yaze::editor::OverworldEditor::ScratchSpace::width.
Referenced by DrawScratchSpace().

|
private |
Definition at line 143 of file scratch_space.cc.
References yaze::editor::Editor::dependencies_, yaze::gui::Canvas::drawn_tile_position(), yaze::editor::SharedClipboard::has_overworld_tile16, yaze::editor::OverworldEditor::ScratchSpace::height, yaze::editor::OverworldEditor::ScratchSpace::in_use, yaze::editor::OverworldEditor::ScratchSpace::name, yaze::editor::SharedClipboard::overworld_height, yaze::editor::SharedClipboard::overworld_tile16_ids, yaze::editor::SharedClipboard::overworld_width, scratch_canvas_, scratch_space_, yaze::editor::EditorDependencies::shared_clipboard, yaze::editor::OverworldEditor::ScratchSpace::tile_data, UpdateScratchBitmapTile(), and yaze::editor::OverworldEditor::ScratchSpace::width.

|
private |
|
private |
Definition at line 191 of file scratch_space.cc.
References yaze::gfx::Arena::Get(), yaze::gfx::GetTilemapData(), yaze::gfx::Bitmap::height(), yaze::editor::OverworldEditor::ScratchSpace::in_use, yaze::gfx::Arena::QueueTextureCommand(), yaze::editor::OverworldEditor::ScratchSpace::scratch_bitmap, scratch_space_, yaze::gfx::Bitmap::set_modified(), tile16_blockset_, yaze::gfx::Arena::UPDATE, yaze::gfx::Bitmap::width(), and yaze::gfx::Bitmap::WriteToPixel().
Referenced by DrawScratchSpaceEdits(), DrawScratchSpacePattern(), and SaveCurrentSelectionToScratch().
|
private |
Definition at line 941 of file overworld_editor.cc.
References current_paint_operation_, FinalizePaintOperation(), kPaintBatchTimeout, last_paint_time_, and yaze::editor::OverworldEditor::OverworldUndoPoint::map_id.
Referenced by InitTilePaintingManager(), and Paste().

|
private |
Definition at line 969 of file overworld_editor.cc.
References current_paint_operation_, GetWorldTiles(), overworld_, yaze::editor::UndoManager::Push(), and yaze::editor::Editor::undo_manager_.
Referenced by CreateUndoPoint(), InitTilePaintingManager(), Paste(), set_current_map(), and Undo().

|
private |
Definition at line 930 of file overworld_editor.cc.
References yaze::zelda3::Overworld::mutable_map_tiles(), and overworld_.
Referenced by FinalizePaintOperation().

|
friend |
Definition at line 125 of file overworld_editor.h.
| int yaze::editor::OverworldEditor::jump_to_tab_ = -1 |
Definition at line 184 of file overworld_editor.h.
Referenced by HandleEntityDoubleClick(), jump_to_tab(), and yaze::editor::SessionCoordinator::UpdateSessions().
|
private |
Definition at line 461 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), DrawScratchSpace(), HandleEntityEditingShortcuts(), HandleEntityInteraction(), HandleKeyboardShortcuts(), InitCanvasNavigationManager(), and InitTilePaintingManager().
|
private |
Definition at line 462 of file overworld_editor.h.
|
private |
Definition at line 463 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), and HandleEntityEditingShortcuts().
|
private |
Definition at line 475 of file overworld_editor.h.
Referenced by AutomationGetTile(), AutomationSetTile(), Copy(), yaze::editor::OverworldCanvasRenderer::DrawMapProperties(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), yaze::editor::OverworldCanvasRenderer::DrawOverworldMaps(), InitCanvasNavigationManager(), InitMapRefreshCoordinator(), InitTilePaintingManager(), LoadGraphics(), Paste(), ProcessDeferredTextures(), SaveCurrentSelectionToScratch(), and set_current_map().
|
private |
Definition at line 476 of file overworld_editor.h.
Referenced by AutomationGetTile(), AutomationSetTile(), Copy(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::OverworldCanvasRenderer::DrawMapProperties(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), InitCanvasNavigationManager(), Initialize(), InitMapRefreshCoordinator(), InitTilePaintingManager(), Load(), Paste(), ProcessDeferredTextures(), ProcessPendingEntityInsertion(), SaveCurrentSelectionToScratch(), set_current_map(), and Update().
|
private |
Definition at line 477 of file overworld_editor.h.
Referenced by InitCanvasNavigationManager(), and InitTilePaintingManager().
|
private |
Definition at line 478 of file overworld_editor.h.
|
private |
Definition at line 479 of file overworld_editor.h.
|
private |
Definition at line 480 of file overworld_editor.h.
|
private |
Definition at line 481 of file overworld_editor.h.
|
private |
Definition at line 482 of file overworld_editor.h.
Referenced by InitMapRefreshCoordinator().
|
private |
Definition at line 483 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), InitMapRefreshCoordinator(), InitTilePaintingManager(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 484 of file overworld_editor.h.
Referenced by Copy(), CycleTileSelection(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), DrawScratchSpaceEdits(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), InitCanvasNavigationManager(), InitTilePaintingManager(), and set_current_tile16().
|
private |
Definition at line 485 of file overworld_editor.h.
|
private |
Definition at line 486 of file overworld_editor.h.
|
private |
Definition at line 489 of file overworld_editor.h.
Referenced by InitTilePaintingManager().
|
private |
Definition at line 495 of file overworld_editor.h.
Referenced by Clear(), DrawScratchSpace(), yaze::editor::OverworldCanvasRenderer::DrawTile8Selector(), Load(), SaveCurrentSelectionToScratch(), and Update().
|
private |
Definition at line 496 of file overworld_editor.h.
Referenced by Clear(), DrawScratchSpace(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), HandleTile16Edit(), InitMapRefreshCoordinator(), LoadGraphics(), and Update().
|
private |
Definition at line 502 of file overworld_editor.h.
Referenced by HandleKeyboardShortcuts(), and Update().
|
private |
Definition at line 503 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), and InitCanvasNavigationManager().
|
private |
Definition at line 504 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
|
private |
Definition at line 505 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawMapProperties(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), HandleKeyboardShortcuts(), and InitCanvasNavigationManager().
|
private |
Definition at line 511 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), and Update().
|
private |
Definition at line 512 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), and Update().
|
private |
Definition at line 513 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), and InitCanvasNavigationManager().
|
private |
Definition at line 514 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
|
private |
Definition at line 520 of file overworld_editor.h.
Referenced by DrawAreaGraphics(), DrawMapProperties(), DrawOverworldCanvas(), DrawTile16Selector(), DrawTile8Selector(), DrawV3Settings(), and Initialize().
|
private |
Definition at line 521 of file overworld_editor.h.
Referenced by CenterOverworldView(), CheckForCurrentMap(), ClampOverworldScroll(), HandleMapInteraction(), HandleOverworldPan(), HandleOverworldZoom(), InitCanvasNavigationManager(), ResetOverworldView(), ScrollBlocksetCanvasToCurrentTile(), UpdateBlocksetSelectorState(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 522 of file overworld_editor.h.
Referenced by ActivateFillTool(), AutomationSetTile(), CheckForOverworldEdits(), InitTilePaintingManager(), PickTile16FromHoveredCanvas(), and ToggleBrushTool().
|
private |
Definition at line 523 of file overworld_editor.h.
Referenced by ForceRefreshGraphics(), InitMapRefreshCoordinator(), InvalidateGraphicsCache(), RefreshChildMap(), RefreshChildMapOnDemand(), RefreshMapPalette(), RefreshMapProperties(), RefreshOverworldMap(), RefreshOverworldMapOnDemand(), RefreshSiblingMapGraphics(), RefreshTile16Blockset(), and UpdateBlocksetWithPendingTileChanges().
|
private |
Definition at line 524 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawMapProperties(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), Initialize(), Load(), and Update().
|
private |
Definition at line 525 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawMapProperties(), and Initialize().
|
private |
Definition at line 526 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), HandleEntityInteraction(), InitCanvasNavigationManager(), and Initialize().
|
private |
Definition at line 527 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), and Initialize().
|
private |
Definition at line 544 of file overworld_editor.h.
Referenced by ClearScratchSpace(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), DrawScratchSpace(), DrawScratchSpaceEdits(), DrawScratchSpacePattern(), LoadScratchToSelection(), SaveCurrentSelectionToScratch(), and UpdateScratchBitmapTile().
|
private |
Definition at line 550 of file overworld_editor.h.
Referenced by AutomationSetTile(), yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), InitCanvasNavigationManager(), InitMapRefreshCoordinator(), InitTilePaintingManager(), LoadGraphics(), and UpdateScratchBitmapTile().
|
private |
Definition at line 552 of file overworld_editor.h.
Referenced by ApplyZSCustomOverworldASM(), DrawEntityEditorPopups(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), yaze::editor::OverworldCanvasRenderer::DrawV3Settings(), GetRomStatus(), InitCanvasNavigationManager(), Initialize(), InitMapRefreshCoordinator(), InitTilePaintingManager(), IsRomLoaded(), Load(), LoadGraphics(), Paste(), ProcessPendingEntityInsertion(), rom(), Update(), and UpdateGfxGroupEditor().
|
private |
Definition at line 553 of file overworld_editor.h.
Referenced by SetGameData().
|
private |
Definition at line 554 of file overworld_editor.h.
Referenced by Initialize(), InitMapRefreshCoordinator(), LoadGraphics(), and ProcessDeferredTextures().
|
private |
Definition at line 557 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), InitMapRefreshCoordinator(), InitTilePaintingManager(), Load(), SetGameData(), tile16_editor(), and Update().
|
private |
Definition at line 558 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldProperties(), OverworldEditor(), SetGameData(), and UpdateGfxGroupEditor().
|
private |
Definition at line 559 of file overworld_editor.h.
|
private |
Definition at line 565 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), DrawScratchSpace(), InitMapRefreshCoordinator(), Load(), LoadGraphics(), LoadSpriteGraphics(), and SaveCurrentSelectionToScratch().
|
private |
Definition at line 566 of file overworld_editor.h.
|
private |
Definition at line 567 of file overworld_editor.h.
Referenced by Load(), and LoadGraphics().
|
private |
Definition at line 568 of file overworld_editor.h.
Referenced by InitMapRefreshCoordinator(), Load(), and LoadGraphics().
|
private |
Definition at line 569 of file overworld_editor.h.
|
private |
Definition at line 570 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldMaps(), EnsureMapTexture(), InitCanvasNavigationManager(), Initialize(), InitMapRefreshCoordinator(), InitTilePaintingManager(), LoadGraphics(), and ProcessDeferredTextures().
|
private |
Definition at line 571 of file overworld_editor.h.
Referenced by Clear(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), and InitMapRefreshCoordinator().
|
private |
Definition at line 572 of file overworld_editor.h.
Referenced by Initialize(), and LoadSpriteGraphics().
|
private |
Definition at line 578 of file overworld_editor.h.
Referenced by ApplyZSCustomOverworldASM(), AutomationGetTile(), AutomationSetTile(), Clear(), Copy(), yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), yaze::editor::OverworldCanvasRenderer::DrawOverworldProperties(), DrawScratchSpace(), EnsureMapTexture(), FinalizePaintOperation(), GetWorldTiles(), HandleTile16Edit(), InitCanvasNavigationManager(), Initialize(), InitMapRefreshCoordinator(), InitTilePaintingManager(), Load(), LoadGraphics(), LoadSpriteGraphics(), overworld(), Paste(), ProcessPendingEntityInsertion(), Save(), SaveCurrentSelectionToScratch(), set_current_map(), SetGameData(), and Update().
|
private |
Definition at line 579 of file overworld_editor.h.
|
private |
Definition at line 585 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 586 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 587 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 588 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 589 of file overworld_editor.h.
Referenced by Load().
|
private |
Definition at line 591 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 592 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas().
|
private |
Definition at line 595 of file overworld_editor.h.
Referenced by HandleEntityInsertion(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 596 of file overworld_editor.h.
Referenced by HandleEntityInsertion(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 597 of file overworld_editor.h.
Referenced by ProcessPendingEntityInsertion(), and Update().
|
private |
Definition at line 603 of file overworld_editor.h.
Referenced by Copy(), yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), yaze::editor::OverworldCanvasRenderer::DrawOverworldMaps(), DrawScratchSpace(), GetOverworldCanvas(), HandleEntityEditingShortcuts(), HandleEntityInsertion(), HandleKeyboardShortcuts(), InitCanvasNavigationManager(), Initialize(), InitTilePaintingManager(), Paste(), SaveCurrentSelectionToScratch(), and SetupCanvasAutomation().
|
private |
Definition at line 605 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawAreaGraphics().
|
private |
Definition at line 607 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawTile16Selector().
|
private |
Definition at line 609 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawTile16Selector(), and InitCanvasNavigationManager().
|
private |
Definition at line 610 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawTile8Selector().
|
private |
Definition at line 612 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldProperties().
|
private |
Definition at line 613 of file overworld_editor.h.
Referenced by DrawScratchSpace(), DrawScratchSpaceEdits(), and DrawScratchSpacePattern().
|
private |
Definition at line 620 of file overworld_editor.h.
Referenced by Initialize(), and usage_stats_card().
|
private |
Definition at line 621 of file overworld_editor.h.
Referenced by debug_window_card(), and Initialize().
|
private |
Definition at line 623 of file overworld_editor.h.
Referenced by yaze::editor::OverworldCanvasRenderer::DrawOverworldCanvas(), yaze::editor::OverworldCanvasRenderer::DrawOverworldProperties(), HandleUndoRedoShortcuts(), InitMapRefreshCoordinator(), and Update().
|
private |
Definition at line 629 of file overworld_editor.h.
Referenced by CreateUndoPoint(), FinalizePaintOperation(), and Load().
|
private |
Definition at line 630 of file overworld_editor.h.
Referenced by CreateUndoPoint().
|
staticconstexprprivate |
Definition at line 631 of file overworld_editor.h.
Referenced by CreateUndoPoint().
|
private |
Definition at line 637 of file overworld_editor.h.