yaze
0.3.2
Link to the Past ROM Editor
Loading...
Searching...
No Matches
overworld_sidebar.h
Go to the documentation of this file.
1
#ifndef YAZE_APP_EDITOR_OVERWORLD_SIDEBAR_H
2
#define YAZE_APP_EDITOR_OVERWORLD_SIDEBAR_H
3
4
#include "
app/editor/overworld/map_properties.h
"
5
#include "
rom/rom.h
"
6
#include "
zelda3/overworld/overworld.h
"
7
8
namespace
yaze
{
9
namespace
editor {
10
11
class
OverworldSidebar
{
12
public
:
13
explicit
OverworldSidebar
(
zelda3::Overworld
* overworld,
Rom
* rom,
14
MapPropertiesSystem
* map_properties_system);
15
16
void
Draw
(
int
& current_world,
int
& current_map,
bool
& current_map_lock,
17
int
& game_state,
bool
& show_custom_bg_color_editor,
18
bool
& show_overlay_editor);
19
20
private
:
21
void
DrawBasicPropertiesTab
(
int
current_map,
int
& game_state,
22
bool
& show_custom_bg_color_editor,
23
bool
& show_overlay_editor);
24
void
DrawSpritePropertiesTab
(
int
current_map,
int
game_state);
25
void
DrawGraphicsTab
(
int
current_map,
int
game_state);
26
void
DrawMusicTab
(
int
current_map);
27
28
// Legacy helpers (kept for internal use if needed, or refactored)
29
void
DrawMapSelection
(
int
& current_world,
int
& current_map,
30
bool
& current_map_lock);
31
void
DrawGraphicsSettings
(
int
current_map,
int
game_state);
32
void
DrawPaletteSettings
(
int
current_map,
int
game_state,
33
bool
& show_custom_bg_color_editor);
34
void
DrawConfiguration
(
int
current_map,
int
& game_state,
35
bool
& show_overlay_editor);
36
37
zelda3::Overworld
*
overworld_
;
38
Rom
*
rom_
;
39
MapPropertiesSystem
*
map_properties_system_
;
40
};
41
42
}
// namespace editor
43
}
// namespace yaze
44
45
#endif
// YAZE_APP_EDITOR_OVERWORLD_SIDEBAR_H
yaze::Rom
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Definition
rom.h:24
yaze::editor::MapPropertiesSystem
Definition
map_properties.h:21
yaze::editor::OverworldSidebar
Definition
overworld_sidebar.h:11
yaze::editor::OverworldSidebar::rom_
Rom * rom_
Definition
overworld_sidebar.h:38
yaze::editor::OverworldSidebar::DrawSpritePropertiesTab
void DrawSpritePropertiesTab(int current_map, int game_state)
Definition
overworld_sidebar.cc:79
yaze::editor::OverworldSidebar::Draw
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)
Definition
overworld_sidebar.cc:23
yaze::editor::OverworldSidebar::DrawGraphicsTab
void DrawGraphicsTab(int current_map, int game_state)
Definition
overworld_sidebar.cc:74
yaze::editor::OverworldSidebar::DrawConfiguration
void DrawConfiguration(int current_map, int &game_state, bool &show_overlay_editor)
Definition
overworld_sidebar.cc:272
yaze::editor::OverworldSidebar::map_properties_system_
MapPropertiesSystem * map_properties_system_
Definition
overworld_sidebar.h:39
yaze::editor::OverworldSidebar::DrawBasicPropertiesTab
void DrawBasicPropertiesTab(int current_map, int &game_state, bool &show_custom_bg_color_editor, bool &show_overlay_editor)
Definition
overworld_sidebar.cc:63
yaze::editor::OverworldSidebar::DrawMusicTab
void DrawMusicTab(int current_map)
Definition
overworld_sidebar.cc:108
yaze::editor::OverworldSidebar::DrawPaletteSettings
void DrawPaletteSettings(int current_map, int game_state, bool &show_custom_bg_color_editor)
Definition
overworld_sidebar.cc:228
yaze::editor::OverworldSidebar::overworld_
zelda3::Overworld * overworld_
Definition
overworld_sidebar.h:37
yaze::editor::OverworldSidebar::OverworldSidebar
OverworldSidebar(zelda3::Overworld *overworld, Rom *rom, MapPropertiesSystem *map_properties_system)
Definition
overworld_sidebar.cc:17
yaze::editor::OverworldSidebar::DrawMapSelection
void DrawMapSelection(int ¤t_world, int ¤t_map, bool ¤t_map_lock)
Definition
overworld_sidebar.cc:142
yaze::editor::OverworldSidebar::DrawGraphicsSettings
void DrawGraphicsSettings(int current_map, int game_state)
Definition
overworld_sidebar.cc:162
yaze::zelda3::Overworld
Represents the full Overworld data, light and dark world.
Definition
overworld.h:217
map_properties.h
yaze
Definition
application.cc:18
overworld.h
rom.h
src
app
editor
overworld
overworld_sidebar.h
Generated by
1.10.0