yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli Namespace Reference

Namespace for the command line interface. More...

Namespaces

namespace  agent
 
namespace  ai
 
namespace  anonymous_namespace{agent.cc}
 
namespace  anonymous_namespace{ai_service.cc}
 
namespace  anonymous_namespace{command_palette.cc}
 
namespace  anonymous_namespace{command_registry.cc}
 
namespace  anonymous_namespace{dungeon_doctor_commands.cc}
 
namespace  anonymous_namespace{graphics_doctor_commands.cc}
 
namespace  anonymous_namespace{gui_automation_client.cc}
 
namespace  anonymous_namespace{hex_inspector_commands.cc}
 
namespace  anonymous_namespace{message_doctor_commands.cc}
 
namespace  anonymous_namespace{overworld.cc}
 
namespace  anonymous_namespace{overworld_doctor_commands.cc}
 
namespace  anonymous_namespace{overworld_validate_commands.cc}
 
namespace  anonymous_namespace{prompt_builder.cc}
 
namespace  anonymous_namespace{proposal_registry.cc}
 
namespace  anonymous_namespace{resource_catalog.cc}
 
namespace  anonymous_namespace{rom_compare_commands.cc}
 
namespace  anonymous_namespace{rom_doctor_commands.cc}
 
namespace  anonymous_namespace{rom_sandbox_manager.cc}
 
namespace  anonymous_namespace{sprite_doctor_commands.cc}
 
namespace  anonymous_namespace{test_cli_commands.cc}
 
namespace  anonymous_namespace{test_suite_loader.cc}
 
namespace  anonymous_namespace{test_suite_reporter.cc}
 
namespace  anonymous_namespace{test_suite_writer.cc}
 
namespace  anonymous_namespace{tile16_proposal_generator.cc}
 
namespace  anonymous_namespace{tui.cc}
 
namespace  api
 
namespace  automation
 
namespace  gui
 
namespace  handlers
 
namespace  message
 
namespace  net
 
namespace  overworld
 
namespace  resources
 
namespace  tui
 
namespace  util
 

Classes

struct  AgentResponse
 
class  AIService
 
struct  AIServiceConfig
 
class  AsarPatchComponent
 
struct  AssertionOutcome
 Individual assertion outcome within a harness test. More...
 
class  AutocompleteEngine
 
struct  AutomationResult
 Result of a GUI automation action. More...
 
class  CanvasAutomationClient
 
class  CommandPaletteComponent
 
class  CommandRegistry
 Single source of truth for all z3ed commands. More...
 
struct  Context
 
struct  DiagnosticFinding
 A single diagnostic finding. More...
 
struct  DiagnosticReport
 Complete diagnostic report. More...
 
struct  DiscoveredWindowInfo
 
struct  DiscoverWidgetsQuery
 
struct  DiscoverWidgetsResult
 
class  DungeonDoctorCommandHandler
 Dungeon doctor command for room data integrity. More...
 
class  EnhancedChatComponent
 
class  EnhancedStatusPanel
 
struct  FewShotExample
 
class  GeminiAIService
 
struct  GeminiConfig
 
class  GraphicsDoctorCommandHandler
 Graphics doctor command for validating graphics sheets and blocksets. More...
 
class  GuiAutomationClient
 Client for automating YAZE GUI through gRPC. More...
 
struct  HarnessTestSummary
 Aggregated metadata about a harness test. More...
 
class  HexAnnotateCommandHandler
 Show known data structure annotations at a ROM offset. More...
 
class  HexCompareCommandHandler
 Compare two ROM files byte-by-byte. More...
 
class  HexDumpCommandHandler
 Dump a hex view of a ROM file. More...
 
class  HexViewerComponent
 
struct  LayoutConfig
 
struct  ListTestsResult
 Result container for ListTests RPC. More...
 
class  LocalGeminiCliService
 
struct  MapDistributionStats
 Entity distribution statistics for coverage analysis. More...
 
struct  MapPointerStatus
 Map pointer validation status. More...
 
class  MessageDoctorCommandHandler
 
class  MockAIService
 
struct  ModelInfo
 
class  ModelRegistry
 
class  ModernCLI
 
class  OllamaAIService
 
struct  OllamaConfig
 
class  OpenAIAIService
 
struct  OpenAIConfig
 
class  OverworldDoctorCommandHandler
 ROM doctor command for overworld data integrity. More...
 
