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) | |
| 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) |
| void | HandleKeyboardShortcuts () |
| Handle keyboard shortcuts for the Overworld Editor Shortcuts: 1-2 (modes), 3-8 (entities), F11 (fullscreen), 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 |
| void | SetDependencies (const EditorDependencies &deps) |
| 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 | DrawFullscreenCanvas () |
| void | DrawOverworldMaps () |
| void | DrawOverworldEdits () |
| void | DrawOverworldProperties () |
| 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 | RefreshChildMap (int map_index) |
| void | RefreshOverworldMap () |
| void | RefreshOverworldMapOnDemand (int map_index) |
| On-demand map refresh that only updates what's actually needed. | |
| void | RefreshChildMapOnDemand (int map_index) |
| On-demand child map refresh with selective updates. | |
| void | RefreshMultiAreaMapsSafely (int map_index, zelda3::OverworldMap *map) |
| Safely refresh multi-area maps without recursion. | |
| 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 | RenderUpdatedMapBitmap (const ImVec2 &click_position, const std::vector< uint8_t > &tile_data) |
| void | CheckForOverworldEdits () |
| Check for tile edits - handles painting and selection. | |
| void | CheckForSelectRectangle () |
| Draw and create the tile16 IDs that are currently selected. | |
| absl::Status | CheckForCurrentMap () |
| Check for map changes and refresh if needed. | |
| void | CheckForMousePan () |
| void | UpdateBlocksetSelectorState () |
| void | HandleMapInteraction () |
| void | ScrollBlocksetCanvasToCurrentTile () |
| Scroll the blockset canvas to show the current selected tile16. | |
| 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 | HandleOverworldPan () |
| void | HandleOverworldZoom () |
| void | ZoomIn () |
| void | ZoomOut () |
| void | ClampOverworldScroll () |
| void | ResetOverworldView () |
| void | CenterOverworldView () |
| 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 | QueueAdjacentMapsForPreload (int center_map) |
| Queue adjacent maps for background pre-loading. | |
| void | ProcessPreloadQueue () |
| Process one map from the preload queue (called each frame) | |
| void | CreateUndoPoint (int map_id, int world, int x, int y, int old_tile_id) |
| void | FinalizePaintOperation () |
| void | ApplyUndoPoint (const OverworldUndoPoint &point) |
| auto & | GetWorldTiles (int world) |
Static Private Attributes | |
| static constexpr float | kHoverBuildDelay = 0.15f |
| static constexpr float | kPreloadStartDelay = 0.3f |
| static constexpr size_t | kMaxUndoHistory = 50 |
| static constexpr auto | kPaintBatchTimeout = std::chrono::milliseconds(500) |
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_ |
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 125 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 446 of file overworld_editor.h.
|
inlineexplicit |
Definition at line 131 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 138 of file overworld_editor.h.
References yaze::editor::Editor::dependencies_.
|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 143 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_.

|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 87 of file overworld_editor.cc.
References current_map_, debug_window_card_, yaze::editor::Editor::dependencies_, entity_renderer_, ForceRefreshGraphics(), 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_, tile16_editor_, toolbar_, and usage_stats_card_.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 176 of file overworld_editor.cc.
References all_gfx_loaded_, ASSIGN_OR_RETURN, 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_, redo_stack_, 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 undo_stack_.
Referenced by Update().
|
finalvirtual |
Implements yaze::editor::Editor.
Definition at line 250 of file overworld_editor.cc.
References all_gfx_loaded_, ApplyZSCustomOverworldASM(), yaze::gui::CenterText(), Clear(), current_map_, yaze::editor::Editor::dependencies_, entity_insert_error_message_, 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 1832 of file overworld_editor.cc.
References FinalizePaintOperation(), GetWorldTiles(), yaze::editor::OverworldEditor::OverworldUndoPoint::map_id, redo_stack_, RefreshOverworldMap(), yaze::editor::OverworldEditor::OverworldUndoPoint::tile_changes, undo_stack_, and yaze::editor::OverworldEditor::OverworldUndoPoint::world.
Referenced by HandleUndoRedoShortcuts().

|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 1871 of file overworld_editor.cc.
References GetWorldTiles(), yaze::editor::OverworldEditor::OverworldUndoPoint::map_id, redo_stack_, RefreshOverworldMap(), yaze::editor::OverworldEditor::OverworldUndoPoint::tile_changes, undo_stack_, and yaze::editor::OverworldEditor::OverworldUndoPoint::world.
Referenced by HandleUndoRedoShortcuts().

|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 159 of file overworld_editor.h.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 1018 of file overworld_editor.cc.
References current_map_, current_tile16_, current_world_, yaze::editor::Editor::dependencies_, yaze::zelda3::Overworld::GetTile(), yaze::editor::EditorDependencies::SharedClipboard::has_overworld_tile16, overworld_, yaze::editor::EditorDependencies::SharedClipboard::overworld_height, yaze::editor::EditorDependencies::SharedClipboard::overworld_tile16_ids, yaze::editor::EditorDependencies::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 1065 of file overworld_editor.cc.
References current_map_, current_world_, yaze::editor::Editor::dependencies_, yaze::gui::Canvas::drawn_tile_position(), yaze::gui::Canvas::global_scale(), yaze::editor::EditorDependencies::SharedClipboard::has_overworld_tile16, yaze::editor::kOverworldMapSize, yaze::editor::kTile16Size, yaze::zelda3::Overworld::mutable_map_tiles(), overworld_, yaze::editor::EditorDependencies::SharedClipboard::overworld_height, yaze::editor::EditorDependencies::SharedClipboard::overworld_tile16_ids, yaze::editor::EditorDependencies::SharedClipboard::overworld_width, ow_map_canvas_, yaze::gui::Canvas::points(), RefreshOverworldMap(), yaze::gui::Canvas::selected_tile_pos(), and yaze::editor::EditorDependencies::shared_clipboard.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 162 of file overworld_editor.h.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 1735 of file overworld_editor.cc.
References yaze::zelda3::Overworld::CreateTile32Tilemap(), yaze::core::FeatureFlags::get(), overworld(), overworld_, RETURN_IF_ERROR, 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(), and yaze::zelda3::Overworld::SaveOverworldMaps().
|
overridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 3026 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 167 of file overworld_editor.h.
References overworld_.
Referenced by LoadGraphics(), 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 3040 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 3148 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 182 of file overworld_editor.h.
References jump_to_tab_.
|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 189 of file overworld_editor.h.
References yaze::Rom::is_loaded(), and rom_.

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

