33 lines
930 B
C++
33 lines
930 B
C++
#ifndef MCROGUEFACE_CONFIG_H
|
|
#define MCROGUEFACE_CONFIG_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include <filesystem>
|
|
|
|
struct McRogueFaceConfig {
|
|
// McRogueFace specific
|
|
bool headless = false;
|
|
bool audio_enabled = true;
|
|
|
|
// Python interpreter emulation
|
|
bool python_mode = false;
|
|
std::string python_command; // -c command
|
|
std::string python_module; // -m module
|
|
bool interactive_mode = false; // -i flag
|
|
bool show_version = false; // -V flag
|
|
bool show_help = false; // -h flag
|
|
|
|
// Script execution
|
|
std::filesystem::path script_path;
|
|
std::vector<std::string> script_args;
|
|
|
|
// Scripts to execute before main script (--exec flag)
|
|
std::vector<std::filesystem::path> exec_scripts;
|
|
|
|
// Screenshot functionality for headless mode
|
|
std::string screenshot_path;
|
|
bool take_screenshot = false;
|
|
};
|
|
|
|
#endif // MCROGUEFACE_CONFIG_H
|