class  OverworldValidateCommandHandler
 Validate overworld map32 pointers and decompression. More...
 
class  PaletteEditorComponent
 
struct  PanelState
 
class  PolicyEvaluator
 
struct  PolicyResult
 
struct  PolicyViolation
 
class  PromptBuilder
 
class  ProposalRegistry
 
struct  ReplayTestResult
 
struct  ResourceAction
 
struct  ResourceArgument
 
class  ResourceCatalog
 
class  ResourceContextBuilder
 Builds contextual information from ROM resources for AI prompts. More...
 
struct  ResourceSchema
 
class  RomCompareCommandHandler
 Compare two ROMs to identify differences and corruption. More...
 
struct  RomCompareResult
 ROM comparison result for baseline comparisons. More...
 
struct  RomContext
 
class  RomDoctorCommandHandler
 ROM doctor command for file integrity validation. More...
 
struct  RomFeatures
 ROM feature detection results. More...
 
class  RomSandboxManager
 
class  SpriteDoctorCommandHandler
 Sprite doctor command for validating sprite tables and data. More...
 
struct  StartRecordingResult
 
struct  StopRecordingResult
 
struct  Suggestion
 
struct  TestCaseDefinition
 
struct  TestCaseRunResult
 
struct  TestGroupDefinition
 
class  TestListCommandHandler
 List available tests with labels and requirements. More...
 
struct  TestResultDetails
 Detailed execution results for a specific harness test. More...
 
class  TestRunCommandHandler
 Run tests with structured output. More...
 
class  TestStatusCommandHandler
 Show test configuration status. More...
 
struct  TestStatusDetails
 Detailed information about an individual test execution. More...
 
struct  TestStep
 A single step in a GUI test workflow. More...
 
struct  TestSuiteConfig
 
struct  TestSuiteDefinition
 
struct  TestSuiteRunSummary
 
struct  TestWorkflow
 A complete GUI test workflow. More...
 
class  TestWorkflowGenerator
 Generates GUI test workflows from natural language prompts. More...
 
struct  Tile16Change
 Represents a single tile16 change in a proposal. More...
 
struct  Tile16Proposal
 Represents a proposal for tile16 edits on the overworld. More...
 
class  Tile16ProposalGenerator
 Generates and manages tile16 editing proposals. More...
 
struct  Tile16Status
 Tile16 corruption status. More...
 
struct  ToolArgument
 
struct  ToolCall
 
struct  ToolSpecification
 
class  TuiComponent
 
class  UnifiedLayout
 
struct  WidgetBoundingBox
 
struct  WidgetDescriptor
 

Enumerations

enum class  DiagnosticSeverity { kInfo , kWarning , kError , kCritical }
 Severity level for diagnostic findings. More...
 
enum class  ClickType { kLeft , kRight , kMiddle , kDouble }
 Type of click action to perform. More...
 
enum class  TestRunStatus {
  kUnknown , kQueued , kRunning , kPassed ,
  kFailed , kTimeout
}
 Execution status codes returned by the harness. More...
 
enum class  WidgetTypeFilter {
  kUnspecified , kAll , kButton , kInput ,
  kMenu , kTab , kCheckbox , kSlider ,
  kCanvas , kSelectable , kOther
}
 
enum class  PolicySeverity { kInfo , kWarning , kCritical }
 
enum class  TestCaseOutcome { kPassed , kFailed , kError , kSkipped }
 
enum class  TestStepType {
  kClick , kType , kWait , kAssert ,
  kScreenshot
}
 Type of test step to execute. More...
 
enum class  MainMenuEntry {
  kLoadRom , kAIAgentChat , kTodoManager , kRomTools ,
  kGraphicsTools , kTestingTools , kSettings , kHelp ,
  kExit
}
 
enum class  LayoutID {
  kLoadRom , kAIAgentChat , kTodoManager , kRomTools ,
  kGraphicsTools , kTestingTools , kSettings , kApplyAsarPatch ,
  kApplyBpsPatch , kExtractSymbols , kValidateAssembly , kGenerateSaveFile ,
  kPaletteEditor , kHexViewer , kCommandPalette , kHelp ,
  kExit , kMainMenu , kDashboard , kError
}
 