|
inline |
Definition at line 198 of file overworld_editor.h.
References rom_.
Referenced by OverworldEditor().
|
inline |
Set the current map for editing (also updates world)
Definition at line 201 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().

| 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 1909 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().

| void yaze::editor::OverworldEditor::ToggleBrushTool | ( | ) |
Definition at line 3213 of file overworld_editor.cc.
| void yaze::editor::OverworldEditor::ActivateFillTool | ( | ) |
Definition at line 3217 of file overworld_editor.cc.
| void yaze::editor::OverworldEditor::CycleTileSelection | ( | int | delta | ) |
Definition at line 3221 of file overworld_editor.cc.
References current_tile16_.
| void yaze::editor::OverworldEditor::HandleKeyboardShortcuts | ( | ) |
Handle keyboard shortcuts for the Overworld Editor Shortcuts: 1-2 (modes), 3-8 (entities), F11 (fullscreen), Ctrl+L (map lock), Ctrl+T (Tile16 editor), Ctrl+Z/Y (undo/redo)
Definition at line 410 of file overworld_editor.cc.
References 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, yaze::gui::Canvas::SetUsageMode(), and yaze::editor::PanelManager::TogglePanel().
Referenced by Update().

| absl::Status yaze::editor::OverworldEditor::DrawAreaGraphics | ( | ) |
Definition at line 1619 of file overworld_editor.cc.
References yaze::gui::BeginCanvas(), yaze::gui::BeginChildWithScrollbar(), yaze::gui::BeginPadding(), yaze::gui::CanvasFrameOptions::canvas_size, yaze::gfx::Arena::CREATE, yaze::zelda3::Overworld::current_area_palette(), current_gfx_canvas_, yaze::zelda3::Overworld::current_graphics(), current_graphics_set_, current_map_, yaze::gui::CanvasFrameOptions::draw_context_menu, yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::CanvasFrameOptions::draw_overlay, yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawTileSelector(), yaze::gui::EndCanvas(), yaze::gui::EndPadding(), yaze::gfx::Arena::Get(), yaze::gui::CanvasFrameOptions::grid_step, yaze::zelda3::Overworld::is_loaded(), yaze::editor::kCurrentGfxCanvasSize(), yaze::editor::kOverworldMapSize, overworld_, palette_, yaze::gfx::Arena::QueueTextureCommand(), yaze::gui::CanvasFrameOptions::render_popups, yaze::zelda3::Overworld::set_current_map(), and yaze::gui::CanvasFrameOptions::use_child_window.
Referenced by yaze::editor::AreaGraphicsPanel::Draw().
| absl::Status yaze::editor::OverworldEditor::DrawTile16Selector | ( | ) |
Definition at line 1523 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gui::BeginChildWithScrollbar(), yaze::gui::BeginPadding(), blockset_canvas_, blockset_selector_, current_tile16_, yaze::editor::Editor::dependencies_, yaze::gui::TileSelectorWidget::Config::display_scale, yaze::gui::TileSelectorWidget::Config::draw_offset, yaze::gui::EndPadding(), yaze::gui::TileSelectorWidget::Config::highlight_color, yaze::gfx::Bitmap::is_active(), yaze::zelda3::kNumTile16Individual, yaze::editor::OverworldPanelIds::kTile16Editor, yaze::util::logf(), map_blockset_loaded_, yaze::editor::EditorDependencies::panel_manager, yaze::editor::Tile16Editor::SetCurrentTile(), yaze::editor::PanelManager::ShowPanel(), tile16_blockset_, tile16_editor_, yaze::gui::TileSelectorWidget::Config::tile_size, yaze::gui::TileSelectorWidget::Config::tiles_per_row, yaze::gui::TileSelectorWidget::Config::total_tiles, and UpdateBlocksetSelectorState().
Referenced by yaze::editor::Tile16SelectorPanel::Draw().
| void yaze::editor::OverworldEditor::DrawMapProperties | ( | ) |
Definition at line 1697 of file overworld_editor.cc.
References current_map_, current_map_lock_, current_world_, map_properties_system_, and sidebar_.
Referenced by yaze::editor::MapPropertiesPanel::Draw().
| void yaze::editor::OverworldEditor::InvalidateGraphicsCache | ( | int | map_id = -1 | ) |
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 1607 of file overworld_editor.cc.
References yaze::zelda3::Overworld::ClearGraphicsConfigCache(), current_graphics_set_, yaze::zelda3::Overworld::InvalidateSiblingMapCaches(), and overworld_.
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.
Referenced by yaze::editor::ScratchSpacePanel::Draw().
| void yaze::editor::OverworldEditor::DrawTile8Selector | ( | ) |
Definition at line 1573 of file overworld_editor.cc.
References all_gfx_loaded_, yaze::gui::BeginCanvas(), yaze::gui::CanvasFrameOptions::canvas_size, yaze::gui::CanvasFrameOptions::draw_context_menu, yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::CanvasFrameOptions::draw_overlay, yaze::gui::EndCanvas(), yaze::gfx::Arena::Get(), yaze::gfx::Arena::gfx_sheets(), graphics_bin_canvas_, yaze::gui::CanvasFrameOptions::grid_step, yaze::editor::kGraphicsBinCanvasSize(), yaze::gui::CanvasFrameOptions::render_popups, and yaze::gui::CanvasFrameOptions::use_child_window.
Referenced by yaze::editor::Tile8SelectorPanel::Draw().
| absl::Status yaze::editor::OverworldEditor::UpdateGfxGroupEditor | ( | ) |
Definition at line 1665 of file overworld_editor.cc.
References yaze::gui::CenterText(), gfx_group_editor_, yaze::Rom::is_loaded(), rom_, and yaze::editor::GfxGroupEditor::Update().
Referenced by yaze::editor::GfxGroupsPanel::Draw().

