#include <overworld_sidebar.h>

Public Member Functions | |
| OverworldSidebar (zelda3::Overworld *overworld, Rom *rom, MapPropertiesSystem *map_properties_system) | |
| void | Draw (int ¤t_world, int ¤t_map, bool ¤t_map_lock, int &game_state, bool &show_custom_bg_color_editor, bool &show_overlay_editor) |
Private Member Functions | |
| void | DrawBasicPropertiesTab (int current_map, int &game_state, bool &show_custom_bg_color_editor, bool &show_overlay_editor) |
| void | DrawSpritePropertiesTab (int current_map, int game_state) |
| void | DrawGraphicsTab (int current_map, int game_state) |
| void | DrawMusicTab (int current_map) |
| void | DrawMapSelection (int ¤t_world, int ¤t_map, bool ¤t_map_lock) |
| void | DrawGraphicsSettings (int current_map, int game_state) |
| void | DrawPaletteSettings (int current_map, int game_state, bool &show_custom_bg_color_editor) |
| void | DrawConfiguration (int current_map, int &game_state, bool &show_overlay_editor) |
Private Attributes | |
| zelda3::Overworld * | overworld_ |
| Rom * | rom_ |
| MapPropertiesSystem * | map_properties_system_ |
Definition at line 11 of file overworld_sidebar.h.
|
explicit |
Definition at line 17 of file overworld_sidebar.cc.
| void yaze::editor::OverworldSidebar::Draw | ( | int & | current_world, |
| int & | current_map, | ||
| bool & | current_map_lock, | ||
| int & | game_state, | ||
| bool & | show_custom_bg_color_editor, | ||
| bool & | show_overlay_editor ) |
Definition at line 23 of file overworld_sidebar.cc.
References DrawBasicPropertiesTab(), DrawGraphicsTab(), DrawMapSelection(), DrawMusicTab(), DrawSpritePropertiesTab(), yaze::zelda3::Overworld::is_loaded(), and overworld_.
|
private |
Definition at line 63 of file overworld_sidebar.cc.
References DrawConfiguration(), and DrawPaletteSettings().
Referenced by Draw().

|
private |
Definition at line 79 of file overworld_sidebar.cc.
References yaze::editor::MapPropertiesSystem::ForceRefreshGraphics(), ICON_MD_PEST_CONTROL_RODENT, yaze::gui::InputHexByte(), yaze::editor::kHexByteInputWidth, map_properties_system_, yaze::zelda3::Overworld::mutable_overworld_map(), overworld_, yaze::editor::MapPropertiesSystem::RefreshMapProperties(), and yaze::editor::MapPropertiesSystem::RefreshOverworldMap().
Referenced by Draw().
|
private |
Definition at line 74 of file overworld_sidebar.cc.
References DrawGraphicsSettings().
Referenced by Draw().

|
private |
Definition at line 108 of file overworld_sidebar.cc.
References ICON_MD_MUSIC_NOTE, yaze::gui::InputHexByte(), yaze::editor::kHexByteInputWidth, yaze::zelda3::Overworld::mutable_overworld_map(), and overworld_.
Referenced by Draw().

|
private |
Definition at line 142 of file overworld_sidebar.cc.
References ICON_MD_LOCK, ICON_MD_LOCK_OPEN, ICON_MD_MAP, and yaze::editor::kWorldNames.
Referenced by Draw().
|
private |
Definition at line 162 of file overworld_sidebar.cc.
References yaze::editor::MapPropertiesSystem::ForceRefreshGraphics(), yaze::zelda3::OverworldVersionHelper::GetVersion(), ICON_MD_IMAGE, yaze::gui::InputHexByte(), yaze::editor::kHexByteInputWidth, map_properties_system_, yaze::zelda3::Overworld::mutable_overworld_map(), overworld_, yaze::editor::MapPropertiesSystem::RefreshMapProperties(), yaze::editor::MapPropertiesSystem::RefreshOverworldMap(), yaze::editor::MapPropertiesSystem::RefreshSiblingMapGraphics(), yaze::editor::MapPropertiesSystem::RefreshTile16Blockset(), rom_, yaze::zelda3::OverworldVersionHelper::SupportsAnimatedGFX(), and yaze::zelda3::OverworldVersionHelper::SupportsExpandedSpace().
Referenced by DrawGraphicsTab().
|
private |
Definition at line 228 of file overworld_sidebar.cc.
References yaze::zelda3::OverworldVersionHelper::GetVersion(), ICON_MD_FORMAT_COLOR_FILL, ICON_MD_PALETTE, yaze::gui::InputHexByte(), yaze::editor::kHexByteInputWidth, map_properties_system_, yaze::zelda3::Overworld::mutable_overworld_map(), overworld_, yaze::editor::MapPropertiesSystem::RefreshMapPalette(), yaze::editor::MapPropertiesSystem::RefreshMapProperties(), yaze::editor::MapPropertiesSystem::RefreshOverworldMap(), rom_, and yaze::zelda3::OverworldVersionHelper::SupportsCustomBGColors().
Referenced by DrawBasicPropertiesTab().
|
private |
Definition at line 272 of file overworld_sidebar.cc.
References yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::zelda3::OverworldVersionHelper::GetVersion(), ICON_MD_GAMEPAD, ICON_MD_GRID_ON, ICON_MD_LAYERS, ICON_MD_MESSAGE, ICON_MD_PHOTO_SIZE_SELECT_LARGE, yaze::gui::InputHexWordCustom(), yaze::editor::kAreaSizeNames, yaze::editor::kGameStateNames, yaze::editor::kHexWordInputWidth, yaze::zelda3::kVanilla, yaze::zelda3::LargeArea, map_properties_system_, yaze::zelda3::Overworld::mutable_overworld_map(), overworld_, yaze::zelda3::Overworld::overworld_map(), yaze::editor::MapPropertiesSystem::RefreshMapProperties(), yaze::editor::MapPropertiesSystem::RefreshOverworldMap(), yaze::editor::MapPropertiesSystem::RefreshSiblingMapGraphics(), rom_, yaze::zelda3::SmallArea, yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum(), and yaze::zelda3::OverworldVersionHelper::SupportsCustomBGColors().
Referenced by DrawBasicPropertiesTab().
|
private |
Definition at line 37 of file overworld_sidebar.h.
Referenced by Draw(), DrawConfiguration(), DrawGraphicsSettings(), DrawMusicTab(), DrawPaletteSettings(), and DrawSpritePropertiesTab().
|
private |
Definition at line 38 of file overworld_sidebar.h.
Referenced by DrawConfiguration(), DrawGraphicsSettings(), and DrawPaletteSettings().
|
private |
Definition at line 39 of file overworld_sidebar.h.
Referenced by DrawConfiguration(), DrawGraphicsSettings(), DrawPaletteSettings(), and DrawSpritePropertiesTab().