enum class  PanelType {
  kMainMenu , kChat , kStatus , kTools ,
  kHexViewer , kPaletteEditor , kTodoManager , kRomTools ,
  kGraphicsTools , kSettings , kHelp
}
 

Functions

BrowserAIService * GetGlobalBrowserAIService ()
 
RomGetGlobalRom ()
 
absl::Status HandleOverworldGetTileLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleOverworldSetTileLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleOverworldFindTileLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleOverworldDescribeMapLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleOverworldListWarpsLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleOverworldSelectRectLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleOverworldScrollToLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleOverworldSetZoomLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleOverworldGetVisibleRegionLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleGfxExportLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandleGfxImportLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandlePaletteExportLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandlePaletteImportLegacy (const std::vector< std::string > &arg_vec)
 
absl::Status HandlePaletteLegacy (const std::vector< std::string > &arg_vec)
 
void HandlePaletteTUI (ftxui::ScreenInteractive &screen)
 
absl::Status InitializeMockRom (Rom &rom)
 Initialize a mock ROM for testing without requiring an actual ROM file.
 
bool ShouldUseMockRom ()
 Check if mock ROM mode should be used based on flags.
 
std::string SeverityToString (DiagnosticSeverity severity)
 Convert severity to string for output.
 
std::unique_ptr< AIServiceCreateAIService ()
 
std::unique_ptr< AIServiceCreateAIService (const AIServiceConfig &config)
 
absl::StatusOr< std::unique_ptr< AIService > > CreateAIServiceStrict (const AIServiceConfig &config)
 
absl::StatusOr< TestSuiteDefinitionParseTestSuiteDefinition (absl::string_view content)
 
absl::StatusOr< TestSuiteDefinitionLoadTestSuiteFromFile (const std::string &path)
 
std::string BuildTextSummary (const TestSuiteRunSummary &summary)
 
absl::StatusOr< std::string > BuildJUnitReport (const TestSuiteRunSummary &summary)
 
absl::Status WriteJUnitReport (const TestSuiteRunSummary &summary, const std::string &output_path)
 
std::string BuildTestSuiteYaml (const TestSuiteDefinition &suite)
 
absl::Status WriteTestSuiteToFile (const TestSuiteDefinition &suite, const std::string &path, bool overwrite)
 
Component CreateAutocompleteInput (std::string *input_str, AutocompleteEngine *engine)
 Create an input component with autocomplete suggestions.
 
Component CreateQuickActionMenu (ScreenInteractive &screen)
 
ftxui::Component CreateQuickActionMenu (ftxui::ScreenInteractive &screen)
 Create a quick action menu for common ROM operations.
 
void ShowMain ()
 
std::string GetColoredLogo ()
 

Variables

constexpr uint32_t kSnesHeaderBase = 0x7FC0
 
constexpr uint32_t kChecksumComplementPos = 0x7FDC
 
constexpr uint32_t kChecksumPos = 0x7FDE
 
constexpr uint32_t kMap16TilesExpanded = 0x1E8000
 
constexpr uint32_t kMap16TilesExpandedEnd = 0x1F0000
 
constexpr uint32_t kMap16ExpandedFlagPos = 0x02FD28
 
constexpr uint32_t kMap32ExpandedFlagPos = 0x01772E
 
constexpr int kNumTile16Vanilla = 3752
 
constexpr int kNumTile16Expanded = 4096
 
constexpr uint32_t kPtrTableLowBase = 0x1794D
 
constexpr uint32_t kPtrTableHighBase = 0x17B2D
 
constexpr int kVanillaMapCount = 160
 
constexpr uint32_t kZSCustomVersionPos = 0x140145
 
constexpr uint32_t kCustomBGEnabledPos = 0x140141
 
constexpr uint32_t kCustomMainPalettePos = 0x140142
 
constexpr uint32_t kCustomMosaicPos = 0x140143
 
constexpr uint32_t kCustomAnimatedGFXPos = 0x140146
 
constexpr uint32_t kCustomOverlayPos = 0x140147
 
constexpr uint32_t kCustomTileGFXPos = 0x140148
 
constexpr uint32_t kExpandedPtrTableMarker = 0x1423FF
 
constexpr uint8_t kExpandedPtrTableMagic = 0xEA
 
constexpr uint32_t kExpandedPtrTableHigh = 0x142400
 
constexpr uint32_t kExpandedPtrTableLow = 0x142640
 
constexpr int kExpandedMapCount = 192
 