| void yaze::editor::OverworldEditor::DrawV3Settings | ( | ) |
Definition at line 1675 of file overworld_editor.cc.
References yaze::gui::CenterText(), yaze::Rom::is_loaded(), and rom_.
Referenced by yaze::editor::V3SettingsPanel::Draw().

|
inline |
Access usage statistics card for panel.
Definition at line 278 of file overworld_editor.h.
References usage_stats_card_.
Referenced by yaze::editor::UsageStatisticsPanel::Draw().
|
inline |
Access debug window card for panel.
Definition at line 281 of file overworld_editor.h.
References debug_window_card_.
Referenced by yaze::editor::DebugWindowPanel::Draw().
|
inline |
Access the Tile16 Editor for panel integration.
Definition at line 284 of file overworld_editor.h.
References tile16_editor_.
| void yaze::editor::OverworldEditor::DrawOverworldCanvas | ( | ) |
Draw the main overworld canvas.
Definition at line 1380 of file overworld_editor.cc.
References yaze::gui::BeginCanvas(), yaze::gui::BeginChildBothScrollbars(), yaze::gui::BeginNoPadding(), yaze::gui::CanvasFrameOptions::canvas_size, CheckForCurrentMap(), CheckForOverworldEdits(), yaze::gui::Canvas::ClearContextMenuItems(), current_map_, current_map_lock_, current_mode, current_world_, yaze::editor::Editor::dependencies_, dragged_entity_, dragged_entity_free_movement_, yaze::gui::CanvasFrameOptions::draw_context_menu, yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::CanvasFrameOptions::draw_overlay, yaze::editor::DRAW_TILE, DrawOverworldMaps(), yaze::gui::EndCanvas(), yaze::gui::EndNoPadding(), entity_edit_mode_, entity_renderer_, yaze::zelda3::GameEntity::entity_type_, game_state_, yaze::gui::CanvasFrameOptions::grid_step, HandleMapInteraction(), HandleOverworldPan(), HandleOverworldZoom(), yaze::editor::OverworldEditor::ScratchSpace::in_use, is_dragging_entity_, yaze::Rom::is_loaded(), yaze::zelda3::Overworld::is_loaded(), yaze::zelda3::GameEntity::kExit, yaze::editor::kOverworldCanvasSize(), yaze::zelda3::GameEntity::map_id_, map_properties_system_, yaze::editor::MOUSE, yaze::editor::MoveEntityOnGrid(), overworld_, ow_map_canvas_, yaze::editor::EditorDependencies::panel_manager, yaze::gui::CanvasFrameOptions::render_popups, rom_, scratch_space_, yaze::gui::Canvas::select_rect_active(), yaze::gui::Canvas::selected_tiles(), yaze::Rom::set_dirty(), yaze::gui::Canvas::set_scrolling(), show_custom_bg_color_editor_, show_map_properties_panel_, show_overlay_editor_, show_overlay_preview_, status_, toolbar_, yaze::zelda3::GameEntity::UpdateMapProperties(), yaze::gui::CanvasFrameOptions::use_child_window, yaze::zelda3::GameEntity::x_, and yaze::zelda3::GameEntity::y_.
Referenced by yaze::editor::OverworldCanvasPanel::Draw().
|
private |
|
private |
Definition at line 624 of file overworld_editor.cc.
References current_world_, yaze::gui::Canvas::DrawBitmap(), EnsureMapTexture(), yaze::gui::Canvas::global_scale(), IM_PI, yaze::editor::kOverworldMapSize, maps_bmp_, ow_map_canvas_, yaze::gui::Canvas::scrolling(), and yaze::gui::Canvas::zero_point().
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 700 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, CreateUndoPoint(), current_map_, current_tile16_, current_world_, yaze::gui::Canvas::drawn_tile_position(), yaze::gfx::GetTilemapData(), yaze::gui::Canvas::global_scale(), yaze::gfx::Bitmap::is_active(), yaze::editor::kOverworldMapSize, LOG_ERROR, maps_bmp_, yaze::zelda3::Overworld::mutable_map_tiles(), overworld_, ow_map_canvas_, RenderUpdatedMapBitmap(), tile16_blockset_, and yaze::gfx::Bitmap::vector().
Referenced by CheckForOverworldEdits().
|
private |
Definition at line 2921 of file overworld_editor.cc.
References yaze::gui::BeginWindowWithDisplaySettings(), DW_AREA_GFX, DW_AREA_PAL, DW_SPR_GFX_PART1, DW_SPR_GFX_PART2, DW_SPR_PAL_PART1, DW_SPR_PAL_PART2, yaze::gui::EndWindowWithDisplaySettings(), gfx_group_editor_, LW_AREA_GFX, LW_AREA_PAL, LW_SPR_GFX_PART1, LW_SPR_GFX_PART2, LW_SPR_PAL_PART1, LW_SPR_PAL_PART2, yaze::gui::Canvas::mutable_labels(), overworld_, yaze::zelda3::Overworld::overworld_map(), properties_canvas_, status_, yaze::editor::GfxGroupEditor::Update(), and yaze::gui::Canvas::UpdateInfoGrid().
|
private |
Definition at line 462 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 491 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 516 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 536 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 576 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 592 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 |
Definition at line 2229 of file overworld_editor.cc.
References current_world_, yaze::zelda3::Overworld::GetMapTiles(), maps_bmp_, yaze::zelda3::Overworld::mutable_overworld_map(), yaze::zelda3::Overworld::mutable_tiles16(), overworld_, PRINT_IF_ERROR, status_, and yaze::zelda3::Overworld::tiles16().

