yaze 0.2.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::OverworldEditor Class Reference

Manipulates the Overworld and OverworldMap data in a Rom. More...

#include <overworld_editor.h>

Inheritance diagram for yaze::editor::OverworldEditor:

Public Member Functions

 OverworldEditor (Rom &rom)
 
void Initialize ()
 
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 ()
 
int jump_to_tab ()
 
absl::Status LoadGraphics ()
 Load the Bitmap objects for each OverworldMap.
 
- Public Member Functions inherited from yaze::editor::Editor
 Editor ()=default
 
virtual ~Editor ()=default
 
EditorType type () const
 

Public Attributes

int jump_to_tab_ = -1
 

Private Types

enum class  EditingMode {
  DRAW_TILE , ENTRANCES , EXITS , ITEMS ,
  SPRITES , TRANSPORTS , MUSIC , PAN
}
 
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 DrawOverworldMapSettings ()
 
void DrawCustomOverworldMapSettings ()
 
void RefreshChildMap (int i)
 
void RefreshOverworldMap ()
 
absl::Status RefreshMapPalette ()
 
void RefreshMapProperties ()
 
absl::Status RefreshTile16Blockset ()
 
void DrawOverworldEntrances (ImVec2 canvas_p, ImVec2 scrolling, bool holes=false)
 
void DrawOverworldExits (ImVec2 zero, ImVec2 scrolling)
 
void DrawOverworldItems ()
 
void DrawOverworldSprites ()
 
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 ()
 
absl::Status DrawTileSelector ()
 
absl::Status LoadSpriteGraphics ()
 
void DrawOverworldProperties ()
 
absl::Status UpdateUsageStats ()
 
void DrawUsageGrid ()
 
void DrawDebugWindow ()
 

Private Attributes

EditingMode current_mode = EditingMode::DRAW_TILE
 
EditingMode previous_mode = EditingMode::DRAW_TILE
 
int current_world_ = 0
 
int current_map_ = 0
 
int current_parent_ = 0
 
int current_entrance_id_ = 0
 
int current_exit_id_ = 0
 
int current_item_id_ = 0
 
int current_sprite_id_ = 0
 
int current_blockset_ = 0
 
int game_state_ = 1
 
int current_tile16_ = 0
 
int selected_entrance_ = 0
 
int selected_usage_map_ = 0xFFFF
 
bool all_gfx_loaded_ = false
 
bool map_blockset_loaded_ = false
 
bool selected_tile_loaded_ = false
 
bool show_tile16_editor_ = false
 
bool overworld_canvas_fullscreen_ = false
 
bool middle_mouse_dragging_ = false
 
bool is_dragging_entity_ = false
 
std::vector< uint8_t > selected_tile_data_
 
std::array< gfx::Bitmap, zelda3::kNumTile16Individualtile16_individual_
 
std::vector< std::vector< uint8_t > > tile8_individual_data_
 
std::vector< gfx::Bitmaptile8_individual_
 
Romrom_
 
Tile16Editor tile16_editor_ {tile16_individual_}
 
GfxGroupEditor gfx_group_editor_
 
PaletteEditor palette_editor_
 
gfx::SnesPalette palette_
 
gfx::Bitmap selected_tile_bmp_
 
gfx::Bitmap tile16_blockset_bmp_
 
gfx::Bitmap current_gfx_bmp_
 
gfx::Bitmap all_gfx_bmp
 
std::array< gfx::Bitmap, zelda3::kNumOverworldMapsmaps_bmp_
 
gfx::BitmapTable current_graphics_set_
 
std::vector< gfx::Bitmapsprite_previews_
 
zelda3::Overworld overworld_ {rom_}
 
zelda3::OverworldBlockset refresh_blockset_
 
zelda3::Sprite current_sprite_
 
zelda3::OverworldEntrance current_entrance_
 
zelda3::OverworldExit current_exit_
 
zelda3::OverworldItem current_item_
 
zelda3::OverworldEntranceTileTypes entrance_tiletypes_ = {}
 