const uint32_t kProblemAddresses []
 
const std::vector< std::string > kMainMenuEntries
 
constexpr const char * kZ3edLogo
 
constexpr const char * kZ3edLogoCompact
 
constexpr const char * kZ3edLogoMinimal
 

Detailed Description

Namespace for the command line interface.

Enumeration Type Documentation

◆ DiagnosticSeverity

enum class yaze::cli::DiagnosticSeverity
strong

Severity level for diagnostic findings.

Enumerator
kInfo 
kWarning 
kError 
kCritical 

Definition at line 16 of file diagnostic_types.h.

◆ ClickType

enum class yaze::cli::ClickType
strong

Type of click action to perform.

Enumerator
kLeft 
kRight 
kMiddle 
kDouble 

Definition at line 45 of file gui_automation_client.h.

◆ TestRunStatus

enum class yaze::cli::TestRunStatus
strong

Execution status codes returned by the harness.

Enumerator
kUnknown 
kQueued 
kRunning 
kPassed 
kFailed 
kTimeout 

Definition at line 62 of file gui_automation_client.h.

◆ WidgetTypeFilter

enum class yaze::cli::WidgetTypeFilter
strong
Enumerator
kUnspecified 
kAll 
kButton 
kInput 
kMenu 
kTab 
kCheckbox 
kSlider 
kCanvas 
kSelectable 
kOther 

Definition at line 162 of file gui_automation_client.h.

◆ PolicySeverity

enum class yaze::cli::PolicySeverity
strong
Enumerator
kInfo 
kWarning 
kCritical 

Definition at line 16 of file policy_evaluator.h.

◆ TestCaseOutcome

enum class yaze::cli::TestCaseOutcome
strong
Enumerator
kPassed 
kFailed 
kError 
kSkipped 

Definition at line 58 of file test_suite.h.

◆ TestStepType

enum class yaze::cli::TestStepType
strong

Type of test step to execute.

Enumerator
kClick 
kType 
kWait 
kAssert 
kScreenshot 

Definition at line 18 of file test_workflow_generator.h.

◆ MainMenuEntry

enum class yaze::cli::MainMenuEntry
strong
Enumerator
kLoadRom 
kAIAgentChat 
kTodoManager 
kRomTools 
kGraphicsTools 
kTestingTools 
kSettings 
kHelp 
kExit 

Definition at line 33 of file tui.h.

◆ LayoutID

enum class yaze::cli::LayoutID
strong
Enumerator
kLoadRom 
kAIAgentChat 
kTodoManager 
kRomTools 
kGraphicsTools 
kTestingTools 
kSettings 
kApplyAsarPatch 
kApplyBpsPatch 
kExtractSymbols 
kValidateAssembly 
kGenerateSaveFile 
kPaletteEditor 
kHexViewer 
kCommandPalette 
kHelp 
kExit 
kMainMenu 
kDashboard 
kError 

Definition at line 45 of file tui.h.

◆ PanelType

enum class yaze::cli::PanelType
strong
Enumerator
kMainMenu 
kChat 
kStatus 
kTools 
kHexViewer 
kPaletteEditor 
kTodoManager 
kRomTools 
kGraphicsTools 
kSettings 
kHelp 

Definition at line 28 of file unified_layout.h.

Function Documentation

◆ GetGlobalBrowserAIService()

◆ GetGlobalRom()

◆ HandleOverworldGetTileLegacy()

absl::Status yaze::cli::HandleOverworldGetTileLegacy ( const std::vector< std::string > & arg_vec)
Todo
Implement OverworldGetTileCommandHandler

Definition at line 34 of file overworld.cc.

References yaze::zelda3::Overworld::GetTile(), yaze::Rom::is_loaded(), yaze::zelda3::Overworld::Load(), and yaze::Rom::LoadFromFile().

Here is the call graph for this function:

◆ HandleOverworldSetTileLegacy()

absl::Status yaze::cli::HandleOverworldSetTileLegacy ( const std::vector< std::string > & arg_vec)

◆ HandleOverworldFindTileLegacy()

◆ HandleOverworldDescribeMapLegacy()

absl::Status yaze::cli::HandleOverworldDescribeMapLegacy ( const std::vector< std::string > & arg_vec)

◆ HandleOverworldListWarpsLegacy()

◆ HandleOverworldSelectRectLegacy()

