yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
main.cc File Reference
#include "absl/debugging/failure_signal_handler.h"
#include "absl/debugging/symbolize.h"
#include "app/core/controller.h"
#include "app/core/features.h"
#include "util/flag.h"
#include "util/log.h"

Go to the source code of this file.

Namespaces

namespace  yaze
 Main namespace for the application.
 

Macros

#define IMGUI_DEFINE_MATH_OPERATORS
 

Functions

 DEFINE_FLAG (std::string, rom_file, "", "The ROM file to load.")
 
 DEFINE_FLAG (std::string, log_file, "", "Output log file path for debugging.")
 
 DEFINE_FLAG (bool, debug, false, "Enable debug logging and verbose output.")
 
 DEFINE_FLAG (std::string, log_categories, "", "Comma-separated list of log categories to enable. " "If empty, all categories are logged. " "Example: --log_categories=\"Room,DungeonEditor\" to filter noisy logs.")
 
 DEFINE_FLAG (std::string, editor, "", "The editor to open on startup. " "Available editors: Assembly, Dungeon, Graphics, Music, Overworld, " "Palette, Screen, Sprite, Message, Hex, Agent, Settings. " "Example: --editor=Dungeon")
 
 DEFINE_FLAG (std::string, cards, "", "A comma-separated list of cards to open within the specified editor. " "For Dungeon editor: 'Rooms List', 'Room Matrix', 'Entrances List', " "'Room Graphics', 'Object Editor', 'Palette Editor', or 'Room N' (where N is room ID). " "Example: --cards=\"Rooms List,Room 0,Room 105\"")
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ IMGUI_DEFINE_MATH_OPERATORS

#define IMGUI_DEFINE_MATH_OPERATORS

Definition at line 5 of file main.cc.

Function Documentation

◆ DEFINE_FLAG() [1/6]

DEFINE_FLAG ( std::string  ,
rom_file  ,
""  ,
"The ROM file to load."   
)

◆ DEFINE_FLAG() [2/6]

DEFINE_FLAG ( std::string  ,
log_file  ,
""  ,
"Output log file path for debugging."   
)

◆ DEFINE_FLAG() [3/6]

DEFINE_FLAG ( bool  ,
debug  ,
false  ,
"Enable debug logging and verbose output."   
)

◆ DEFINE_FLAG() [4/6]

DEFINE_FLAG ( std::string  ,
log_categories  ,
""  ,
"Comma-separated list of log categories to enable. " "If  empty,
all categories are logged. " "Example:--  log_categories = \"Room,DungeonEditor\" to filter noisy logs." 
)

◆ DEFINE_FLAG() [5/6]

DEFINE_FLAG ( std::string  ,
editor  ,
""  ,
"The editor to open on startup. " "Available editors:  Assembly,
Dungeon  ,
Graphics  ,
Music  ,
Overworld  ,
" "  Palette,
Screen  ,
Sprite  ,
Message  ,
Hex  ,
Agent   
)

◆ DEFINE_FLAG() [6/6]

DEFINE_FLAG ( std::string  ,
cards  ,
""  ,
"A comma-separated list of cards to open within the specified editor. " "For Dungeon editor: 'Rooms List'  ,
'Room Matrix'  ,
'Entrances List'  ,
" " 'Room Graphics'  ,
'Object Editor'  ,
'Palette Editor'  ,
or 'Room N'(where N is room ID). " "Example:--  cards = \"Rooms List,Room 0,Room 105\"" 
)

◆ main()