Namespaces | |
| namespace | anonymous_namespace{asm_patch.cc} |
| namespace | anonymous_namespace{hack_manifest.cc} |
| namespace | anonymous_namespace{oracle_menu_registry.cc} |
| namespace | anonymous_namespace{story_event_graph.cc} |
| namespace | anonymous_namespace{story_event_graph_query.cc} |
| namespace | anonymous_namespace{widget_state_capture.cc} |
| namespace | RomAddressKey |
Classes | |
| struct | AsarPatchResult |
| Asar patch result information. More... | |
| struct | AsarSymbol |
| Symbol information extracted from Asar assembly. More... | |
| class | AsarWrapper |
| Modern C++ wrapper for Asar 65816 assembler integration. More... | |
| class | AsmPatch |
| Represents a ZScream-compatible ASM patch file. More... | |
| struct | BuildPipeline |
| Build pipeline information. More... | |
| struct | DungeonConnection |
| A connection between two rooms (stair, holewarp, or door). More... | |
| struct | DungeonEntry |
| A complete dungeon entry with rooms and connections. More... | |
| struct | DungeonRoom |
| A room within a dungeon, with spatial and metadata info. More... | |
| struct | FeatureFlag |
| A compile-time feature flag. More... | |
| class | FeatureFlags |
| A class to manage experimental feature flags. More... | |
| class | HackManifest |
| Loads and queries the hack manifest JSON for yaze-ASM integration. More... | |
| struct | MessageLayout |
| Message range information for the expanded message system. More... | |
| struct | OracleMenuBinEntry |
| struct | OracleMenuComponent |
| struct | OracleMenuComponentEditResult |
| struct | OracleMenuDrawRoutine |
| struct | OracleMenuRegistry |
| struct | OracleMenuValidationIssue |
| struct | OracleMenuValidationReport |
| struct | OracleProgressionState |
| Oracle of Secrets game progression state parsed from SRAM. More... | |
| struct | OverworldArea |
| An overworld area from the overworld registry. More... | |
| struct | OwnedBank |
| An expanded bank with ownership classification. More... | |
| class | PatchManager |
| Manages a collection of ZScream-compatible ASM patches. More... | |
| struct | PatchParameter |
| Represents a configurable parameter within an ASM patch. More... | |
| struct | ProjectRegistry |
| Project-level registry data loaded from the Oracle planning outputs. More... | |
| struct | ProtectedRegion |
| A contiguous protected ROM region owned by the ASM hack. More... | |
| struct | RomAddressOverrides |
| class | RomSettings |
| struct | RoomTagEntry |
| A room tag entry from the dispatch table. More... | |
| struct | SnapshotResult |
| struct | SramVariable |
| A custom SRAM variable definition. More... | |
| struct | StoryEdge |
| A directed edge in the story event graph. More... | |
| class | StoryEventGraph |
| The complete Oracle narrative progression graph. More... | |
| struct | StoryEventNode |
| A node in the Oracle story event graph. More... | |
| struct | StoryEventNodeFilter |
| Filter options for StoryEventGraph node search in UI. More... | |
| struct | StoryFlag |
| A flag set or cleared by a story event. More... | |
| struct | StoryLocation |
| A location associated with a story event. More... | |
| struct | StoryPredicate |
| A predicate for determining event completion from SRAM state. More... | |
| class | VersionManager |
| Manages project versioning (Git) and ROM artifact snapshots. More... | |
| struct | WidgetState |
| struct | Window |
| struct | WriteConflict |
| A conflict detected when yaze wants to write to an ASM-owned address. More... | |
Typedefs | |
| using | json = nlohmann::json |
Enumerations | |
| enum class | AddressOwnership : uint8_t { kVanillaSafe , kHookPatched , kAsmOwned , kShared , kAsmExpansion , kRam , kMirror } |
| Ownership classification for ROM addresses and banks. More... | |
| enum class | OracleMenuValidationSeverity { kError , kWarning } |
| enum class | PatchParameterType { kByte , kWord , kLong , kBool , kChoice , kBitfield , kItem } |
| Parameter types supported by ZScream-compatible ASM patches. More... | |
| enum class | StoryNodeStatus : uint8_t { kLocked , kAvailable , kCompleted , kBlocked } |
| Completion status of a story event node for rendering. More... | |
Functions | |
| std::string | CaptureWidgetState () |
| std::string | SerializeWidgetStateToJson (const WidgetState &state) |
| absl::Status | CreateWindow (Window &window, gfx::IRenderer *renderer, int flags) |
| absl::Status | ShutdownWindow (Window &window) |
| absl::Status | HandleEvents (Window &window) |
| std::string | AddressOwnershipToString (AddressOwnership ownership) |
| absl::StatusOr< std::filesystem::path > | ResolveOracleProjectRoot (const std::filesystem::path &start_path) |
| absl::StatusOr< OracleMenuRegistry > | BuildOracleMenuRegistry (const std::filesystem::path &project_root) |
| OracleMenuValidationReport | ValidateOracleMenuRegistry (const OracleMenuRegistry ®istry, int max_row, int max_col) |
| absl::StatusOr< OracleMenuComponentEditResult > | SetOracleMenuComponentOffset (const std::filesystem::path &project_root, const std::string &asm_relative_path, const std::string &table_label, int index, int row, int col, bool write_changes) |
| absl::StatusOr< OracleProgressionState > | LoadOracleProgressionFromSrmFile (const std::string &srm_path) |
| bool | StoryNodeStatusAllowed (StoryNodeStatus status, const StoryEventNodeFilter &filter) |
| std::string | BuildStoryEventNodeSearchText (const StoryEventNode &node) |
| bool | StoryEventNodeMatchesQuery (const StoryEventNode &node, std::string_view query) |
| bool | StoryEventNodeMatchesFilter (const StoryEventNode &node, const StoryEventNodeFilter &filter) |
Variables | |
| bool | g_window_is_resizing = false |
| using yaze::core::json = nlohmann::json |
Definition at line 18 of file story_event_graph.cc.
|
strong |
Ownership classification for ROM addresses and banks.
The hack manifest distinguishes between addresses that:
| Enumerator | |
|---|---|
| kVanillaSafe | |
| kHookPatched | |
| kAsmOwned | |
| kShared | |
| kAsmExpansion | |
| kRam | |
| kMirror | |
Definition at line 26 of file hack_manifest.h.
|
strong |
| Enumerator | |
|---|---|
| kError | |
| kWarning | |
Definition at line 49 of file oracle_menu_registry.h.
|
strong |
Parameter types supported by ZScream-compatible ASM patches.
These correspond to the ;#type= metadata in patch files.
| Enumerator | |
|---|---|
| kByte | |
| kWord | |
| kLong | |
| kBool | |
| kChoice | |
| kBitfield | |
| kItem | |
Definition at line 16 of file asm_patch.h.
|
strong |
Completion status of a story event node for rendering.
| Enumerator | |
|---|---|
| kLocked | |
| kAvailable | |
| kCompleted | |
| kBlocked | |
Definition at line 67 of file story_event_graph.h.
| std::string yaze::core::CaptureWidgetState | ( | ) |
Definition at line 91 of file widget_state_capture.cc.
References yaze::core::WidgetState::alt_pressed, yaze::core::WidgetState::ctrl_pressed, yaze::core::WidgetState::focused_widget, yaze::core::WidgetState::focused_window, yaze::core::WidgetState::frame_count, yaze::core::WidgetState::frame_rate, yaze::core::WidgetState::hovered_widget, yaze::core::WidgetState::mouse_down, yaze::core::WidgetState::mouse_pos_x, yaze::core::WidgetState::mouse_pos_y, yaze::core::WidgetState::nav_active, yaze::core::WidgetState::nav_id, yaze::core::WidgetState::open_popups, SerializeWidgetStateToJson(), yaze::core::WidgetState::shift_pressed, and yaze::core::WidgetState::visible_windows.