zelda3::GameEntitycurrent_entity_ = nullptr
 
zelda3::GameEntitydragged_entity_ = nullptr
 
gui::Canvas ow_map_canvas_
 
gui::Canvas current_gfx_canvas_
 
gui::Canvas blockset_canvas_
 
gui::Canvas graphics_bin_canvas_
 
gui::Canvas properties_canvas_
 
gui::Table toolset_table_ {"##ToolsetTable0", 22, kToolsetTableFlags}
 
gui::Table map_settings_table_
 
gui::zeml::Node layout_node_
 
absl::Status status_
 

Additional Inherited Members

- Protected Attributes inherited from yaze::editor::Editor
EditorType type_
 
EditorContext context_
 
- Static Protected Attributes inherited from yaze::gfx::GfxContext
static std::unordered_map< uint8_t, gfx::Palettesetpalettesets_
 

Detailed Description

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 75 of file overworld_editor.h.

Member Enumeration Documentation

◆ EditingMode

Enumerator
DRAW_TILE 
ENTRANCES 
EXITS 
ITEMS 
SPRITES 
TRANSPORTS 
MUSIC 
PAN 

Definition at line 164 of file overworld_editor.h.

◆ OverworldProperty

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 178 of file overworld_editor.h.

Constructor & Destructor Documentation

◆ OverworldEditor()

yaze::editor::OverworldEditor::OverworldEditor ( Rom & rom)
inline

Definition at line 77 of file overworld_editor.h.

References yaze::editor::kOverworld, rom_, and yaze::editor::Editor::type_.

Member Function Documentation

◆ Initialize()

void yaze::editor::OverworldEditor::Initialize ( )

Definition at line 1488 of file overworld_editor.cc.

References yaze::gui::zeml::Bind(), layout_node_, yaze::gui::zeml::LoadFile(), and yaze::gui::zeml::Parse().

Here is the call graph for this function:

◆ Update()

◆ Undo()

absl::Status yaze::editor::OverworldEditor::Undo ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 82 of file overworld_editor.h.

References Undo().

Referenced by DrawToolset(), and Undo().

Here is the call graph for this function:

◆ Redo()

absl::Status yaze::editor::OverworldEditor::Redo ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 83 of file overworld_editor.h.

Referenced by DrawToolset().

◆ Cut()

absl::Status yaze::editor::OverworldEditor::Cut ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 84 of file overworld_editor.h.

◆ Copy()

absl::Status yaze::editor::OverworldEditor::Copy ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 85 of file overworld_editor.h.

◆ Paste()

absl::Status yaze::editor::OverworldEditor::Paste ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 86 of file overworld_editor.h.

◆ Find()

absl::Status yaze::editor::OverworldEditor::Find ( )
inlineoverridevirtual

Implements yaze::editor::Editor.

Definition at line 87 of file overworld_editor.h.

◆ Save()

absl::Status yaze::editor::OverworldEditor::Save ( )

Definition at line 1001 of file overworld_editor.cc.

References yaze::core::FeatureFlags::get(), overworld_, and RETURN_IF_ERROR.

Here is the call graph for this function:

◆ jump_to_tab()

int yaze::editor::OverworldEditor::jump_to_tab ( )
inline

Definition at line 92 of file overworld_editor.h.

References jump_to_tab_.

◆ LoadGraphics()

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 1023 of file overworld_editor.cc.

References current_gfx_bmp_, yaze::core::FeatureFlags::get(), yaze::editor::Renderer::GetInstance(), yaze::zelda3::kNumOverworldMaps, yaze::zelda3::kNumTile16Individual, yaze::editor::kOverworldMapSize, yaze::editor::kTile16Size, LoadSpriteGraphics(), map_blockset_loaded_, maps_bmp_, overworld_, palette_, yaze::core::Renderer::RenderBitmap(), RETURN_IF_ERROR, rom_, tile16_blockset_bmp_, and tile16_individual_.

Here is the call graph for this function:

◆ DrawFullscreenCanvas()

