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

#include <overworld_sidebar.h>

Collaboration diagram for yaze::editor::OverworldSidebar:

Public Member Functions

 OverworldSidebar (zelda3::Overworld *overworld, Rom *rom, MapPropertiesSystem *map_properties_system)
 
void Draw (int &current_world, int &current_map, bool &current_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 &current_world, int &current_map, bool &current_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::Overworldoverworld_
 
Romrom_
 
MapPropertiesSystemmap_properties_system_
 

Detailed Description

Definition at line 11 of file overworld_sidebar.h.

Constructor & Destructor Documentation

◆ OverworldSidebar()

yaze::editor::OverworldSidebar::OverworldSidebar ( zelda3::Overworld * overworld,
Rom * rom,
MapPropertiesSystem * map_properties_system )
explicit

Definition at line 17 of file overworld_sidebar.cc.

Member Function Documentation

◆ Draw()

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 )

◆ DrawBasicPropertiesTab()

void yaze::editor::OverworldSidebar::DrawBasicPropertiesTab ( int current_map,
int & game_state,
bool & show_custom_bg_color_editor,
bool & show_overlay_editor )
private

Definition at line 63 of file overworld_sidebar.cc.

References DrawConfiguration(), and DrawPaletteSettings().

Referenced by Draw().

Here is the call graph for this function:

◆ DrawSpritePropertiesTab()

◆ DrawGraphicsTab()

void yaze::editor::OverworldSidebar::DrawGraphicsTab ( int current_map,
int game_state )
private

Definition at line 74 of file overworld_sidebar.cc.

References DrawGraphicsSettings().

Referenced by Draw().

Here is the call graph for this function:

◆ DrawMusicTab()

void yaze::editor::OverworldSidebar::DrawMusicTab ( int current_map)
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().

Here is the call graph for this function:

◆ DrawMapSelection()

void yaze::editor::OverworldSidebar::DrawMapSelection ( int & current_world,
int & current_map,
bool & current_map_lock )
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().

◆ DrawGraphicsSettings()

◆ DrawPaletteSettings()

◆ DrawConfiguration()

Member Data Documentation

◆ overworld_

zelda3::Overworld* yaze::editor::OverworldSidebar::overworld_
private

◆ rom_

Rom* yaze::editor::OverworldSidebar::rom_
private

◆ map_properties_system_

MapPropertiesSystem* yaze::editor::OverworldSidebar::map_properties_system_
private

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