| std::string yaze::core::SerializeWidgetStateToJson | ( | const WidgetState & | state | ) |
Definition at line 167 of file widget_state_capture.cc.
References yaze::core::WidgetState::alt_pressed, yaze::core::WidgetState::ctrl_pressed, yaze::core::WidgetState::focused_widget, yaze::core::WidgetState::focused_window, yaze::core::WidgetState::frame_count, yaze::core::WidgetState::frame_rate, yaze::core::WidgetState::hovered_widget, yaze::core::WidgetState::mouse_down, yaze::core::WidgetState::mouse_pos_x, yaze::core::WidgetState::mouse_pos_y, yaze::core::WidgetState::nav_active, yaze::core::WidgetState::nav_id, yaze::core::WidgetState::open_popups, yaze::core::WidgetState::shift_pressed, and yaze::core::WidgetState::visible_windows.
Referenced by CaptureWidgetState().
| absl::Status yaze::core::CreateWindow | ( | Window & | window, |
| gfx::IRenderer * | renderer, | ||
| int | flags ) |
Definition at line 70 of file window.cc.
References yaze::core::Window::audio_buffer_, yaze::core::Window::audio_device_, yaze::gui::ColorsYaze(), yaze::test::TestManager::Get(), yaze::gfx::IRenderer::GetBackendRenderer(), yaze::util::PlatformPaths::GetImGuiIniPath(), yaze::gfx::IRenderer::Initialize(), yaze::test::TestManager::InitializeUITesting(), yaze::LoadPackageFonts(), LOG_INFO, LOG_WARN, RETURN_IF_ERROR, and yaze::core::Window::window_.
| absl::Status yaze::core::ShutdownWindow | ( | Window & | window | ) |
Definition at line 175 of file window.cc.
References yaze::core::Window::audio_device_, yaze::test::TestManager::DestroyUITestingContext(), yaze::gfx::Arena::Get(), yaze::test::TestManager::Get(), LOG_INFO, yaze::gfx::Arena::Shutdown(), yaze::test::TestManager::StopUITesting(), and yaze::core::Window::window_.
| absl::Status yaze::core::HandleEvents | ( | Window & | window | ) |
Definition at line 220 of file window.cc.
References yaze::core::Window::active_, and g_window_is_resizing.
| std::string yaze::core::AddressOwnershipToString | ( | AddressOwnership | ownership | ) |
Definition at line 20 of file hack_manifest.cc.
References kAsmExpansion, kAsmOwned, kHookPatched, kMirror, kRam, kShared, and kVanillaSafe.
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup(), yaze::editor::OverworldEditor::Save(), and yaze::editor::DungeonEditorV2::SaveRoomData().
| absl::StatusOr< std::filesystem::path > yaze::core::ResolveOracleProjectRoot | ( | const std::filesystem::path & | start_path | ) |
Definition at line 252 of file oracle_menu_registry.cc.
Referenced by BuildOracleMenuRegistry(), yaze::cli::handlers::OracleMenuIndexCommandHandler::Execute(), yaze::cli::handlers::OracleMenuSetOffsetCommandHandler::Execute(), yaze::cli::handlers::OracleMenuValidateCommandHandler::Execute(), and SetOracleMenuComponentOffset().
| absl::StatusOr< OracleMenuRegistry > yaze::core::BuildOracleMenuRegistry | ( | const std::filesystem::path & | project_root | ) |
Definition at line 294 of file oracle_menu_registry.cc.
References yaze::core::OracleMenuRegistry::asm_files, ASSIGN_OR_RETURN, yaze::core::OracleMenuRegistry::bins, yaze::core::OracleMenuRegistry::components, yaze::core::OracleMenuRegistry::draw_routines, yaze::core::OracleMenuRegistry::project_root, ResolveOracleProjectRoot(), and yaze::core::OracleMenuRegistry::warnings.
Referenced by yaze::cli::handlers::OracleMenuIndexCommandHandler::Execute(), yaze::cli::handlers::OracleMenuValidateCommandHandler::Execute(), and yaze::editor::OracleMenuInspectorPanel::RefreshRegistry().

