1#ifndef YAZE_APP_EDITOR_EDITOR_MANAGER_H
2#define YAZE_APP_EDITOR_EDITOR_MANAGER_H
4#define IMGUI_DEFINE_MATH_OPERATORS
9#include "absl/status/status.h"
26#include "yaze_config.h"
85 ss << YAZE_VERSION_MAJOR <<
"." << YAZE_VERSION_MINOR <<
"."
86 << YAZE_VERSION_PATCH;
91 void Initialize(
const std::string& filename =
"");
The Rom class is used to load, save, and modify Rom data.
Text editor for modifying assembly code.
DungeonEditor class for editing dungeons.
std::deque< RomSession > sessions_
bool show_resource_label_manager
void SaveWorkspacePreset(const std::string &name)
bool show_command_palette_
bool show_save_workspace_preset_
bool show_palette_editor_
absl::Status OpenProject()
bool show_load_workspace_preset_
EditorSet * current_editor_set_
void LoadWorkspacePreset(const std::string &name)
auto GetCurrentRom() -> Rom *
bool show_workspace_layout
EditorSet blank_editor_set_
ToastManager toast_manager_
float autosave_interval_secs_
void RefreshWorkspacePresets()
std::string status_message_
absl::Status SaveProject()
auto GetCurrentEditorSet() -> EditorSet *
std::string last_workspace_preset_
std::vector< std::string > workspace_presets_
void Initialize(const std::string &filename="")
auto emulator() -> emu::Emulator &
absl::Status DrawRomSelector()
absl::Status LoadAssets()
absl::Status OpenRomOrProject(const std::string &filename)
std::string settings_filename_
std::unique_ptr< PopupManager > popup_manager_
absl::Status SetCurrentRom(Rom *rom)
Contains a complete set of editors for a single ROM instance.
DungeonEditor dungeon_editor_
SettingsEditor settings_editor_
MusicEditor music_editor_
ScreenEditor screen_editor_
EditorSet(Rom *rom=nullptr)
MemoryEditorWithDiffChecker memory_editor_
GraphicsEditor graphics_editor_
AssemblyEditor assembly_editor_
SpriteEditor sprite_editor_
OverworldEditor overworld_editor_
MessageEditor message_editor_
std::vector< Editor * > active_editors_
PaletteEditor palette_editor_
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.
Manipulates the Overworld and OverworldMap data in a Rom.
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...
Allows the user to edit sprites.
A class for emulating and debugging SNES games.
Main namespace for the application.
Represents a project in the application.