|
private |
Definition at line 2244 of file overworld_editor.cc.
References current_map_, and RefreshOverworldMapOnDemand().
Referenced by ApplyUndoPoint(), CheckForCurrentMap(), CheckForOverworldEdits(), Initialize(), Load(), Paste(), Redo(), and Undo().

|
private |
On-demand map refresh that only updates what's actually needed.
This method intelligently determines what needs to be refreshed based on the type of change and only updates the necessary components, avoiding expensive full rebuilds when possible.
Definition at line 2256 of file overworld_editor.cc.
References current_map_, current_world_, yaze::zelda3::kNumOverworldMaps, maps_bmp_, and RefreshChildMapOnDemand().
Referenced by ProcessDeferredTextures(), and RefreshOverworldMap().

|
private |
On-demand child map refresh with selective updates.
Definition at line 2280 of file overworld_editor.cc.
References yaze::gfx::Arena::CREATE, current_world_, yaze::gfx::Arena::Get(), yaze::zelda3::Overworld::GetMapTiles(), yaze::zelda3::OverworldVersionHelper::GetVersion(), LOG_ERROR, LOG_WARN, maps_bmp_, yaze::zelda3::Overworld::mutable_overworld_map(), yaze::zelda3::Overworld::mutable_tiles16(), overworld_, yaze::gfx::Arena::QueueTextureCommand(), RefreshMultiAreaMapsSafely(), rom_, yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum(), yaze::zelda3::Overworld::tiles16(), and yaze::gfx::Arena::UPDATE.
Referenced by RefreshOverworldMapOnDemand(), and RefreshSiblingMapGraphics().
|
private |
Safely refresh multi-area maps without recursion.
This function handles the coordination of large, wide, and tall area maps by using a non-recursive approach with explicit map list processing. It always works from the parent perspective to ensure consistent behavior whether the trigger map is the parent or a child.
Key improvements:
Definition at line 2369 of file overworld_editor.cc.
References yaze::zelda3::OverworldMap::area_size(), current_map_, current_world_, EnsureMapTexture(), yaze::gfx::Arena::Get(), yaze::zelda3::Overworld::GetMapTiles(), yaze::zelda3::kNumOverworldMaps, LOG_DEBUG, LOG_ERROR, LOG_WARN, maps_bmp_, yaze::zelda3::Overworld::mutable_overworld_map(), yaze::zelda3::Overworld::mutable_tiles16(), overworld_, yaze::zelda3::OverworldMap::parent(), yaze::gfx::Arena::QueueTextureCommand(), yaze::zelda3::Overworld::tiles16(), and yaze::gfx::Arena::UPDATE.
Referenced by RefreshChildMapOnDemand().
|
private |
Definition at line 2506 of file overworld_editor.cc.
References yaze::zelda3::Overworld::current_area_palette(), current_gfx_bmp_, current_map_, yaze::gfx::Arena::Get(), yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::gfx::Bitmap::is_active(), yaze::zelda3::kNumOverworldMaps, maps_bmp_, yaze::zelda3::Overworld::mutable_overworld_map(), overworld_, yaze::zelda3::Overworld::overworld_map(), palette_, yaze::gfx::Arena::QueueTextureCommand(), RETURN_IF_ERROR, rom_, yaze::gfx::Bitmap::set_modified(), yaze::editor::Tile16Editor::set_palette(), yaze::gfx::Bitmap::SetPalette(), yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum(), tile16_editor_, and yaze::gfx::Arena::UPDATE.
Referenced by Initialize().
|
private |
Definition at line 2667 of file overworld_editor.cc.
References current_map_, game_state_, yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::zelda3::kNumOverworldMaps, yaze::zelda3::Overworld::mutable_overworld_map(), overworld_, rom_, and yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum().
Referenced by Initialize().

|
private |
Definition at line 2745 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gfx::Arena::CREATE, yaze::zelda3::Overworld::current_area_palette(), current_blockset_, current_gfx_bmp_, current_map_, yaze::gfx::Arena::Get(), yaze::gfx::Bitmap::is_active(), LOG_DEBUG, overworld_, yaze::zelda3::Overworld::overworld_map(), palette_, yaze::gfx::Arena::QueueTextureCommand(), renderer_, yaze::zelda3::Overworld::set_current_map(), yaze::gfx::Bitmap::set_modified(), yaze::editor::Tile16Editor::set_palette(), yaze::gfx::Bitmap::SetPalette(), yaze::gfx::Bitmap::texture(), tile16_blockset_, yaze::zelda3::Overworld::tile16_blockset_data(), tile16_editor_, yaze::gfx::Arena::UPDATE, and yaze::gfx::UpdateTilemap().
Referenced by CheckForCurrentMap(), Initialize(), and Load().
|
private |
Definition at line 2782 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gfx::Arena::Get(), yaze::editor::Tile16Editor::GetPendingTileBitmap(), yaze::editor::Tile16Editor::has_pending_changes(), yaze::gfx::Bitmap::height(), yaze::gfx::Bitmap::is_active(), yaze::editor::Tile16Editor::is_tile_modified(), yaze::zelda3::kNumTile16Individual, map_blockset_loaded_, yaze::gfx::Bitmap::mutable_data(), yaze::gfx::Arena::QueueTextureCommand(), yaze::gfx::Bitmap::set_modified(), yaze::gfx::Bitmap::texture(), tile16_blockset_, tile16_editor_, yaze::gfx::Arena::UPDATE, yaze::gfx::Bitmap::vector(), and yaze::gfx::Bitmap::width().
Referenced by Update().
|
private |
Definition at line 2598 of file overworld_editor.cc.
References current_blockset_, yaze::zelda3::Overworld::InvalidateSiblingMapCaches(), LOG_DEBUG, maps_bmp_, and overworld_.
Referenced by Initialize().