| OracleMenuValidationReport yaze::core::ValidateOracleMenuRegistry | ( | const OracleMenuRegistry & | registry, |
| int | max_row, | ||
| int | max_col ) |
Definition at line 479 of file oracle_menu_registry.cc.
References yaze::core::OracleMenuRegistry::asm_files, yaze::core::OracleMenuRegistry::bins, yaze::core::OracleMenuRegistry::components, ValidateOracleMenuRegistry(), and yaze::core::OracleMenuRegistry::warnings.
Referenced by yaze::cli::handlers::OracleMenuValidateCommandHandler::Execute(), and ValidateOracleMenuRegistry().

| absl::StatusOr< OracleMenuComponentEditResult > yaze::core::SetOracleMenuComponentOffset | ( | const std::filesystem::path & | project_root, |
| const std::string & | asm_relative_path, | ||
| const std::string & | table_label, | ||
| int | index, | ||
| int | row, | ||
| int | col, | ||
| bool | write_changes ) |
Definition at line 609 of file oracle_menu_registry.cc.
References yaze::core::OracleMenuComponentEditResult::asm_path, ASSIGN_OR_RETURN, yaze::core::OracleMenuComponentEditResult::changed, yaze::core::OracleMenuComponentEditResult::index, yaze::core::OracleMenuComponentEditResult::line, yaze::core::OracleMenuComponentEditResult::new_col, yaze::core::OracleMenuComponentEditResult::new_line, yaze::core::OracleMenuComponentEditResult::new_row, yaze::core::OracleMenuComponentEditResult::old_col, yaze::core::OracleMenuComponentEditResult::old_line, yaze::core::OracleMenuComponentEditResult::old_row, ResolveOracleProjectRoot(), RETURN_IF_ERROR, SetOracleMenuComponentOffset(), yaze::core::OracleMenuComponentEditResult::table_label, and yaze::core::OracleMenuComponentEditResult::write_applied.
Referenced by yaze::editor::OracleMenuInspectorPanel::DrawComponentsTab(), yaze::cli::handlers::OracleMenuSetOffsetCommandHandler::Execute(), and SetOracleMenuComponentOffset().

