1#ifndef YAZE_APP_EDITOR_SESSION_TYPES_H_
2#define YAZE_APP_EDITOR_SESSION_TYPES_H_
9#include <unordered_map>
28class EditorDependencies;
83 [[deprecated(
"Use GetEditorAs<AssemblyEditor>(EditorType::kAssembly)")]]
85 [[deprecated(
"Use GetEditorAs<DungeonEditorV2>(EditorType::kDungeon)")]]
87 [[deprecated(
"Use GetEditorAs<GraphicsEditor>(EditorType::kGraphics)")]]
89 [[deprecated(
"Use GetEditorAs<MusicEditor>(EditorType::kMusic)")]]
91 [[deprecated(
"Use GetEditorAs<OverworldEditor>(EditorType::kOverworld)")]]
93 [[deprecated(
"Use GetEditorAs<PaletteEditor>(EditorType::kPalette)")]]
95 [[deprecated(
"Use GetEditorAs<ScreenEditor>(EditorType::kScreen)")]]
97 [[deprecated(
"Use GetEditorAs<SpriteEditor>(EditorType::kSprite)")]]
99 [[deprecated(
"Use GetEditorAs<SettingsPanel>(EditorType::kSettings)")]]
101 [[deprecated(
"Use GetEditorAs<MessageEditor>(EditorType::kMessage)")]]
103 [[deprecated(
"Use GetEditorAs<MemoryEditor>(EditorType::kHex)")]]
112 std::unordered_map<EditorType, std::unique_ptr<Editor>>
editors_;
133 size_t session_id = 0,
The Rom class is used to load, save, and modify Rom data. This is a generic SNES ROM container and do...
Modern C++ wrapper for Asar 65816 assembler integration.
Text editor for modifying assembly code.
DungeonEditorV2 - Simplified dungeon editor using component delegation.
Manages editor types, categories, and lifecycle.
Contains a complete set of editors for a single ROM instance.
MemoryEditor * GetMemoryEditor() const
T * GetEditorAs(EditorType type) const
std::unordered_map< EditorType, std::unique_ptr< Editor > > editors_
DungeonEditorV2 * GetDungeonEditor() const
void OpenAssemblyFolder(const std::string &folder_path) const
MusicEditor * GetMusicEditor() const
ScreenEditor * GetScreenEditor() const
core::AsarWrapper * GetAsarWrapper() const
void ChangeActiveAssemblyFile(std::string_view path) const
size_t session_id() const
void ApplyDependencies(const EditorDependencies &dependencies)
EditorSet(Rom *rom=nullptr, zelda3::GameData *game_data=nullptr, UserSettings *user_settings=nullptr, size_t session_id=0, EditorRegistry *editor_registry=nullptr)
SpriteEditor * GetSpriteEditor() const
Editor * GetEditor(EditorType type) const
GraphicsEditor * GetGraphicsEditor() const
int LoadedDungeonRoomCount() const
PaletteEditor * GetPaletteEditor() const
void set_user_settings(UserSettings *settings)
zelda3::Overworld * GetOverworldData() const
MessageEditor * GetMessageEditor() const
int TotalDungeonRoomCount() const
SettingsPanel * GetSettingsPanel() const
std::vector< Editor * > active_editors_
zelda3::GameData * game_data_
OverworldEditor * GetOverworldEditor() const
AssemblyEditor * GetAssemblyEditor() const
std::vector< std::pair< uint32_t, uint32_t > > CollectDungeonWriteRanges() const
Interface for editor classes.
Allows the user to edit graphics sheets from the game or view prototype graphics.
A class for editing music data in a Rom.
Main UI class for editing overworld maps in A Link to the Past.
Allows the user to view and edit in game palettes.
The ScreenEditor class allows the user to edit a variety of screens in the game or create a custom me...
Manages the settings UI displayed in the right sidebar.
Allows the user to edit sprites.
Manages user preferences and settings persistence.
Represents the full Overworld data, light and dark world.
Editors are the view controllers for the application.
Zelda 3 specific classes and functions.
Unified dependency container for all editor types.
Represents a single session, containing a ROM and its associated editors.
core::FeatureFlags::Flags feature_flags
std::array< bool, kEditorTypeCount > editor_initialized
zelda3::GameData game_data
std::array< bool, kEditorTypeCount > editor_assets_loaded
std::string GetDisplayName() const