|
private |
Definition at line 2615 of file overworld_editor.cc.
References yaze::zelda3::LargeArea, LOG_DEBUG, maps_bmp_, yaze::zelda3::Overworld::mutable_overworld_map(), overworld_, RefreshChildMapOnDemand(), yaze::zelda3::SmallArea, yaze::zelda3::TallArea, and yaze::zelda3::WideArea.
Referenced by Initialize().

|
private |
Definition at line 770 of file overworld_editor.cc.
References current_map_, yaze::gfx::Arena::Get(), yaze::gfx::Bitmap::is_active(), yaze::editor::kOverworldMapSize, yaze::editor::kTile16Size, LOG_ERROR, maps_bmp_, yaze::gfx::Arena::QueueTextureCommand(), yaze::gfx::Bitmap::set_modified(), yaze::gfx::Bitmap::size(), yaze::gfx::Arena::UPDATE, and yaze::gfx::Bitmap::WriteToPixel().
Referenced by AutomationSetTile(), CheckForOverworldEdits(), and DrawOverworldEdits().
|
private |
Check for tile edits - handles painting and selection.
Definition at line 845 of file overworld_editor.cc.
References CheckForSelectRectangle(), CreateUndoPoint(), current_map_, current_tile16_, current_world_, DrawOverworldEdits(), yaze::gui::Canvas::DrawTilemapPainter(), FinalizePaintOperation(), yaze::gfx::GetTilemapData(), yaze::editor::kTile16Size, LOG_DEBUG, LOG_ERROR, yaze::zelda3::Overworld::mutable_map_tiles(), overworld_, ow_map_canvas_, RefreshOverworldMap(), RenderUpdatedMapBitmap(), yaze::gui::Canvas::select_rect_active(), yaze::gui::Canvas::selected_points(), selected_tile16_ids_, and tile16_blockset_.
Referenced by DrawOverworldCanvas().
|
private |
Draw and create the tile16 IDs that are currently selected.
Definition at line 983 of file overworld_editor.cc.
References current_map_, current_tile16_, current_world_, yaze::gui::Canvas::DrawBitmapGroup(), yaze::gui::Canvas::DrawSelectRect(), yaze::zelda3::Overworld::GetTileFromPosition(), yaze::gui::Canvas::global_scale(), overworld_, ow_map_canvas_, ScrollBlocksetCanvasToCurrentTile(), yaze::gui::Canvas::select_rect_active(), selected_tile16_ids_, yaze::gui::Canvas::selected_tile_pos(), yaze::gui::Canvas::selected_tiles(), yaze::zelda3::Overworld::set_current_map(), yaze::zelda3::Overworld::set_current_world(), yaze::gui::Canvas::set_selected_tile_pos(), and tile16_blockset_.
Referenced by CheckForOverworldEdits().
|
private |
Check for map changes and refresh if needed.
Definition at line 1126 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, current_map_, current_map_lock_, current_parent_, current_world_, yaze::gui::Canvas::DrawOutline(), yaze::zelda3::Overworld::EnsureMapBuilt(), EnsureMapTexture(), yaze::gfx::Arena::Get(), yaze::core::FeatureFlags::get(), yaze::zelda3::OverworldVersionHelper::GetVersion(), yaze::gui::Canvas::global_scale(), yaze::gui::Canvas::hover_mouse_pos(), hover_time_, yaze::gfx::Bitmap::is_active(), yaze::core::FeatureFlags::Flags::Overworld::kEnableSpecialWorldExpansion, kHoverBuildDelay, yaze::editor::kOverworldMapSize, kPreloadStartDelay, last_hovered_map_, maps_bmp_, yaze::core::FeatureFlags::Flags::overworld, overworld_, yaze::zelda3::Overworld::overworld_map(), ow_map_canvas_, preload_queue_, ProcessPreloadQueue(), QueueAdjacentMapsForPreload(), yaze::gfx::Arena::QueueTextureCommand(), RefreshOverworldMap(), RefreshTile16Blockset(), RETURN_IF_ERROR, rom_, yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum(), tile16_blockset_, and yaze::gfx::Arena::UPDATE.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 1375 of file overworld_editor.cc.
References HandleOverworldPan().

|
private |
Definition at line 3204 of file overworld_editor.cc.
References blockset_selector_, current_tile16_, and yaze::zelda3::kNumTile16Individual.
Referenced by DrawTile16Selector().
|
private |
Definition at line 2860 of file overworld_editor.cc.
References current_map_, current_map_lock_, current_world_, yaze::gui::Canvas::drawn_tile_position(), yaze::gui::Canvas::global_scale(), yaze::editor::kOverworldMapSize, ow_map_canvas_, and show_map_properties_panel_.
Referenced by DrawOverworldCanvas().

|
private |
Scroll the blockset canvas to show the current selected tile16.
Definition at line 2901 of file overworld_editor.cc.
References blockset_selector_, and current_tile16_.
Referenced by CheckForSelectRectangle().
|
private |
Definition at line 2078 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 2101 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 2127 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 CheckForCurrentMap(), DrawOverworldMaps(), and RefreshMultiAreaMapsSafely().
|
private |
Definition at line 8 of file overworld_navigation.cc.
References current_mode, entity_renderer_, is_dragging_entity_, and yaze::editor::MOUSE.
Referenced by CheckForMousePan(), and DrawOverworldCanvas().
|
private |
Definition at line 48 of file overworld_navigation.cc.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 53 of file overworld_navigation.cc.
References yaze::gui::Canvas::global_scale(), yaze::editor::kOverworldMaxZoom, yaze::editor::kOverworldZoomStep, ow_map_canvas_, and yaze::gui::Canvas::set_global_scale().