| absl::StatusOr< OracleProgressionState > yaze::core::LoadOracleProgressionFromSrmFile | ( | const std::string & | srm_path | ) |
Definition at line 11 of file oracle_progression_loader.cc.
References yaze::core::OracleProgressionState::ParseFromSRAM().
Referenced by yaze::editor::ProgressionDashboardPanel::DrawSrmImportControls(), and yaze::editor::StoryEventGraphPanel::ImportOracleSramFromFileDialog().

| bool yaze::core::StoryNodeStatusAllowed | ( | StoryNodeStatus | status, |
| const StoryEventNodeFilter & | filter ) |
Definition at line 55 of file story_event_graph_query.cc.
References yaze::core::StoryEventNodeFilter::include_available, yaze::core::StoryEventNodeFilter::include_blocked, yaze::core::StoryEventNodeFilter::include_completed, yaze::core::StoryEventNodeFilter::include_locked, kAvailable, kBlocked, kCompleted, and kLocked.
Referenced by StoryEventNodeMatchesFilter(), and yaze::editor::StoryEventGraphPanel::UpdateFilterCache().
| std::string yaze::core::BuildStoryEventNodeSearchText | ( | const StoryEventNode & | node | ) |
Definition at line 71 of file story_event_graph_query.cc.
References yaze::core::StoryEventNode::dependencies, yaze::core::StoryEventNode::evidence, yaze::core::StoryEventNode::flags, yaze::core::StoryEventNode::id, yaze::core::StoryEventNode::last_verified, yaze::core::StoryEventNode::locations, yaze::core::StoryEventNode::name, yaze::core::StoryEventNode::notes, yaze::core::StoryEventNode::scripts, yaze::core::StoryEventNode::text_ids, and yaze::core::StoryEventNode::unlocks.
Referenced by StoryEventNodeMatchesQuery().
| bool yaze::core::StoryEventNodeMatchesQuery | ( | const StoryEventNode & | node, |
| std::string_view | query ) |
Definition at line 104 of file story_event_graph_query.cc.
References BuildStoryEventNodeSearchText().
Referenced by StoryEventNodeMatchesFilter(), and yaze::editor::StoryEventGraphPanel::UpdateFilterCache().

| bool yaze::core::StoryEventNodeMatchesFilter | ( | const StoryEventNode & | node, |
| const StoryEventNodeFilter & | filter ) |
Definition at line 113 of file story_event_graph_query.cc.
References yaze::core::StoryEventNodeFilter::query, yaze::core::StoryEventNode::status, StoryEventNodeMatchesQuery(), and StoryNodeStatusAllowed().

| bool yaze::core::g_window_is_resizing = false |
Definition at line 24 of file sdl2_window_backend.cc.
Referenced by HandleEvents(), and yaze::emu::Emulator::Run().