void yaze::editor::OverworldEditor::DrawFullscreenCanvas ( )
private

Definition at line 81 of file overworld_editor.cc.

References DrawOverworldCanvas(), DrawToolset(), and overworld_canvas_fullscreen_.

Referenced by Update().

Here is the call graph for this function:

◆ DrawToolset()

◆ DrawOverworldMapSettings()

◆ DrawCustomOverworldMapSettings()

◆ RefreshChildMap()

void yaze::editor::OverworldEditor::RefreshChildMap ( int i)
private

Definition at line 1109 of file overworld_editor.cc.

References current_world_, maps_bmp_, overworld_, PRINT_IF_ERROR, and status_.

Referenced by RefreshOverworldMap().

◆ RefreshOverworldMap()

void yaze::editor::OverworldEditor::RefreshOverworldMap ( )
private

◆ RefreshMapPalette()

absl::Status yaze::editor::OverworldEditor::RefreshMapPalette ( )
private

◆ RefreshMapProperties()

void yaze::editor::OverworldEditor::RefreshMapProperties ( )
private

◆ RefreshTile16Blockset()

absl::Status yaze::editor::OverworldEditor::RefreshTile16Blockset ( )
private

◆ DrawOverworldEntrances()

◆ DrawOverworldExits()

◆ DrawOverworldItems()

◆ DrawOverworldSprites()

◆ DrawOverworldMaps()

void yaze::editor::OverworldEditor::DrawOverworldMaps ( )
private

◆ DrawOverworldEdits()

void yaze::editor::OverworldEditor::DrawOverworldEdits ( )
private

◆ RenderUpdatedMapBitmap()

void yaze::editor::OverworldEditor::RenderUpdatedMapBitmap ( const ImVec2 & click_position,
const std::vector< uint8_t > & tile_data )
private

◆ CheckForOverworldEdits()

void yaze::editor::OverworldEditor::CheckForOverworldEdits ( )
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 471 of file overworld_editor.cc.

References blockset_canvas_, CheckForSelectRectangle(), current_tile16_, current_world_, DrawOverworldEdits(), yaze::editor::kTile16Size, overworld_, ow_map_canvas_, RefreshOverworldMap(), and tile16_individual_.

Referenced by DrawOverworldCanvas().

Here is the call graph for this function:

◆ CheckForSelectRectangle()

void yaze::editor::OverworldEditor::CheckForSelectRectangle ( )
private

Draw and create the tile16 IDs that are currently selected.

Definition at line 533 of file overworld_editor.cc.

References current_map_, current_tile16_, overworld_, ow_map_canvas_, and tile16_individual_.

Referenced by CheckForOverworldEdits().

◆ CheckForCurrentMap()

absl::Status yaze::editor::OverworldEditor::CheckForCurrentMap ( )
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 560 of file overworld_editor.cc.

References current_map_, current_parent_, current_world_, yaze::editor::Renderer::GetInstance(), yaze::editor::kOverworldMapSize, maps_bmp_, overworld_, ow_map_canvas_, RefreshOverworldMap(), RefreshTile16Blockset(), RETURN_IF_ERROR, and yaze::core::Renderer::UpdateBitmap().

Referenced by DrawOverworldCanvas().

Here is the call graph for this function:

◆ CheckForMousePan()

void yaze::editor::OverworldEditor::CheckForMousePan ( )
private

Definition at line 609 of file overworld_editor.cc.

References current_mode, middle_mouse_dragging_, ow_map_canvas_, PAN, and previous_mode.

Referenced by DrawOverworldCanvas().

◆ DrawOverworldCanvas()

◆ DrawTile16Selector()

absl::Status yaze::editor::OverworldEditor::DrawTile16Selector ( )
private

◆ DrawTile8Selector()

void yaze::editor::OverworldEditor::DrawTile8Selector ( )
private

Definition at line 706 of file overworld_editor.cc.

References all_gfx_loaded_, yaze::GraphicsSheetManager::GetInstance(), and graphics_bin_canvas_.