|
private |
Definition at line 60 of file overworld_navigation.cc.
References yaze::gui::Canvas::global_scale(), yaze::editor::kOverworldMinZoom, yaze::editor::kOverworldZoomStep, ow_map_canvas_, and yaze::gui::Canvas::set_global_scale().

|
private |
Definition at line 67 of file overworld_navigation.cc.
|
private |
Definition at line 72 of file overworld_navigation.cc.
References ow_map_canvas_, and yaze::gui::Canvas::set_global_scale().

|
private |
Definition at line 79 of file overworld_navigation.cc.
References current_map_, yaze::gui::Canvas::global_scale(), yaze::editor::kOverworldMapSize, and ow_map_canvas_.

|
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 391 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_, RenderUpdatedMapBitmap(), yaze::zelda3::Overworld::set_current_map(), yaze::zelda3::Overworld::set_current_world(), yaze::zelda3::Overworld::SetTile(), and tile16_blockset_.
Referenced by 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 SetupCanvasAutomation().

|
private |
Definition at line 230 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 120 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 144 of file scratch_space.cc.
References yaze::editor::Editor::dependencies_, yaze::gui::Canvas::drawn_tile_position(), yaze::editor::EditorDependencies::SharedClipboard::has_overworld_tile16, yaze::editor::OverworldEditor::ScratchSpace::height, yaze::editor::OverworldEditor::ScratchSpace::in_use, yaze::editor::OverworldEditor::ScratchSpace::name, yaze::editor::EditorDependencies::SharedClipboard::overworld_height, yaze::editor::EditorDependencies::SharedClipboard::overworld_tile16_ids, yaze::editor::EditorDependencies::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 |
Queue adjacent maps for background pre-loading.
Definition at line 2164 of file overworld_editor.cc.
References yaze::zelda3::kNumOverworldMaps, yaze::zelda3::kSpecialWorldMapIdStart, overworld_, yaze::zelda3::Overworld::overworld_map(), and preload_queue_.
Referenced by CheckForCurrentMap().

|
private |
Process one map from the preload queue (called each frame)
Definition at line 2205 of file overworld_editor.cc.
References yaze::zelda3::Overworld::EnsureMapBuilt(), LOG_DEBUG, overworld_, and preload_queue_.
Referenced by CheckForCurrentMap().

|
private |
Definition at line 1773 of file overworld_editor.cc.
References current_paint_operation_, FinalizePaintOperation(), kPaintBatchTimeout, last_paint_time_, and yaze::editor::OverworldEditor::OverworldUndoPoint::map_id.
Referenced by CheckForOverworldEdits(), and DrawOverworldEdits().

|
private |
Definition at line 1801 of file overworld_editor.cc.
References current_paint_operation_, kMaxUndoHistory, redo_stack_, and undo_stack_.
Referenced by CheckForOverworldEdits(), CreateUndoPoint(), set_current_map(), and Undo().
|
private |
Definition at line 1819 of file overworld_editor.cc.
References GetWorldTiles(), RefreshOverworldMap(), yaze::editor::OverworldEditor::OverworldUndoPoint::tile_changes, and yaze::editor::OverworldEditor::OverworldUndoPoint::world.

|
private |
Definition at line 1762 of file overworld_editor.cc.
References yaze::zelda3::Overworld::mutable_map_tiles(), and overworld_.
Referenced by ApplyUndoPoint(), Redo(), and Undo().

