yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
session_types.h
Go to the documentation of this file.
1#ifndef YAZE_APP_EDITOR_SESSION_TYPES_H_
2#define YAZE_APP_EDITOR_SESSION_TYPES_H_
3
4#include "core/features.h"
16#include "app/rom.h"
17
18#include <string>
19#include <vector>
20
21namespace yaze::editor {
22
23class EditorDependencies;
24
57
62struct RomSession {
65 std::string custom_name; // User-defined session name
66 std::string filepath; // ROM filepath for duplicate detection
67 core::FeatureFlags::Flags feature_flags; // Per-session feature flags
68
69 RomSession() = default;
70 explicit RomSession(Rom&& r, UserSettings* user_settings = nullptr,
71 size_t session_id = 0);
72
73 // Get display name (custom name or ROM title)
74 std::string GetDisplayName() const;
75};
76
77} // namespace yaze::editor
78
79#endif // YAZE_APP_EDITOR_SESSION_TYPES_H_
The Rom class is used to load, save, and modify Rom data.
Definition rom.h:74
Text editor for modifying assembly code.
DungeonEditorV2 - Simplified dungeon editor using component delegation.
Contains a complete set of editors for a single ROM instance.
SettingsEditor settings_editor_
ScreenEditor screen_editor_
DungeonEditorV2 dungeon_editor_
size_t session_id() const
MemoryEditorWithDiffChecker memory_editor_
void ApplyDependencies(const EditorDependencies &dependencies)
GraphicsEditor graphics_editor_
void set_user_settings(UserSettings *settings)
AssemblyEditor assembly_editor_
SpriteEditor sprite_editor_
OverworldEditor overworld_editor_
MessageEditor message_editor_
std::vector< Editor * > active_editors_
PaletteEditor palette_editor_
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.
Manages user preferences and settings persistence.
Editors are the view controllers for the application.
Unified dependency container for all editor types.
Definition editor.h:64
Represents a single session, containing a ROM and its associated editors.
core::FeatureFlags::Flags feature_flags
std::string GetDisplayName() const