#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 22 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 28 of file overworld_sidebar.cc.
References DrawBasicPropertiesTab(), DrawGraphicsTab(), DrawMapSelection(), DrawMusicTab(), DrawSpritePropertiesTab(), yaze::zelda3::Overworld::is_loaded(), overworld_, and yaze::zelda3::Overworld::overworld_map().
|
private |
Definition at line 82 of file overworld_sidebar.cc.
References DrawConfiguration(), and DrawPaletteSettings().
Referenced by Draw().

|
private |
Definition at line 98 of file overworld_sidebar.cc.
References yaze::editor::MapPropertiesSystem::ApplyPropertyEdit(), ICON_MD_PEST_CONTROL_RODENT, yaze::gui::InputHexByte(), yaze::editor::kHexByteInputWidth, yaze::editor::kSpriteGraphics, yaze::editor::kSpritePalette, map_properties_system_, overworld_, and yaze::zelda3::Overworld::overworld_map().
Referenced by Draw().

|
private |
Definition at line 93 of file overworld_sidebar.cc.
References DrawGraphicsSettings().
Referenced by Draw().

|
private |
Definition at line 127 of file overworld_sidebar.cc.
References yaze::editor::MapPropertiesSystem::ApplyPropertyEdit(), ICON_MD_MUSIC_NOTE, yaze::gui::InputHexByte(), yaze::editor::kHexByteInputWidth, yaze::editor::kMusic, map_properties_system_, overworld_, and yaze::zelda3::Overworld::overworld_map().
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 161 of file overworld_sidebar.cc.
References yaze::editor::MapPropertiesSystem::ApplyPropertyEdit(), yaze::zelda3::OverworldVersionHelper::GetVersion(), ICON_MD_IMAGE, yaze::gui::InputHexByte(), yaze::editor::kAnimatedGraphics, yaze::editor::kAreaGraphics, yaze::editor::kCustomTileset, yaze::editor::kHexByteInputWidth, yaze::editor::kSpriteGraphics, map_properties_system_, overworld_, yaze::zelda3::Overworld::overworld_map(), rom_, yaze::zelda3::OverworldVersionHelper::SupportsAnimatedGFX(), and yaze::zelda3::OverworldVersionHelper::SupportsExpandedSpace().
Referenced by DrawGraphicsTab().
|
private |
Definition at line 220 of file overworld_sidebar.cc.
References yaze::editor::MapPropertiesSystem::ApplyPropertyEdit(), yaze::zelda3::OverworldVersionHelper::GetVersion(), ICON_MD_FORMAT_COLOR_FILL, ICON_MD_PALETTE, yaze::gui::InputHexByte(), yaze::editor::kAreaPalette, yaze::editor::kHexByteInputWidth, yaze::editor::kMainPalette, yaze::editor::kSpritePalette, map_properties_system_, overworld_, yaze::zelda3::Overworld::overworld_map(), rom_, and yaze::zelda3::OverworldVersionHelper::SupportsCustomBGColors().
Referenced by DrawBasicPropertiesTab().
|
private |
Definition at line 259 of file overworld_sidebar.cc.
References yaze::editor::MapPropertiesSystem::ApplyPropertyEdit(), 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::kAreaSize, yaze::editor::kAreaSizeNames, yaze::editor::kGameStateNames, yaze::editor::kHexWordInputWidth, yaze::editor::kMessageId, yaze::editor::kMosaic, yaze::editor::kMosaicExpanded, 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(), 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(), DrawMusicTab(), DrawPaletteSettings(), and DrawSpritePropertiesTab().