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

Namespace for the command line interface. More...

Namespaces

namespace  anonymous_namespace{tui.cc}
 

Classes

class  ApplyPatch
 
class  AsarPatch
 
class  Backup
 
class  CommandHandler
 
class  Compress
 
struct  Context
 
class  CreatePatch
 
class  Decompress
 
class  Expand
 Expand a Rom file. More...
 
class  Open
 
class  PcToSnesCommand
 Convert a PC address to a SNES address. More...
 
class  ReadFromRom
 Read from a Rom file. More...
 
class  SnesToPcCommand
 Convert a SNES address to a PC address. More...
 
class  Tile16Transfer
 

Enumerations

enum class  MainMenuEntry {
  kLoadRom , kApplyBpsPatch , kGenerateSaveFile , kPaletteEditor ,
  kHelp , kExit
}
 
enum  LayoutID {
  kLoadRom , kApplyBpsPatch , kGenerateSaveFile , kPaletteEditor ,
  kHelp , kExit , kMainMenu , kError
}
 

Functions

void ShowMain ()
 

Variables

const std::vector< std::string > kMainMenuEntries
 

Detailed Description

Namespace for the command line interface.

Enumeration Type Documentation

◆ MainMenuEntry

enum class yaze::cli::MainMenuEntry
strong
Enumerator
kLoadRom 
kApplyBpsPatch 
kGenerateSaveFile 
kPaletteEditor 
kHelp 
kExit 

Definition at line 27 of file tui.h.

◆ LayoutID

Enumerator
kLoadRom 
kApplyBpsPatch 
kGenerateSaveFile 
kPaletteEditor 
kHelp 
kExit 
kMainMenu 
kError 

Definition at line 36 of file tui.h.

Function Documentation

◆ ShowMain()

void yaze::cli::ShowMain ( )

Definition at line 568 of file tui.cc.

References kApplyBpsPatch, kError, kExit, kGenerateSaveFile, kHelp, kLoadRom, kMainMenu, and kPaletteEditor.

Referenced by main().

Variable Documentation

◆ kMainMenuEntries

const std::vector<std::string> yaze::cli::kMainMenuEntries
Initial value:
= {
"Load ROM",
"Apply BPS Patch",
"Generate Save File",
"Palette Editor",
"Help",
"Exit",
}

Definition at line 18 of file tui.h.

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