Manipulates the Overworld and OverworldMap data in a Rom. More...
#include <overworld_editor.h>

Classes | |
| struct | ScratchSpaceSlot |
Public Member Functions | |
| OverworldEditor (Rom *rom) | |
| OverworldEditor (Rom *rom, const EditorDependencies &deps) | |
| void | Initialize (gfx::IRenderer *renderer, Rom *rom) |
| 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 () |
| 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) |
| absl::Status | LoadGraphics () |
| Load the Bitmap objects for each OverworldMap. | |
| void | HandleEntityInsertion (const std::string &entity_type) |
| Handle entity insertion from context menu. | |
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 () |
Public Attributes | |
| int | jump_to_tab_ = -1 |
Private Types | |
| enum class | EditingMode { MOUSE , DRAW_TILE } |
| enum class | EntityEditMode { NONE , ENTRANCES , EXITS , ITEMS , SPRITES , TRANSPORTS , MUSIC } |
| 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 | DrawToolset () |
| 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 | ForceRefreshGraphics (int map_index) |
| void | RefreshSiblingMapGraphics (int map_index, bool include_self=false) |
| void | DrawOverworldMaps () |
| void | DrawOverworldEdits () |
| void | RenderUpdatedMapBitmap (const ImVec2 &click_position, const std::vector< uint8_t > &tile_data) |
| void | CheckForOverworldEdits () |
| Check for changes to the overworld map. | |
| void | CheckForSelectRectangle () |
| Draw and create the tile16 IDs that are currently selected. | |
| absl::Status | CheckForCurrentMap () |
| Check for changes to the overworld map. Calls RefreshOverworldMap and RefreshTile16Blockset on the current map if it is modified and is actively being edited. | |
| void | CheckForMousePan () |
| void | DrawOverworldCanvas () |
| absl::Status | DrawTile16Selector () |
| void | DrawTile8Selector () |
| absl::Status | DrawAreaGraphics () |
| void | UpdateBlocksetSelectorState () |
| 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 | DrawOverworldProperties () |
| void | HandleMapInteraction () |
| void | HandleOverworldPan () |
| void | HandleOverworldZoom () |
| void | ResetOverworldView () |
| void | CenterOverworldView () |
| void | SetupCanvasAutomation () |
| gui::Canvas * | GetOverworldCanvas () |
| bool | AutomationSetTile (int x, int y, int tile_id) |
| int | AutomationGetTile (int x, int y) |
| void | ScrollBlocksetCanvasToCurrentTile () |
| Scroll the blockset canvas to show the current selected tile16. | |
| absl::Status | DrawScratchSpace () |
| absl::Status | SaveCurrentSelectionToScratch (int slot) |
| absl::Status | LoadScratchToSelection (int slot) |
| absl::Status | ClearScratchSpace (int slot) |
| void | DrawScratchSpaceEdits () |
| void | DrawScratchSpacePattern () |
| void | DrawScratchSpaceSelection () |
| void | UpdateScratchBitmapTile (int tile_x, int tile_y, int tile_id, int slot=-1) |
| absl::Status | UpdateUsageStats () |
| void | DrawUsageGrid () |
| void | DrawDebugWindow () |
Additional Inherited Members | |
Protected Member Functions inherited from yaze::editor::Editor | |
| std::string | MakeCardTitle (const std::string &base_title) const |
| std::string | MakeCardId (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_ |
Manipulates the Overworld and OverworldMap data in a Rom.
The OverworldEditor class is responsible for managing the editing and manipulation of the overworld in a game. The user can drag and drop tiles, modify OverworldEntrance, OverworldExit, Sprite, and OverworldItem as well as change the gfx and palettes used in each overworld map.
The Overworld itself is a series of bitmap images which exist inside each OverworldMap object. The drawing of the overworld is done using the Canvas class in conjunction with these underlying Bitmap objects.
Provides access to the GfxGroupEditor and Tile16Editor through popup windows.
Definition at line 63 of file overworld_editor.h.
|
strongprivate |
| Enumerator | |
|---|---|
| MOUSE | |
| DRAW_TILE | |
Definition at line 248 of file overworld_editor.h.
|
strongprivate |
| Enumerator | |
|---|---|
| NONE | |
| ENTRANCES | |
| EXITS | |
| ITEMS | |
| SPRITES | |
| TRANSPORTS | |
| MUSIC | |
Definition at line 257 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 269 of file overworld_editor.h.
|
inlineexplicit |
Definition at line 65 of file overworld_editor.h.
References gfx_group_editor_, yaze::editor::kOverworld, rom(), yaze::editor::GfxGroupEditor::set_rom(), and yaze::editor::Editor::type_.

|
inlineexplicit |
Definition at line 71 of file overworld_editor.h.
References yaze::editor::Editor::dependencies_.
| void yaze::editor::OverworldEditor::Initialize | ( | gfx::IRenderer * | renderer, |
| Rom * | rom | ||
| ) |
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 63 of file overworld_editor.cc.
References yaze::editor::EditorDependencies::card_registry, yaze::editor::Editor::dependencies_, entity_renderer_, ForceRefreshGraphics(), ICON_MD_ANALYTICS, ICON_MD_DRAW, ICON_MD_FOLDER, ICON_MD_GRID_3X3, ICON_MD_GRID_ON, ICON_MD_IMAGE, ICON_MD_MAP, ICON_MD_SETTINGS, yaze::editor::Editor::MakeCardId(), map_properties_system_, maps_bmp_, overworld_, ow_map_canvas_, RefreshMapPalette(), RefreshMapProperties(), RefreshOverworldMap(), RefreshTile16Blockset(), yaze::editor::EditorCardRegistry::RegisterCard(), rom_, SetupCanvasAutomation(), show_area_gfx_, show_gfx_groups_, show_overworld_canvas_, show_scratch_, show_tile16_selector_, show_tile8_selector_, show_usage_stats_, show_v3_settings_, and sprite_previews_.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 161 of file overworld_editor.cc.
References all_gfx_loaded_, ASSIGN_OR_RETURN, current_gfx_bmp_, entrance_tiletypes_, HandleEntityInsertion(), 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_, RefreshOverworldMap(), RefreshTile16Blockset(), RETURN_IF_ERROR, rom_, yaze::editor::Tile16Editor::set_on_changes_committed(), yaze::editor::Tile16Editor::set_palette(), yaze::editor::Tile16Editor::set_rom(), tile16_blockset_bmp_, and tile16_editor_.
Referenced by DrawToolset().
|
finalvirtual |
Implements yaze::editor::Editor.
Definition at line 204 of file overworld_editor.cc.
References yaze::gui::EditorCard::Begin(), yaze::gui::BeginChildWithScrollbar(), yaze::gui::BeginPadding(), yaze::gui::CenterText(), current_entity_, current_entrance_, current_exit_, current_item_, current_map_, current_mode, current_sprite_, DrawAreaGraphics(), yaze::editor::DrawExitEditorPopup(), DrawFullscreenCanvas(), yaze::editor::DrawItemEditorPopup(), DrawOverworldCanvas(), yaze::editor::DrawOverworldEntrancePopup(), DrawScratchSpace(), yaze::editor::DrawSpriteEditorPopup(), DrawTile16Selector(), DrawTile8Selector(), DrawToolset(), yaze::gui::EditorCard::End(), yaze::gui::EndNoPadding(), entity_renderer_, yaze::zelda3::GameEntity::entity_type_, yaze::gui::EditorCard::Floating, gfx_group_editor_, ICON_MD_ANALYTICS, ICON_MD_BRUSH, ICON_MD_COLLECTIONS, ICON_MD_FORMAT_COLOR_FILL, ICON_MD_GRID_3X3, ICON_MD_GRID_4X4, ICON_MD_GRID_ON, ICON_MD_IMAGE, ICON_MD_LAYERS, ICON_MD_PUBLIC, ICON_MD_TUNE, yaze::Rom::is_loaded(), yaze::zelda3::Overworld::is_loaded(), jump_to_tab_, yaze::zelda3::GameEntity::kEntrance, yaze::zelda3::GameEntity::kExit, yaze::zelda3::GameEntity::kItem, yaze::zelda3::GameEntity::kSprite, yaze::editor::Editor::MakeCardTitle(), map_properties_system_, MOUSE, overworld_, overworld_canvas_fullscreen_, ProcessDeferredTextures(), yaze::gui::EditorCard::Right, rom_, yaze::Rom::set_dirty(), yaze::gui::EditorCard::SetDefaultSize(), yaze::gui::EditorCard::SetPosition(), show_area_gfx_, show_custom_bg_color_editor_, show_gfx_groups_, show_map_properties_panel_, show_overlay_editor_, show_overworld_canvas_, show_scratch_, show_tile16_editor_, show_tile16_selector_, show_tile8_selector_, show_usage_stats_, status_, tile16_editor_, yaze::editor::GfxGroupEditor::Update(), yaze::editor::Tile16Editor::Update(), and UpdateUsageStats().
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 80 of file overworld_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 81 of file overworld_editor.h.
|
inlineoverridevirtual |
Implements yaze::editor::Editor.
Definition at line 82 of file overworld_editor.h.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 1125 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 1171 of file overworld_editor.cc.
References current_map_, current_world_, yaze::editor::Editor::dependencies_, yaze::gui::Canvas::drawn_tile_position(), 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 85 of file overworld_editor.h.
|
overridevirtual |
Implements yaze::editor::Editor.
Definition at line 1751 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 2844 of file overworld_editor.cc.
References all_gfx_loaded_, current_graphics_set_, yaze::zelda3::Overworld::Destroy(), map_blockset_loaded_, and overworld_.
Referenced by DrawToolset().

|
inline |
Definition at line 88 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.
Definition at line 2852 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 DrawToolset().
| absl::Status yaze::editor::OverworldEditor::UpdateROMVersionMarkers | ( | int | target_version | ) |
Update ROM version markers and feature flags after ASM patching.
Definition at line 2958 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 100 of file overworld_editor.h.
References jump_to_tab_.
|
inlineoverridevirtual |
Reimplemented from yaze::editor::Editor.
Definition at line 104 of file overworld_editor.h.
References yaze::Rom::is_loaded(), and rom_.

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

|
inline |
Definition at line 111 of file overworld_editor.h.
References rom_.
Referenced by OverworldEditor().
|
inline |
Definition at line 114 of file overworld_editor.h.
References current_map_, current_world_, and yaze::zelda3::kNumOverworldMaps.
| 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 1774 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gfx::Arena::CREATE, yaze::gfx::CreateTilemap(), yaze::zelda3::Overworld::current_area_palette(), 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::surface(), tile16_blockset_, 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.
Delegates to flat helper functions in entity_operations.cc following ZScream's pattern for entity management.
| entity_type | Type of entity to insert ("entrance", "hole", "exit", "item", "sprite") |
Definition at line 3086 of file overworld_editor.cc.
References current_entity_, current_entrance_, current_exit_, current_item_, current_map_, current_sprite_, game_state_, yaze::gui::Canvas::hover_mouse_pos(), yaze::editor::InsertEntrance(), yaze::editor::InsertExit(), yaze::editor::InsertItem(), yaze::editor::InsertSprite(), yaze::zelda3::Overworld::is_loaded(), LOG_DEBUG, LOG_ERROR, LOG_WARN, overworld_, ow_map_canvas_, rom_, and yaze::Rom::set_dirty().
Referenced by Load().
|
private |
Definition at line 473 of file overworld_editor.cc.
References DrawOverworldCanvas(), DrawToolset(), and overworld_canvas_fullscreen_.
Referenced by Update().

|
private |
Definition at line 490 of file overworld_editor.cc.
References yaze::gui::Toolset::AddAction(), yaze::gui::Toolset::AddProperty(), yaze::gui::Toolset::AddRomBadge(), yaze::gui::Toolset::AddSeparator(), yaze::gui::Toolset::AddToggle(), yaze::gui::Toolset::AddUsageStatsButton(), ApplyZSCustomOverworldASM(), yaze::gui::Toolset::Begin(), yaze::gui::Toolset::BeginModeGroup(), Clear(), current_map_, current_map_lock_, current_mode, DRAW_TILE, yaze::gui::Toolset::End(), yaze::gui::Toolset::EndModeGroup(), entity_edit_mode_, ENTRANCES, EXITS, ICON_MD_ADD_LOCATION, ICON_MD_BRUSH, ICON_MD_CANCEL, ICON_MD_CHECK, ICON_MD_COLLECTIONS, ICON_MD_DOOR_BACK, ICON_MD_DOOR_FRONT, ICON_MD_DRAW, ICON_MD_GRASS, ICON_MD_GRID_3X3, ICON_MD_GRID_4X4, ICON_MD_GRID_VIEW, ICON_MD_IMAGE, ICON_MD_MOUSE, ICON_MD_MUSIC_NOTE, ICON_MD_OPEN_IN_FULL, ICON_MD_PALETTE, ICON_MD_PEST_CONTROL_RODENT, ICON_MD_TUNE, ICON_MD_UPGRADE, ICON_MD_ZOOM_IN, ICON_MD_ZOOM_OUT, ITEMS, yaze::gui::kEntityManipulation, yaze::gui::kTilePainting, Load(), LOG_ERROR, yaze::gui::Toolset::ModeButton(), MOUSE, MUSIC, yaze::zelda3::Overworld::mutable_overworld_map(), NONE, overworld_, overworld_canvas_fullscreen_, yaze::zelda3::OverworldCustomASMHasBeenApplied, ow_map_canvas_, yaze::gui::Canvas::SetUsageMode(), show_area_gfx_, show_gfx_groups_, show_map_properties_panel_, show_scratch_, show_tile16_editor_, show_tile16_selector_, show_tile8_selector_, show_usage_stats_, SPRITES, status_, TRANSPORTS, yaze::gui::Canvas::ZoomIn(), and yaze::gui::Canvas::ZoomOut().
Referenced by DrawFullscreenCanvas(), and Update().
|
private |
Definition at line 2012 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 2027 of file overworld_editor.cc.
References current_map_, and RefreshOverworldMapOnDemand().
Referenced by CheckForCurrentMap(), CheckForOverworldEdits(), Initialize(), Load(), and Paste().

|
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 2039 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 2062 of file overworld_editor.cc.
References yaze::gfx::Arena::CREATE, current_world_, yaze::gfx::Arena::Get(), yaze::zelda3::Overworld::GetMapTiles(), LOG_ERROR, LOG_WARN, maps_bmp_, yaze::zelda3::Overworld::mutable_overworld_map(), yaze::zelda3::Overworld::mutable_tiles16(), overworld_, yaze::zelda3::OverworldCustomASMHasBeenApplied, yaze::gfx::Arena::QueueTextureCommand(), RefreshMultiAreaMapsSafely(), 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 respects the ZScream area size logic and prevents infinite recursion.
Definition at line 2143 of file overworld_editor.cc.
References yaze::zelda3::OverworldMap::area_size(), yaze::zelda3::Overworld::current_area_palette(), 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 2300 of file overworld_editor.cc.
References yaze::zelda3::Overworld::current_area_palette(), current_map_, yaze::zelda3::kNumOverworldMaps, maps_bmp_, yaze::zelda3::Overworld::mutable_overworld_map(), overworld_, yaze::zelda3::Overworld::overworld_map(), yaze::zelda3::OverworldCustomASMHasBeenApplied, and RETURN_IF_ERROR.
Referenced by Initialize().

|
private |
Definition at line 2444 of file overworld_editor.cc.
References current_map_, game_state_, yaze::zelda3::kNumOverworldMaps, yaze::zelda3::Overworld::mutable_overworld_map(), overworld_, and yaze::zelda3::OverworldCustomASMHasBeenApplied.
Referenced by Initialize().

|
private |
Definition at line 2521 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gfx::Arena::CREATE, yaze::zelda3::Overworld::current_area_palette(), current_blockset_, 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::SetPalette(), yaze::gfx::Bitmap::texture(), tile16_blockset_, yaze::zelda3::Overworld::tile16_blockset_data(), yaze::gfx::Arena::UPDATE, and yaze::gfx::UpdateTilemap().
Referenced by CheckForCurrentMap(), Initialize(), and Load().
|
private |
Definition at line 2380 of file overworld_editor.cc.
References current_blockset_, LOG_DEBUG, and maps_bmp_.
Referenced by Initialize().
|
private |
Definition at line 2393 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.

|
private |
Definition at line 775 of file overworld_editor.cc.
References current_map_, current_world_, yaze::gui::Canvas::DrawBitmap(), EnsureMapTexture(), IM_PI, yaze::editor::kOverworldMapSize, maps_bmp_, ow_map_canvas_, and yaze::gui::Canvas::zero_point().
Referenced by DrawOverworldCanvas().

|
private |
Definition at line 837 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, current_map_, current_tile16_, current_world_, yaze::gui::Canvas::drawn_tile_position(), yaze::gfx::GetTilemapData(), 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 892 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 changes to the overworld map.
This function either draws the tile painter with the current tile16 or group of tile16 data with ow_map_canvas_ and DrawOverworldEdits or it checks for left mouse button click/drag to select a tile16 or group of tile16 data from the overworld map canvas. Similar to ZScream selection.
Definition at line 968 of file overworld_editor.cc.
References CheckForSelectRectangle(), current_tile16_, current_world_, DrawOverworldEdits(), yaze::gui::Canvas::DrawTilemapPainter(), 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 1093 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 changes to the overworld map. Calls RefreshOverworldMap and RefreshTile16Blockset on the current map if it is modified and is actively being edited.
Definition at line 1228 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::gui::Canvas::hover_mouse_pos(), yaze::gfx::Bitmap::is_active(), yaze::editor::kOverworldMapSize, maps_bmp_, overworld_, yaze::zelda3::Overworld::overworld_map(), yaze::zelda3::OverworldCustomASMHasBeenApplied, ow_map_canvas_, RefreshOverworldMap(), RefreshTile16Blockset(), RETURN_IF_ERROR, and tile16_blockset_.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 1518 of file overworld_editor.cc.
References HandleOverworldPan().

|
private |
Definition at line 1523 of file overworld_editor.cc.
References yaze::gui::BeginChildBothScrollbars(), yaze::gui::BeginNoPadding(), CheckForCurrentMap(), CheckForOverworldEdits(), current_map_, current_map_lock_, current_mode, current_world_, dragged_entity_, dragged_entity_free_movement_, DRAW_TILE, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), DrawOverworldMaps(), yaze::gui::EndNoPadding(), entity_edit_mode_, entity_renderer_, yaze::zelda3::GameEntity::entity_type_, game_state_, yaze::gui::Canvas::global_scale(), HandleMapInteraction(), HandleOverworldPan(), HandleOverworldZoom(), is_dragging_entity_, yaze::Rom::is_loaded(), yaze::zelda3::Overworld::is_loaded(), yaze::gui::Canvas::IsMouseHovering(), yaze::zelda3::GameEntity::kExit, yaze::zelda3::GameEntity::map_id_, map_properties_system_, MOUSE, yaze::editor::MoveEntityOnGrid(), overworld_, ow_map_canvas_, rom_, yaze::gui::Canvas::scrolling(), yaze::Rom::set_dirty(), show_custom_bg_color_editor_, show_map_properties_panel_, show_overlay_editor_, show_overlay_preview_, status_, yaze::zelda3::GameEntity::UpdateMapProperties(), yaze::zelda3::GameEntity::x_, yaze::zelda3::GameEntity::y_, and yaze::gui::Canvas::zero_point().
Referenced by DrawFullscreenCanvas(), and Update().
|
private |
Definition at line 1642 of file overworld_editor.cc.
References yaze::gfx::Tilemap::atlas, yaze::gui::BeginChildWithScrollbar(), yaze::gui::BeginPadding(), blockset_canvas_, blockset_selector_, current_tile16_, 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, map_blockset_loaded_, yaze::editor::Tile16Editor::SetCurrentTile(), show_tile16_editor_, 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 Update().
|
private |
Definition at line 1691 of file overworld_editor.cc.
References all_gfx_loaded_, yaze::gui::Canvas::draw_list(), yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gfx::Arena::Get(), yaze::gfx::Arena::gfx_sheets(), graphics_bin_canvas_, and yaze::gui::Canvas::zero_point().
Referenced by Update().
|
private |
Definition at line 1715 of file overworld_editor.cc.
References yaze::gui::BeginChildWithScrollbar(), yaze::gui::BeginPadding(), yaze::zelda3::Overworld::current_area_palette(), current_gfx_canvas_, current_graphics_set_, current_map_, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawContextMenu(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), yaze::gui::EndPadding(), yaze::zelda3::Overworld::is_loaded(), overworld_, palette_, and yaze::zelda3::Overworld::set_current_map().
Referenced by Update().
|
private |
Definition at line 3014 of file overworld_editor.cc.
References blockset_selector_, current_tile16_, and yaze::zelda3::kNumTile16Individual.
Referenced by DrawTile16Selector().
|
private |
Definition at line 1927 of file overworld_editor.cc.
References yaze::zelda3::Overworld::mutable_sprites(), overworld_, palette_, and sprite_previews_.
Referenced by LoadGraphics().

