clang-format
mogudes coses de config.yaml a debug.yaml
This commit is contained in:
@@ -141,11 +141,21 @@ namespace Options {
|
||||
inline std::string crtpi_file_path{};
|
||||
inline int current_crtpi_preset{0};
|
||||
|
||||
inline std::string debug_file_path{};
|
||||
|
||||
// --- API ---
|
||||
void setConfigFile(const std::string& path);
|
||||
auto loadFromFile() -> bool;
|
||||
auto saveToFile() -> bool;
|
||||
|
||||
// debug.yaml: estat inicial de gameplay per a tests ràpids
|
||||
// (`habitacio_inicial`, `piramide_inicial`, `vides`, `diamants_inicial`,
|
||||
// `diners_inicial`). Només es carrega/desa en builds de debug; en release
|
||||
// els camps queden als seus defaults.
|
||||
void setDebugFile(const std::string& path);
|
||||
auto loadDebugFromFile() -> bool;
|
||||
auto saveDebugToFile() -> bool;
|
||||
|
||||
void setPostFXFile(const std::string& path);
|
||||
auto loadPostFXFromFile() -> bool;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user