mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 06:55:02 +01:00
refactor: split configparse
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -343,10 +343,21 @@ struct global_settings {
|
|||||||
float m_skysaturationcorrection{ 1.65f };
|
float m_skysaturationcorrection{ 1.65f };
|
||||||
float m_skyhuecorrection{ 0.5f };
|
float m_skyhuecorrection{ 0.5f };
|
||||||
|
|
||||||
// methods
|
// methods
|
||||||
void LoadIniFile( std::string asFileName );
|
void LoadIniFile( std::string asFileName );
|
||||||
void ConfigParse( cParser &parser );
|
void FinalizeConfig();
|
||||||
bool ConfigParse_gfx( cParser &parser, std::string_view const Token );
|
void ConfigParse(cParser &parser);
|
||||||
|
bool ConfigParseGeneral(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParseAudio(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParseGraphics(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParseInput(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParseSimulation(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParseUI(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParsePython(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParseNetwork(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParseHardware(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParseDebug(cParser& Parser, const std::string& token);
|
||||||
|
bool ConfigParse_gfx( cParser &parser, std::string_view const Token );
|
||||||
// sends basic content of the class in legacy (text) format to provided stream
|
// sends basic content of the class in legacy (text) format to provided stream
|
||||||
void
|
void
|
||||||
export_as_text( std::ostream &Output ) const;
|
export_as_text( std::ostream &Output ) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user