absl::Status yaze::cli::HandleOverworldSelectRectLegacy ( const std::vector< std::string > & arg_vec)
Todo
Implement OverworldSelectRectCommandHandler

Definition at line 722 of file overworld.cc.

◆ HandleOverworldScrollToLegacy()

absl::Status yaze::cli::HandleOverworldScrollToLegacy ( const std::vector< std::string > & arg_vec)
Todo
Implement OverworldScrollToCommandHandler

Definition at line 760 of file overworld.cc.

◆ HandleOverworldSetZoomLegacy()

absl::Status yaze::cli::HandleOverworldSetZoomLegacy ( const std::vector< std::string > & arg_vec)
Todo
Implement OverworldSetZoomCommandHandler

Definition at line 795 of file overworld.cc.

◆ HandleOverworldGetVisibleRegionLegacy()

absl::Status yaze::cli::HandleOverworldGetVisibleRegionLegacy ( const std::vector< std::string > & arg_vec)
Todo
Implement OverworldGetVisibleRegionCommandHandler

Definition at line 823 of file overworld.cc.

◆ HandleGfxExportLegacy()

absl::Status yaze::cli::HandleGfxExportLegacy ( const std::vector< std::string > & arg_vec)
Todo
Implement GfxExportCommandHandler
Todo
Convert the 8bpp data to the correct SNES bpp format.

Definition at line 14 of file gfx.cc.

References yaze::gfx::Arena::Get(), yaze::Rom::is_loaded(), yaze::Rom::LoadFromFile(), and yaze::gfx::SaveCgx().

Here is the call graph for this function:

◆ HandleGfxImportLegacy()

absl::Status yaze::cli::HandleGfxImportLegacy ( const std::vector< std::string > & arg_vec)
Todo
Implement GfxImportCommandHandler
Todo
Convert the 8bpp data to the correct SNES bpp format before writing.
Todo
Implement saving the modified graphics sheet back to the ROM.

Definition at line 58 of file gfx.cc.

References yaze::Rom::filename(), yaze::gfx::Arena::Get(), yaze::Rom::is_loaded(), yaze::gfx::LoadCgx(), yaze::Rom::LoadFromFile(), and yaze::Rom::SaveToFile().

◆ HandlePaletteExportLegacy()

absl::Status yaze::cli::HandlePaletteExportLegacy ( const std::vector< std::string > & arg_vec)

◆ HandlePaletteImportLegacy()

absl::Status yaze::cli::HandlePaletteImportLegacy ( const std::vector< std::string > & arg_vec)
Todo
Implement saving the modified palette back to the ROM.
Todo
Implement saving the modified palette back to the ROM.

Definition at line 120 of file palette.cc.

References yaze::gfx::DecodeColFile(), yaze::Rom::filename(), yaze::gfx::PaletteGroupMap::get_group(), yaze::Rom::is_loaded(), yaze::Rom::LoadFromFile(), yaze::zelda3::LoadGameData(), yaze::zelda3::GameData::palette_groups, and yaze::Rom::SaveToFile().

Referenced by HandlePaletteLegacy().

◆ HandlePaletteLegacy()

absl::Status yaze::cli::HandlePaletteLegacy ( const std::vector< std::string > & arg_vec)

Definition at line 22 of file palette.cc.

References HandlePaletteExportLegacy(), and HandlePaletteImportLegacy().

Here is the call graph for this function:

◆ HandlePaletteTUI()

void yaze::cli::HandlePaletteTUI ( ftxui::ScreenInteractive & screen)
Todo
Implement palette editor TUI

Definition at line 41 of file palette.cc.

◆ InitializeMockRom()

absl::Status yaze::cli::InitializeMockRom ( Rom & rom)

Initialize a mock ROM for testing without requiring an actual ROM file.

This creates a minimal but valid ROM structure populated with:

  • All Zelda3 embedded labels (rooms, sprites, entrances, items, etc.)
  • Minimal header data to satisfy ROM validation
  • Empty but properly sized data sections

Purpose: Allow AI agent testing and CI/CD without committing ROM files

Parameters
romROM object to initialize as mock
Returns
absl::OkStatus() on success, error status on failure

Definition at line 16 of file mock_rom.cc.