|
private |
Create textures for deferred map bitmaps on demand.
This method should be called periodically to create textures for maps that are needed but haven't had their textures created yet. This allows for smooth loading without blocking the main thread during ROM loading.
Definition at line 1949 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.
Call this when a map becomes visible or is about to be rendered. It will create the texture if it doesn't exist yet.
Definition at line 1975 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 2608 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().
Referenced by UpdateUsageStats().
|
private |
Definition at line 2551 of file overworld_editor.cc.
References current_map_, current_map_lock_, current_world_, yaze::gui::Canvas::drawn_tile_position(), yaze::editor::kOverworldMapSize, ow_map_canvas_, and show_map_properties_panel_.
Referenced by DrawOverworldCanvas().

|
private |
Definition at line 1428 of file overworld_editor.cc.
References yaze::gui::Canvas::canvas_size(), yaze::gui::Canvas::global_scale(), middle_mouse_dragging_, ow_map_canvas_, yaze::gui::Canvas::scrolling(), and yaze::gui::Canvas::set_scrolling().
Referenced by CheckForMousePan(), and DrawOverworldCanvas().

|
private |
Definition at line 1455 of file overworld_editor.cc.
References yaze::gui::Canvas::canvas_size(), yaze::gui::Canvas::global_scale(), ow_map_canvas_, yaze::gui::Canvas::scrolling(), yaze::gui::Canvas::set_global_scale(), yaze::gui::Canvas::set_scrolling(), and yaze::gui::Canvas::zero_point().
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 1501 of file overworld_editor.cc.
References ow_map_canvas_, yaze::gui::Canvas::set_global_scale(), and yaze::gui::Canvas::set_scrolling().