Referenced by DrawTileSelector().

Here is the call graph for this function:

◆ DrawAreaGraphics()

absl::Status yaze::editor::OverworldEditor::DrawAreaGraphics ( )
private

◆ DrawTileSelector()

absl::Status yaze::editor::OverworldEditor::DrawTileSelector ( )
private

◆ LoadSpriteGraphics()

absl::Status yaze::editor::OverworldEditor::LoadSpriteGraphics ( )
private

Definition at line 1088 of file overworld_editor.cc.

References yaze::editor::Renderer::GetInstance(), overworld_, palette_, yaze::core::Renderer::RenderBitmap(), RETURN_IF_ERROR, and sprite_previews_.

Referenced by LoadGraphics().

Here is the call graph for this function:

◆ DrawOverworldProperties()

◆ UpdateUsageStats()

absl::Status yaze::editor::OverworldEditor::UpdateUsageStats ( )
private

◆ DrawUsageGrid()

void yaze::editor::OverworldEditor::DrawUsageGrid ( )
private

Definition at line 1410 of file overworld_editor.cc.

References selected_usage_map_.

Referenced by UpdateUsageStats().

◆ DrawDebugWindow()

void yaze::editor::OverworldEditor::DrawDebugWindow ( )
private

Definition at line 1458 of file overworld_editor.cc.

References current_map_, current_tile16_, overworld_, and ow_map_canvas_.

Member Data Documentation

◆ jump_to_tab_

int yaze::editor::OverworldEditor::jump_to_tab_ = -1

Definition at line 93 of file overworld_editor.h.

Referenced by DrawOverworldEntrances(), DrawOverworldExits(), and jump_to_tab().

◆ current_mode

◆ previous_mode

EditingMode yaze::editor::OverworldEditor::previous_mode = EditingMode::DRAW_TILE
private

Definition at line 176 of file overworld_editor.h.

Referenced by CheckForMousePan().

◆ current_world_

◆ current_map_

◆ current_parent_

int yaze::editor::OverworldEditor::current_parent_ = 0
private

Definition at line 195 of file overworld_editor.h.

Referenced by CheckForCurrentMap(), and RefreshOverworldMap().

◆ current_entrance_id_

int yaze::editor::OverworldEditor::current_entrance_id_ = 0
private

Definition at line 196 of file overworld_editor.h.

Referenced by DrawOverworldEntrances().

◆ current_exit_id_

int yaze::editor::OverworldEditor::current_exit_id_ = 0
private

Definition at line 197 of file overworld_editor.h.

Referenced by DrawOverworldExits().

◆ current_item_id_

int yaze::editor::OverworldEditor::current_item_id_ = 0
private

Definition at line 198 of file overworld_editor.h.

Referenced by DrawOverworldItems().

◆ current_sprite_id_

int yaze::editor::OverworldEditor::current_sprite_id_ = 0
private

Definition at line 199 of file overworld_editor.h.

Referenced by DrawOverworldSprites().

◆ current_blockset_

int yaze::editor::OverworldEditor::current_blockset_ = 0
private

Definition at line 200 of file overworld_editor.h.

Referenced by RefreshTile16Blockset().

◆ game_state_

int yaze::editor::OverworldEditor::game_state_ = 1
private

◆ current_tile16_

int yaze::editor::OverworldEditor::current_tile16_ = 0
private

◆ selected_entrance_

int yaze::editor::OverworldEditor::selected_entrance_ = 0
private

Definition at line 203 of file overworld_editor.h.

Referenced by UpdateUsageStats().

◆ selected_usage_map_

int yaze::editor::OverworldEditor::selected_usage_map_ = 0xFFFF
private

Definition at line 204 of file overworld_editor.h.

Referenced by DrawUsageGrid(), and UpdateUsageStats().

◆ all_gfx_loaded_

bool yaze::editor::OverworldEditor::all_gfx_loaded_ = false
private

Definition at line 206 of file overworld_editor.h.

Referenced by DrawOverworldCanvas(), DrawTile8Selector(), and Update().