References yaze::project::YazeProject::InitializeEmbeddedLabels(), yaze::project::ResourceLabelManager::labels_, yaze::project::ResourceLabelManager::labels_loaded_, yaze::Rom::LoadFromData(), yaze::Rom::resource_label(), yaze::project::YazeProject::resource_labels, and yaze::zelda3::Zelda3Labels::ToResourceLabels().

Referenced by yaze::cli::resources::CommandContext::Initialize(), and yaze::cli::agent::anonymous_namespace{conversation_test.cc}::LoadRomForAgent().

Here is the call graph for this function:

◆ ShouldUseMockRom()

bool yaze::cli::ShouldUseMockRom ( )

Check if mock ROM mode should be used based on flags.

Returns
true if –mock-rom flag is set

Definition at line 80 of file mock_rom.cc.

◆ SeverityToString()

std::string yaze::cli::SeverityToString ( DiagnosticSeverity severity)
inline

Convert severity to string for output.

Definition at line 26 of file diagnostic_types.h.

References kCritical, kError, kInfo, and kWarning.

Referenced by yaze::cli::DiagnosticFinding::FormatJson().

◆ CreateAIService() [1/2]

◆ CreateAIService() [2/2]

std::unique_ptr< AIService > yaze::cli::CreateAIService ( const AIServiceConfig & config)

◆ CreateAIServiceStrict()

◆ ParseTestSuiteDefinition()

◆ LoadTestSuiteFromFile()

absl::StatusOr< TestSuiteDefinition > yaze::cli::LoadTestSuiteFromFile ( const std::string & path)

Definition at line 600 of file test_suite_loader.cc.

References ParseTestSuiteDefinition().

Here is the call graph for this function:

◆ BuildTextSummary()

◆ BuildJUnitReport()

◆ WriteJUnitReport()

absl::Status yaze::cli::WriteJUnitReport ( const TestSuiteRunSummary & summary,
const std::string & output_path )

Definition at line 265 of file test_suite_reporter.cc.

References ASSIGN_OR_RETURN, and BuildJUnitReport().

Here is the call graph for this function:

◆ BuildTestSuiteYaml()

◆ WriteTestSuiteToFile()

absl::Status yaze::cli::WriteTestSuiteToFile ( const TestSuiteDefinition & suite,
const std::string & path,
bool overwrite )

Definition at line 147 of file test_suite_writer.cc.

References BuildTestSuiteYaml().

Here is the call graph for this function:

◆ CreateAutocompleteInput()

ftxui::Component yaze::cli::CreateAutocompleteInput ( std::string * input_str,
AutocompleteEngine * engine )

Create an input component with autocomplete suggestions.

Parameters
input_strPointer to the input string
enginePointer to the autocomplete engine
Returns
ftxui::Component Input component with autocomplete dropdown

Definition at line 12 of file autocomplete_ui.cc.

References yaze::cli::AutocompleteEngine::GetSuggestions().

Referenced by yaze::cli::tui::ChatTUI::Run().

Here is the call graph for this function:

◆ CreateQuickActionMenu() [1/2]

Component yaze::cli::CreateQuickActionMenu ( ScreenInteractive & screen)

Definition at line 46 of file autocomplete_ui.cc.

◆ CreateQuickActionMenu() [2/2]

ftxui::Component yaze::cli::CreateQuickActionMenu ( ftxui::ScreenInteractive & screen)

Create a quick action menu for common ROM operations.

Parameters
screenThe screen interactive reference
Returns
ftxui::Component Menu component with quick actions

◆ ShowMain()

◆ GetColoredLogo()

Variable Documentation

◆ kSnesHeaderBase

constexpr uint32_t yaze::cli::kSnesHeaderBase = 0x7FC0
constexpr

◆ kChecksumComplementPos

◆ kChecksumPos

constexpr uint32_t yaze::cli::kChecksumPos = 0x7FDE
constexpr

◆ kMap16TilesExpanded

◆ kMap16TilesExpandedEnd

◆ kMap16ExpandedFlagPos

◆ kMap32ExpandedFlagPos

◆ kNumTile16Vanilla

constexpr int yaze::cli::kNumTile16Vanilla = 3752
constexpr

◆ kNumTile16Expanded

constexpr int yaze::cli::kNumTile16Expanded = 4096
constexpr

◆ kPtrTableLowBase

constexpr uint32_t yaze::cli::kPtrTableLowBase = 0x1794D
constexpr

◆ kPtrTableHighBase