|
private |
Definition at line 1506 of file overworld_editor.cc.
References yaze::gui::Canvas::canvas_size(), yaze::gui::Canvas::global_scale(), ow_map_canvas_, and yaze::gui::Canvas::set_scrolling().

|
private |
Definition at line 3027 of file overworld_editor.cc.
References AutomationGetTile(), AutomationSetTile(), yaze::gui::Canvas::GetAutomationAPI(), ow_map_canvas_, and yaze::gui::CanvasAutomationAPI::SetTilePaintCallback().
Referenced by Initialize().

|
inlineprivate |
Definition at line 223 of file overworld_editor.h.
References ow_map_canvas_.
|
private |
Definition at line 3040 of file overworld_editor.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 3069 of file overworld_editor.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 |
Scroll the blockset canvas to show the current selected tile16.
Definition at line 2590 of file overworld_editor.cc.
References blockset_selector_, and current_tile16_.
Referenced by CheckForSelectRectangle().
|
private |
Definition at line 43 of file scratch_space.cc.
References all_gfx_loaded_, yaze::gui::BeginChildWithScrollbar(), yaze::gui::BeginPadding(), ClearScratchSpace(), yaze::gfx::Arena::CREATE, yaze::zelda3::Overworld::current_area_palette(), current_scratch_slot_, yaze::editor::Editor::dependencies_, yaze::gui::Canvas::DrawBackground(), yaze::gui::Canvas::DrawBitmap(), yaze::gui::Canvas::DrawGrid(), yaze::gui::Canvas::DrawOverlay(), yaze::gui::Canvas::DrawTileSelector(), yaze::gui::EndPadding(), yaze::gfx::Arena::Get(), yaze::editor::EditorDependencies::SharedClipboard::has_overworld_tile16, HOVER_HINT, ICON_MD_CONTENT_PASTE, ICON_MD_DOWNLOAD, ICON_MD_UPLOAD, LoadScratchToSelection(), map_blockset_loaded_, overworld_, yaze::editor::EditorDependencies::SharedClipboard::overworld_height, yaze::editor::EditorDependencies::SharedClipboard::overworld_tile16_ids, yaze::editor::EditorDependencies::SharedClipboard::overworld_width, ow_map_canvas_, palette_, yaze::gfx::Arena::QueueTextureCommand(), RETURN_IF_ERROR, SaveCurrentSelectionToScratch(), scratch_canvas_, scratch_spaces_, yaze::gui::Canvas::select_rect_active(), yaze::gui::Canvas::selected_points(), yaze::gui::Canvas::selected_tiles(), yaze::gui::Canvas::SetContextMenuEnabled(), and yaze::editor::EditorDependencies::shared_clipboard.
Referenced by Update().
|
private |
Definition at line 328 of file scratch_space.cc.
References all_gfx_loaded_, yaze::gfx::Arena::CREATE, yaze::zelda3::Overworld::current_area_palette(), current_map_, current_world_, yaze::gfx::Arena::Get(), yaze::zelda3::Overworld::GetTileFromPosition(), overworld_, ow_map_canvas_, palette_, yaze::gfx::Arena::QueueTextureCommand(), scratch_spaces_, 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(), and UpdateScratchBitmapTile().
Referenced by DrawScratchSpace().
|
private |
Definition at line 411 of file scratch_space.cc.
References yaze::util::logf(), and scratch_spaces_.
Referenced by DrawScratchSpace().