| int yaze::editor::OverworldEditor::jump_to_tab_ = -1 |
Definition at line 183 of file overworld_editor.h.
Referenced by HandleEntityDoubleClick(), jump_to_tab(), and yaze::editor::SessionCoordinator::UpdateSessions().
|
private |
Definition at line 442 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), DrawScratchSpace(), HandleEntityEditingShortcuts(), HandleEntityInteraction(), HandleKeyboardShortcuts(), and HandleOverworldPan().
|
private |
Definition at line 443 of file overworld_editor.h.
|
private |
Definition at line 444 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), and HandleEntityEditingShortcuts().
|
private |
Definition at line 456 of file overworld_editor.h.
Referenced by AutomationGetTile(), AutomationSetTile(), CheckForCurrentMap(), CheckForOverworldEdits(), CheckForSelectRectangle(), Copy(), DrawMapProperties(), DrawOverworldCanvas(), DrawOverworldEdits(), DrawOverworldMaps(), HandleMapInteraction(), LoadGraphics(), Paste(), ProcessDeferredTextures(), RefreshChildMap(), RefreshChildMapOnDemand(), RefreshMultiAreaMapsSafely(), RefreshOverworldMapOnDemand(), SaveCurrentSelectionToScratch(), and set_current_map().
|
private |
Definition at line 457 of file overworld_editor.h.
Referenced by AutomationGetTile(), AutomationSetTile(), CenterOverworldView(), CheckForCurrentMap(), CheckForOverworldEdits(), CheckForSelectRectangle(), Copy(), DrawAreaGraphics(), DrawMapProperties(), DrawOverworldCanvas(), DrawOverworldEdits(), HandleMapInteraction(), Initialize(), Load(), Paste(), ProcessDeferredTextures(), ProcessPendingEntityInsertion(), RefreshMapPalette(), RefreshMapProperties(), RefreshMultiAreaMapsSafely(), RefreshOverworldMap(), RefreshOverworldMapOnDemand(), RefreshTile16Blockset(), RenderUpdatedMapBitmap(), SaveCurrentSelectionToScratch(), set_current_map(), and Update().
|
private |
Definition at line 458 of file overworld_editor.h.
Referenced by CheckForCurrentMap().
|
private |
Definition at line 459 of file overworld_editor.h.
|
private |
Definition at line 460 of file overworld_editor.h.
|
private |
Definition at line 461 of file overworld_editor.h.
|
private |
Definition at line 462 of file overworld_editor.h.
|
private |
Definition at line 463 of file overworld_editor.h.
Referenced by ForceRefreshGraphics(), and RefreshTile16Blockset().
|
private |
Definition at line 464 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), ProcessPendingEntityInsertion(), and RefreshMapProperties().
|
private |
Definition at line 465 of file overworld_editor.h.
Referenced by CheckForOverworldEdits(), CheckForSelectRectangle(), Copy(), CycleTileSelection(), DrawOverworldEdits(), DrawScratchSpaceEdits(), DrawTile16Selector(), ScrollBlocksetCanvasToCurrentTile(), and UpdateBlocksetSelectorState().
|
private |
Definition at line 466 of file overworld_editor.h.
|
private |
Definition at line 467 of file overworld_editor.h.
|
private |
Definition at line 470 of file overworld_editor.h.
Referenced by CheckForOverworldEdits(), and CheckForSelectRectangle().
|
private |
Definition at line 476 of file overworld_editor.h.
Referenced by Clear(), DrawScratchSpace(), DrawTile8Selector(), Load(), SaveCurrentSelectionToScratch(), and Update().
|
private |
Definition at line 477 of file overworld_editor.h.
Referenced by Clear(), DrawScratchSpace(), DrawTile16Selector(), HandleTile16Edit(), LoadGraphics(), Update(), and UpdateBlocksetWithPendingTileChanges().
|
private |
Definition at line 483 of file overworld_editor.h.
Referenced by HandleKeyboardShortcuts(), and Update().
|
private |
Definition at line 484 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), and HandleOverworldPan().
|
private |
Definition at line 485 of file overworld_editor.h.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 486 of file overworld_editor.h.
Referenced by CheckForCurrentMap(), DrawMapProperties(), DrawOverworldCanvas(), HandleKeyboardShortcuts(), and HandleMapInteraction().
|
private |
Definition at line 492 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), and Update().
|
private |
Definition at line 493 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), and Update().
|
private |
Definition at line 494 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), and HandleMapInteraction().
|
private |
Definition at line 495 of file overworld_editor.h.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 502 of file overworld_editor.h.
Referenced by CheckForCurrentMap().
|
private |
Definition at line 503 of file overworld_editor.h.
Referenced by CheckForCurrentMap().
|
staticconstexprprivate |
Definition at line 504 of file overworld_editor.h.
Referenced by CheckForCurrentMap().
|
private |
Definition at line 507 of file overworld_editor.h.
Referenced by CheckForCurrentMap(), ProcessPreloadQueue(), and QueueAdjacentMapsForPreload().
|
staticconstexprprivate |
Definition at line 508 of file overworld_editor.h.
Referenced by CheckForCurrentMap().
|
private |
Definition at line 514 of file overworld_editor.h.
Referenced by DrawMapProperties(), DrawOverworldCanvas(), Initialize(), Load(), and Update().
|
private |
Definition at line 515 of file overworld_editor.h.
Referenced by DrawMapProperties(), and Initialize().
|
private |
Definition at line 516 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), HandleEntityInteraction(), HandleOverworldPan(), and Initialize().
|
private |
Definition at line 517 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), and Initialize().
|
private |
Definition at line 534 of file overworld_editor.h.
Referenced by ClearScratchSpace(), DrawOverworldCanvas(), DrawScratchSpace(), DrawScratchSpaceEdits(), DrawScratchSpacePattern(), LoadScratchToSelection(), SaveCurrentSelectionToScratch(), and UpdateScratchBitmapTile().
|
private |
Definition at line 540 of file overworld_editor.h.
Referenced by AutomationSetTile(), CheckForCurrentMap(), CheckForOverworldEdits(), CheckForSelectRectangle(), DrawOverworldEdits(), DrawTile16Selector(), LoadGraphics(), RefreshTile16Blockset(), UpdateBlocksetWithPendingTileChanges(), and UpdateScratchBitmapTile().
|
private |
Definition at line 542 of file overworld_editor.h.
Referenced by ApplyZSCustomOverworldASM(), CheckForCurrentMap(), DrawEntityEditorPopups(), DrawOverworldCanvas(), DrawV3Settings(), GetRomStatus(), Initialize(), IsRomLoaded(), Load(), LoadGraphics(), ProcessPendingEntityInsertion(), RefreshChildMapOnDemand(), RefreshMapPalette(), RefreshMapProperties(), rom(), Update(), and UpdateGfxGroupEditor().
|
private |
Definition at line 543 of file overworld_editor.h.
Referenced by SetGameData().
|
private |
Definition at line 544 of file overworld_editor.h.
Referenced by Initialize(), LoadGraphics(), ProcessDeferredTextures(), and RefreshTile16Blockset().
|
private |
Definition at line 547 of file overworld_editor.h.
Referenced by DrawTile16Selector(), Initialize(), Load(), RefreshMapPalette(), RefreshTile16Blockset(), SetGameData(), tile16_editor(), Update(), and UpdateBlocksetWithPendingTileChanges().
|
private |
Definition at line 548 of file overworld_editor.h.
Referenced by DrawOverworldProperties(), OverworldEditor(), SetGameData(), and UpdateGfxGroupEditor().
|
private |
Definition at line 549 of file overworld_editor.h.
|
private |
Definition at line 555 of file overworld_editor.h.
Referenced by DrawAreaGraphics(), DrawScratchSpace(), Load(), LoadGraphics(), LoadSpriteGraphics(), RefreshMapPalette(), RefreshTile16Blockset(), and SaveCurrentSelectionToScratch().
|
private |
Definition at line 556 of file overworld_editor.h.
|
private |
Definition at line 557 of file overworld_editor.h.
Referenced by Load(), and LoadGraphics().
|
private |
Definition at line 558 of file overworld_editor.h.
Referenced by Load(), LoadGraphics(), RefreshMapPalette(), and RefreshTile16Blockset().
|
private |
Definition at line 559 of file overworld_editor.h.
|
private |
Definition at line 560 of file overworld_editor.h.
Referenced by CheckForCurrentMap(), DrawOverworldEdits(), DrawOverworldMaps(), EnsureMapTexture(), ForceRefreshGraphics(), Initialize(), LoadGraphics(), ProcessDeferredTextures(), RefreshChildMap(), RefreshChildMapOnDemand(), RefreshMapPalette(), RefreshMultiAreaMapsSafely(), RefreshOverworldMapOnDemand(), RefreshSiblingMapGraphics(), and RenderUpdatedMapBitmap().
|
private |
Definition at line 561 of file overworld_editor.h.
Referenced by Clear(), DrawAreaGraphics(), and InvalidateGraphicsCache().
|
private |
Definition at line 562 of file overworld_editor.h.
Referenced by Initialize(), and LoadSpriteGraphics().
|
private |
Definition at line 568 of file overworld_editor.h.
Referenced by ApplyZSCustomOverworldASM(), AutomationGetTile(), AutomationSetTile(), CheckForCurrentMap(), CheckForOverworldEdits(), CheckForSelectRectangle(), Clear(), Copy(), DrawAreaGraphics(), DrawOverworldCanvas(), DrawOverworldEdits(), DrawOverworldProperties(), DrawScratchSpace(), EnsureMapTexture(), ForceRefreshGraphics(), GetWorldTiles(), HandleTile16Edit(), Initialize(), InvalidateGraphicsCache(), Load(), LoadGraphics(), LoadSpriteGraphics(), overworld(), Paste(), ProcessPendingEntityInsertion(), ProcessPreloadQueue(), QueueAdjacentMapsForPreload(), RefreshChildMap(), RefreshChildMapOnDemand(), RefreshMapPalette(), RefreshMapProperties(), RefreshMultiAreaMapsSafely(), RefreshSiblingMapGraphics(), RefreshTile16Blockset(), Save(), SaveCurrentSelectionToScratch(), set_current_map(), SetGameData(), and Update().
|
private |
Definition at line 569 of file overworld_editor.h.
|
private |
Definition at line 575 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 576 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 577 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 578 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 579 of file overworld_editor.h.
Referenced by Load().
|
private |
Definition at line 581 of file overworld_editor.h.
Referenced by DrawEntityEditorPopups(), HandleEntityContextMenus(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 582 of file overworld_editor.h.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 585 of file overworld_editor.h.
Referenced by HandleEntityInsertion(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 586 of file overworld_editor.h.
Referenced by HandleEntityInsertion(), and ProcessPendingEntityInsertion().
|
private |
Definition at line 587 of file overworld_editor.h.
Referenced by ProcessPendingEntityInsertion(), and Update().
|
private |
Definition at line 593 of file overworld_editor.h.
Referenced by CenterOverworldView(), CheckForCurrentMap(), CheckForOverworldEdits(), CheckForSelectRectangle(), Copy(), DrawOverworldCanvas(), DrawOverworldEdits(), DrawOverworldMaps(), DrawScratchSpace(), GetOverworldCanvas(), HandleEntityEditingShortcuts(), HandleEntityInsertion(), HandleKeyboardShortcuts(), HandleMapInteraction(), Initialize(), Paste(), ResetOverworldView(), SaveCurrentSelectionToScratch(), SetupCanvasAutomation(), ZoomIn(), and ZoomOut().
|
private |
Definition at line 595 of file overworld_editor.h.
Referenced by DrawAreaGraphics().
|
private |
Definition at line 597 of file overworld_editor.h.
Referenced by DrawTile16Selector().
|
private |
Definition at line 599 of file overworld_editor.h.
Referenced by DrawTile16Selector(), ScrollBlocksetCanvasToCurrentTile(), and UpdateBlocksetSelectorState().
|
private |
Definition at line 600 of file overworld_editor.h.
Referenced by DrawTile8Selector().
|
private |
Definition at line 602 of file overworld_editor.h.
Referenced by DrawOverworldProperties().
|
private |
Definition at line 603 of file overworld_editor.h.
Referenced by DrawScratchSpace(), DrawScratchSpaceEdits(), and DrawScratchSpacePattern().
|
private |
Definition at line 610 of file overworld_editor.h.
Referenced by Initialize(), and usage_stats_card().
|
private |
Definition at line 611 of file overworld_editor.h.
Referenced by debug_window_card(), and Initialize().
|
private |
Definition at line 613 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), DrawOverworldProperties(), HandleUndoRedoShortcuts(), RefreshChildMap(), and Update().
|
private |
Definition at line 619 of file overworld_editor.h.
Referenced by FinalizePaintOperation(), Load(), Redo(), and Undo().
|
private |
Definition at line 620 of file overworld_editor.h.
Referenced by FinalizePaintOperation(), Load(), Redo(), and Undo().
|
private |
Definition at line 621 of file overworld_editor.h.
Referenced by CreateUndoPoint(), FinalizePaintOperation(), and Load().
|
private |
Definition at line 622 of file overworld_editor.h.
Referenced by CreateUndoPoint().
|
staticconstexprprivate |
Definition at line 623 of file overworld_editor.h.
Referenced by FinalizePaintOperation().
|
staticconstexprprivate |
Definition at line 624 of file overworld_editor.h.
Referenced by CreateUndoPoint().
|
private |
Definition at line 630 of file overworld_editor.h.