constexpr uint32_t yaze::cli::kPtrTableHighBase = 0x17B2D
constexpr

◆ kVanillaMapCount

constexpr int yaze::cli::kVanillaMapCount = 160
constexpr

◆ kZSCustomVersionPos

◆ kCustomBGEnabledPos

constexpr uint32_t yaze::cli::kCustomBGEnabledPos = 0x140141
constexpr

◆ kCustomMainPalettePos

constexpr uint32_t yaze::cli::kCustomMainPalettePos = 0x140142
constexpr

◆ kCustomMosaicPos

constexpr uint32_t yaze::cli::kCustomMosaicPos = 0x140143
constexpr

◆ kCustomAnimatedGFXPos

constexpr uint32_t yaze::cli::kCustomAnimatedGFXPos = 0x140146
constexpr

◆ kCustomOverlayPos

constexpr uint32_t yaze::cli::kCustomOverlayPos = 0x140147
constexpr

◆ kCustomTileGFXPos

constexpr uint32_t yaze::cli::kCustomTileGFXPos = 0x140148
constexpr

◆ kExpandedPtrTableMarker

◆ kExpandedPtrTableMagic

◆ kExpandedPtrTableHigh

constexpr uint32_t yaze::cli::kExpandedPtrTableHigh = 0x142400
constexpr

Definition at line 271 of file diagnostic_types.h.

◆ kExpandedPtrTableLow

constexpr uint32_t yaze::cli::kExpandedPtrTableLow = 0x142640
constexpr

Definition at line 272 of file diagnostic_types.h.

◆ kExpandedMapCount

constexpr int yaze::cli::kExpandedMapCount = 192
constexpr

Definition at line 273 of file diagnostic_types.h.

◆ kProblemAddresses

◆ kMainMenuEntries

const std::vector<std::string> yaze::cli::kMainMenuEntries
Initial value:
= {
"๐ŸŽฎ Load ROM / Quick Start",
"๐Ÿค– AI Agent Chat",
"๐Ÿ“ TODO Manager",
"๐Ÿ”ง ROM Tools",
"๐ŸŽจ Graphics & Palettes",
"๐Ÿงช Testing & Validation",
"โš™๏ธ Settings",
"โ“ Help & Documentation",
"๐Ÿšช Exit",
}

Definition at line 21 of file tui.h.

Referenced by yaze::cli::anonymous_namespace{tui.cc}::DashboardComponent(), and yaze::cli::anonymous_namespace{tui.cc}::MainMenuComponent().

◆ kZ3edLogo

constexpr const char* yaze::cli::kZ3edLogo
constexpr
Initial value:
= R"(
โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—
โ•šโ•โ•โ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—
โ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘
โ–ˆโ–ˆโ–ˆโ•”โ• โ•šโ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘
โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•
โ–ฒ Zelda 3 Editor
โ–ฒ โ–ฒ AI-Powered CLI
โ–ฒโ–ฒโ–ฒโ–ฒโ–ฒ
)"

Definition at line 10 of file z3ed_ascii_logo.h.

◆ kZ3edLogoCompact

constexpr const char* yaze::cli::kZ3edLogoCompact
constexpr
Initial value:
= R"(
โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ•‘
โ•‘ โ•šโ•โ•โ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•— โ•‘
โ•‘ โ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ•‘
โ•‘ โ–ˆโ–ˆโ–ˆโ•”โ• โ•šโ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ•‘
โ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ•‘
โ•‘ โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ• โ•‘
โ•‘ โ–ฒ Zelda 3 Editor โ•‘
โ•‘ โ–ฒ โ–ฒ AI-Powered CLI โ•‘
โ•‘ โ–ฒโ–ฒโ–ฒโ–ฒโ–ฒ ROM Hacking Tool โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•
)"

Definition at line 23 of file z3ed_ascii_logo.h.

◆ kZ3edLogoMinimal

constexpr const char* yaze::cli::kZ3edLogoMinimal
constexpr
Initial value:
= R"(
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ Z3ED - Zelda 3 โ”‚
โ”‚ โ–ฒ Editor CLI โ”‚
โ”‚ โ–ฒ โ–ฒ AI-Powered โ”‚
โ”‚ โ–ฒโ–ฒโ–ฒโ–ฒโ–ฒ โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
)"

Definition at line 37 of file z3ed_ascii_logo.h.