|
private |
Definition at line 427 of file scratch_space.cc.
References yaze::gfx::Arena::Get(), yaze::gfx::Arena::QueueTextureCommand(), scratch_spaces_, and yaze::gfx::Arena::UPDATE.
Referenced by DrawScratchSpace().

|
private |
Definition at line 181 of file scratch_space.cc.
References current_scratch_slot_, current_tile16_, yaze::gui::Canvas::drawn_tile_position(), yaze::gui::Canvas::global_scale(), scratch_canvas_, scratch_spaces_, and UpdateScratchBitmapTile().

|
private |
Definition at line 218 of file scratch_space.cc.
References current_scratch_slot_, yaze::editor::Editor::dependencies_, yaze::gui::Canvas::drawn_tile_position(), yaze::editor::EditorDependencies::SharedClipboard::has_overworld_tile16, yaze::editor::EditorDependencies::SharedClipboard::overworld_height, yaze::editor::EditorDependencies::SharedClipboard::overworld_tile16_ids, yaze::editor::EditorDependencies::SharedClipboard::overworld_width, scratch_canvas_, scratch_spaces_, yaze::editor::EditorDependencies::shared_clipboard, and UpdateScratchBitmapTile().

|
private |
|
private |
Definition at line 274 of file scratch_space.cc.
References current_scratch_slot_, yaze::gfx::Arena::Get(), yaze::gfx::GetTilemapData(), yaze::gfx::Arena::QueueTextureCommand(), scratch_spaces_, tile16_blockset_, and yaze::gfx::Arena::UPDATE.
Referenced by DrawScratchSpaceEdits(), DrawScratchSpacePattern(), and SaveCurrentSelectionToScratch().

|
private |
Definition at line 2713 of file overworld_editor.cc.
References yaze::project::ResourceLabelManager::CreateOrGetLabel(), DrawOverworldProperties(), DrawUsageGrid(), yaze::zelda3::Overworld::entrances(), yaze::util::HexByte(), yaze::zelda3::kEntranceNames, overworld_, properties_canvas_, yaze::Rom::resource_label(), rom_, selected_entrance_, selected_usage_map_, and yaze::gui::Canvas::set_highlight_tile_id().
Referenced by Update().
|
private |
Definition at line 2768 of file overworld_editor.cc.
References yaze::gui::GetSelectedColor(), and selected_usage_map_.
Referenced by UpdateUsageStats().

|
private |
Definition at line 2814 of file overworld_editor.cc.
References current_map_, current_tile16_, yaze::gui::Canvas::drawn_tile_position(), yaze::zelda3::Overworld::mutable_map_tiles(), overworld_, and ow_map_canvas_.

| int yaze::editor::OverworldEditor::jump_to_tab_ = -1 |
Definition at line 101 of file overworld_editor.h.
Referenced by jump_to_tab(), yaze::editor::EditorManager::Update(), and Update().
|
private |
Definition at line 176 of file overworld_editor.h.
Referenced by CheckForOverworldEdits(), and CheckForSelectRectangle().
|
private |
Definition at line 253 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), DrawToolset(), and Update().
|
private |
Definition at line 254 of file overworld_editor.h.
|
private |
Definition at line 267 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), and DrawToolset().
|
private |
Definition at line 284 of file overworld_editor.h.
Referenced by AutomationGetTile(), AutomationSetTile(), CheckForCurrentMap(), CheckForOverworldEdits(), CheckForSelectRectangle(), Copy(), DrawOverworldCanvas(), DrawOverworldEdits(), DrawOverworldMaps(), HandleMapInteraction(), LoadGraphics(), Paste(), ProcessDeferredTextures(), RefreshChildMap(), RefreshChildMapOnDemand(), RefreshMultiAreaMapsSafely(), RefreshOverworldMapOnDemand(), SaveCurrentSelectionToScratch(), and set_current_map().
|
private |
Definition at line 285 of file overworld_editor.h.
Referenced by AutomationGetTile(), AutomationSetTile(), CheckForCurrentMap(), CheckForSelectRectangle(), Copy(), DrawAreaGraphics(), DrawDebugWindow(), DrawOverworldCanvas(), DrawOverworldEdits(), DrawOverworldMaps(), DrawToolset(), HandleEntityInsertion(), HandleMapInteraction(), Paste(), ProcessDeferredTextures(), RefreshMapPalette(), RefreshMapProperties(), RefreshMultiAreaMapsSafely(), RefreshOverworldMap(), RefreshOverworldMapOnDemand(), RefreshTile16Blockset(), RenderUpdatedMapBitmap(), SaveCurrentSelectionToScratch(), set_current_map(), and Update().
|
private |
Definition at line 286 of file overworld_editor.h.
Referenced by CheckForCurrentMap().
|
private |
Definition at line 287 of file overworld_editor.h.
|
private |
Definition at line 288 of file overworld_editor.h.
|
private |
Definition at line 289 of file overworld_editor.h.
|
private |
Definition at line 290 of file overworld_editor.h.
|
private |
Definition at line 291 of file overworld_editor.h.
Referenced by ForceRefreshGraphics(), and RefreshTile16Blockset().
|
private |
Definition at line 292 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), HandleEntityInsertion(), and RefreshMapProperties().
|
private |
Definition at line 293 of file overworld_editor.h.
Referenced by CheckForOverworldEdits(), CheckForSelectRectangle(), Copy(), DrawDebugWindow(), DrawOverworldEdits(), DrawScratchSpaceEdits(), DrawTile16Selector(), ScrollBlocksetCanvasToCurrentTile(), and UpdateBlocksetSelectorState().
|
private |
Definition at line 294 of file overworld_editor.h.
Referenced by UpdateUsageStats().
|
private |
Definition at line 295 of file overworld_editor.h.
Referenced by DrawUsageGrid(), and UpdateUsageStats().
|
private |
Definition at line 297 of file overworld_editor.h.
Referenced by Clear(), DrawScratchSpace(), DrawTile8Selector(), Load(), and SaveCurrentSelectionToScratch().
|
private |
Definition at line 298 of file overworld_editor.h.
Referenced by Clear(), DrawScratchSpace(), DrawTile16Selector(), and LoadGraphics().
|
private |
Definition at line 299 of file overworld_editor.h.
|
private |
Definition at line 300 of file overworld_editor.h.
Referenced by DrawTile16Selector(), DrawToolset(), and Update().
|
private |
Definition at line 301 of file overworld_editor.h.
|
private |
Definition at line 302 of file overworld_editor.h.
|
private |
Definition at line 303 of file overworld_editor.h.
Referenced by DrawFullscreenCanvas(), DrawToolset(), and Update().
|
private |
Definition at line 304 of file overworld_editor.h.
Referenced by HandleOverworldPan().
|
private |
Definition at line 305 of file overworld_editor.h.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 306 of file overworld_editor.h.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 307 of file overworld_editor.h.
Referenced by CheckForCurrentMap(), DrawOverworldCanvas(), DrawToolset(), and HandleMapInteraction().
|
private |
Definition at line 308 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), and Update().
|
private |
Definition at line 309 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), and Update().
|
private |
Definition at line 310 of file overworld_editor.h.
|
private |
Definition at line 311 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), DrawToolset(), HandleMapInteraction(), and Update().
|
private |
Definition at line 312 of file overworld_editor.h.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 315 of file overworld_editor.h.
Referenced by Initialize(), and Update().
|
private |
Definition at line 316 of file overworld_editor.h.
Referenced by DrawToolset(), Initialize(), and Update().
|
private |
Definition at line 317 of file overworld_editor.h.
Referenced by DrawToolset(), Initialize(), and Update().
|
private |
Definition at line 318 of file overworld_editor.h.
Referenced by DrawToolset(), Initialize(), and Update().
|
private |
Definition at line 319 of file overworld_editor.h.
Referenced by DrawToolset(), Initialize(), and Update().
|
private |
Definition at line 320 of file overworld_editor.h.
Referenced by DrawToolset(), Initialize(), and Update().
|
private |
Definition at line 321 of file overworld_editor.h.
Referenced by DrawToolset(), Initialize(), and Update().
|
private |
Definition at line 322 of file overworld_editor.h.
Referenced by Initialize().
|
private |
Definition at line 325 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), Initialize(), Load(), and Update().
|
private |
Definition at line 326 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), Initialize(), and Update().
|
private |
Definition at line 342 of file overworld_editor.h.
Referenced by ClearScratchSpace(), DrawScratchSpace(), DrawScratchSpaceEdits(), DrawScratchSpacePattern(), LoadScratchToSelection(), SaveCurrentSelectionToScratch(), and UpdateScratchBitmapTile().
|
private |
Definition at line 343 of file overworld_editor.h.
Referenced by DrawScratchSpace(), DrawScratchSpaceEdits(), DrawScratchSpacePattern(), and UpdateScratchBitmapTile().
|
private |
Definition at line 345 of file overworld_editor.h.
Referenced by AutomationSetTile(), CheckForCurrentMap(), CheckForOverworldEdits(), CheckForSelectRectangle(), DrawOverworldEdits(), DrawTile16Selector(), LoadGraphics(), RefreshTile16Blockset(), and UpdateScratchBitmapTile().
|
private |
Definition at line 347 of file overworld_editor.h.
Referenced by ApplyZSCustomOverworldASM(), DrawOverworldCanvas(), GetRomStatus(), HandleEntityInsertion(), Initialize(), IsRomLoaded(), Load(), LoadGraphics(), rom(), Update(), and UpdateUsageStats().
|
private |
Definition at line 349 of file overworld_editor.h.
Referenced by LoadGraphics(), ProcessDeferredTextures(), and RefreshTile16Blockset().
|
private |
Definition at line 350 of file overworld_editor.h.
Referenced by DrawTile16Selector(), Load(), and Update().
|
private |
Definition at line 351 of file overworld_editor.h.
Referenced by DrawOverworldProperties(), OverworldEditor(), and Update().
|
private |
Definition at line 352 of file overworld_editor.h.
|
private |
Definition at line 354 of file overworld_editor.h.
Referenced by DrawAreaGraphics(), DrawScratchSpace(), Load(), LoadGraphics(), LoadSpriteGraphics(), RefreshTile16Blockset(), and SaveCurrentSelectionToScratch().
|
private |
Definition at line 356 of file overworld_editor.h.
|
private |
Definition at line 357 of file overworld_editor.h.
Referenced by Load().
|
private |
Definition at line 358 of file overworld_editor.h.
Referenced by Load().
|
private |
Definition at line 359 of file overworld_editor.h.
|
private |
Definition at line 361 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 362 of file overworld_editor.h.
Referenced by Clear(), and DrawAreaGraphics().
|
private |
Definition at line 363 of file overworld_editor.h.
Referenced by Initialize(), and LoadSpriteGraphics().
|
private |
Definition at line 368 of file overworld_editor.h.
Referenced by ApplyZSCustomOverworldASM(), AutomationGetTile(), AutomationSetTile(), CheckForCurrentMap(), CheckForOverworldEdits(), CheckForSelectRectangle(), Clear(), Copy(), DrawAreaGraphics(), DrawDebugWindow(), DrawOverworldCanvas(), DrawOverworldEdits(), DrawOverworldProperties(), DrawScratchSpace(), DrawToolset(), EnsureMapTexture(), HandleEntityInsertion(), Initialize(), Load(), LoadGraphics(), LoadSpriteGraphics(), overworld(), Paste(), RefreshChildMap(), RefreshChildMapOnDemand(), RefreshMapPalette(), RefreshMapProperties(), RefreshMultiAreaMapsSafely(), RefreshSiblingMapGraphics(), RefreshTile16Blockset(), Save(), SaveCurrentSelectionToScratch(), Update(), and UpdateUsageStats().
|
private |
Definition at line 369 of file overworld_editor.h.
|
private |
Definition at line 371 of file overworld_editor.h.
Referenced by HandleEntityInsertion(), and Update().
|
private |
Definition at line 373 of file overworld_editor.h.
Referenced by HandleEntityInsertion(), and Update().
|
private |
Definition at line 374 of file overworld_editor.h.
Referenced by HandleEntityInsertion(), and Update().
|
private |
Definition at line 375 of file overworld_editor.h.
Referenced by HandleEntityInsertion(), and Update().
|
private |
Definition at line 376 of file overworld_editor.h.
Referenced by Load().
|
private |
Definition at line 378 of file overworld_editor.h.
Referenced by HandleEntityInsertion(), and Update().
|
private |
Definition at line 379 of file overworld_editor.h.
Referenced by DrawOverworldCanvas().
|
private |
Definition at line 381 of file overworld_editor.h.
Referenced by CenterOverworldView(), CheckForCurrentMap(), CheckForOverworldEdits(), CheckForSelectRectangle(), Copy(), DrawDebugWindow(), DrawOverworldCanvas(), DrawOverworldEdits(), DrawOverworldMaps(), DrawScratchSpace(), DrawToolset(), GetOverworldCanvas(), HandleEntityInsertion(), HandleMapInteraction(), HandleOverworldPan(), HandleOverworldZoom(), Initialize(), Paste(), ResetOverworldView(), SaveCurrentSelectionToScratch(), and SetupCanvasAutomation().
|
private |
Definition at line 383 of file overworld_editor.h.
Referenced by DrawAreaGraphics().
|
private |
Definition at line 385 of file overworld_editor.h.
Referenced by DrawTile16Selector().
|
private |
Definition at line 387 of file overworld_editor.h.
Referenced by DrawTile16Selector(), ScrollBlocksetCanvasToCurrentTile(), and UpdateBlocksetSelectorState().
|
private |
Definition at line 388 of file overworld_editor.h.
Referenced by DrawTile8Selector().
|
private |
Definition at line 390 of file overworld_editor.h.
Referenced by DrawOverworldProperties(), and UpdateUsageStats().
|
private |
Definition at line 391 of file overworld_editor.h.
Referenced by DrawScratchSpace(), DrawScratchSpaceEdits(), and DrawScratchSpacePattern().
|
private |
Definition at line 393 of file overworld_editor.h.
Referenced by DrawOverworldCanvas(), DrawOverworldProperties(), DrawToolset(), RefreshChildMap(), and Update().