◆ map_blockset_loaded_

bool yaze::editor::OverworldEditor::map_blockset_loaded_ = false
private

Definition at line 207 of file overworld_editor.h.

Referenced by DrawTile16Selector(), and LoadGraphics().

◆ selected_tile_loaded_

bool yaze::editor::OverworldEditor::selected_tile_loaded_ = false
private

Definition at line 208 of file overworld_editor.h.

◆ show_tile16_editor_

bool yaze::editor::OverworldEditor::show_tile16_editor_ = false
private

Definition at line 209 of file overworld_editor.h.

Referenced by DrawTile16Selector(), and DrawToolset().

◆ overworld_canvas_fullscreen_

bool yaze::editor::OverworldEditor::overworld_canvas_fullscreen_ = false
private

Definition at line 210 of file overworld_editor.h.

Referenced by DrawFullscreenCanvas(), DrawToolset(), and Update().

◆ middle_mouse_dragging_

bool yaze::editor::OverworldEditor::middle_mouse_dragging_ = false
private

Definition at line 211 of file overworld_editor.h.

Referenced by CheckForMousePan().

◆ is_dragging_entity_

bool yaze::editor::OverworldEditor::is_dragging_entity_ = false
private

◆ selected_tile_data_

std::vector<uint8_t> yaze::editor::OverworldEditor::selected_tile_data_
private

Definition at line 214 of file overworld_editor.h.

◆ tile16_individual_

std::array<gfx::Bitmap, zelda3::kNumTile16Individual> yaze::editor::OverworldEditor::tile16_individual_
private

◆ tile8_individual_data_

std::vector<std::vector<uint8_t> > yaze::editor::OverworldEditor::tile8_individual_data_
private

Definition at line 217 of file overworld_editor.h.

◆ tile8_individual_

std::vector<gfx::Bitmap> yaze::editor::OverworldEditor::tile8_individual_
private

Definition at line 218 of file overworld_editor.h.

◆ rom_

Rom& yaze::editor::OverworldEditor::rom_
private

Definition at line 220 of file overworld_editor.h.

Referenced by LoadGraphics(), OverworldEditor(), Update(), and UpdateUsageStats().

◆ tile16_editor_

Tile16Editor yaze::editor::OverworldEditor::tile16_editor_ {tile16_individual_}
private

Definition at line 222 of file overworld_editor.h.

Referenced by DrawTile16Selector(), DrawToolset(), and Update().

◆ gfx_group_editor_

GfxGroupEditor yaze::editor::OverworldEditor::gfx_group_editor_
private

Definition at line 223 of file overworld_editor.h.

Referenced by DrawOverworldProperties(), and DrawToolset().

◆ palette_editor_

PaletteEditor yaze::editor::OverworldEditor::palette_editor_
private

Definition at line 224 of file overworld_editor.h.

◆ palette_

gfx::SnesPalette yaze::editor::OverworldEditor::palette_
private

◆ selected_tile_bmp_

gfx::Bitmap yaze::editor::OverworldEditor::selected_tile_bmp_
private

Definition at line 228 of file overworld_editor.h.

◆ tile16_blockset_bmp_

gfx::Bitmap yaze::editor::OverworldEditor::tile16_blockset_bmp_
private

◆ current_gfx_bmp_

gfx::Bitmap yaze::editor::OverworldEditor::current_gfx_bmp_
private

Definition at line 230 of file overworld_editor.h.

Referenced by LoadGraphics(), and Update().

◆ all_gfx_bmp

gfx::Bitmap yaze::editor::OverworldEditor::all_gfx_bmp
private

Definition at line 231 of file overworld_editor.h.

◆ maps_bmp_

◆ current_graphics_set_

gfx::BitmapTable yaze::editor::OverworldEditor::current_graphics_set_
private

Definition at line 234 of file overworld_editor.h.

Referenced by DrawAreaGraphics().

◆ sprite_previews_

std::vector<gfx::Bitmap> yaze::editor::OverworldEditor::sprite_previews_
private

Definition at line 235 of file overworld_editor.h.

Referenced by DrawOverworldSprites(), and LoadSpriteGraphics().

◆ overworld_

◆ refresh_blockset_

zelda3::OverworldBlockset yaze::editor::OverworldEditor::refresh_blockset_
private

Definition at line 238 of file overworld_editor.h.

◆ current_sprite_

zelda3::Sprite yaze::editor::OverworldEditor::current_sprite_
private

Definition at line 240 of file overworld_editor.h.

Referenced by DrawOverworldSprites().

◆ current_entrance_

zelda3::OverworldEntrance yaze::editor::OverworldEditor::current_entrance_
private

Definition at line 242 of file overworld_editor.h.

Referenced by DrawOverworldEntrances().

◆ current_exit_

zelda3::OverworldExit yaze::editor::OverworldEditor::current_exit_
private

Definition at line 243 of file overworld_editor.h.

Referenced by DrawOverworldExits().

◆ current_item_

zelda3::OverworldItem yaze::editor::OverworldEditor::current_item_
private

Definition at line 244 of file overworld_editor.h.

Referenced by DrawOverworldItems().

◆ entrance_tiletypes_

zelda3::OverworldEntranceTileTypes yaze::editor::OverworldEditor::entrance_tiletypes_ = {}
private

Definition at line 245 of file overworld_editor.h.

Referenced by Update().

◆ current_entity_

zelda3::GameEntity* yaze::editor::OverworldEditor::current_entity_ = nullptr
private

◆ dragged_entity_

zelda3::GameEntity* yaze::editor::OverworldEditor::dragged_entity_ = nullptr
private

◆ ow_map_canvas_

◆ current_gfx_canvas_

gui::Canvas yaze::editor::OverworldEditor::current_gfx_canvas_
private
Initial value:
{"CurrentGfx", kCurrentGfxCanvasSize,
constexpr ImVec2 kCurrentGfxCanvasSize(0x100+1, 0x10 *0x40+1)

Definition at line 252 of file overworld_editor.h.

Referenced by DrawAreaGraphics().

◆ blockset_canvas_

gui::Canvas yaze::editor::OverworldEditor::blockset_canvas_
private
Initial value:
{"OwBlockset", kBlocksetCanvasSize,
constexpr ImVec2 kBlocksetCanvasSize(0x100+1, 0x4000+1)

Definition at line 254 of file overworld_editor.h.

Referenced by CheckForOverworldEdits(), and DrawTile16Selector().

◆ graphics_bin_canvas_

gui::Canvas yaze::editor::OverworldEditor::graphics_bin_canvas_
private
Initial value:
{"GraphicsBin", kGraphicsBinCanvasSize,
constexpr ImVec2 kGraphicsBinCanvasSize(0x100+1, kNumSheetsToLoad *0x40+1)

Definition at line 256 of file overworld_editor.h.

Referenced by DrawTile8Selector().

◆ properties_canvas_

gui::Canvas yaze::editor::OverworldEditor::properties_canvas_
private

Definition at line 258 of file overworld_editor.h.

Referenced by DrawOverworldProperties(), and UpdateUsageStats().

◆ toolset_table_

gui::Table yaze::editor::OverworldEditor::toolset_table_ {"##ToolsetTable0", 22, kToolsetTableFlags}
private

Definition at line 260 of file overworld_editor.h.

Referenced by DrawToolset().

◆ map_settings_table_

gui::Table yaze::editor::OverworldEditor::map_settings_table_
private
Initial value:
ImVec2(0, 0)}
constexpr absl::string_view kOWMapTable
constexpr ImGuiTableFlags kOWMapFlags

Definition at line 261 of file overworld_editor.h.

◆ layout_node_

gui::zeml::Node yaze::editor::OverworldEditor::layout_node_
private

Definition at line 264 of file overworld_editor.h.

Referenced by Initialize(), and Update().

◆ status_

absl::Status yaze::editor::OverworldEditor::status_
private

The documentation for this class was generated from the following files: