16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 19:29:19 +02:00

priorityLoadText3D feature in eu07.ini

Allows to make priority load t3d models instead of e3d. Takes yes or no.
This commit is contained in:
2025-04-01 02:24:25 +02:00
parent 1b346b1aee
commit d1415cf2a1
3 changed files with 26 additions and 13 deletions

View File

@@ -670,6 +670,12 @@ global_settings::ConfigParse(cParser &Parser) {
Parser >> token;
iPause |= (token == "yes" ? 1 : 0);
}
else if (token == "priorityloadtext3d")
{
Parser.getTokens(1);
Parser >> token;
priorityLoadText3D = (token == "yes" ? true : false);
}
else if (token == "lang")
{
// domyślny język - http://tools.ietf.org/html/bcp47
@@ -1358,6 +1364,7 @@ global_settings::export_as_text( std::ostream &Output ) const {
export_as_text( Output, "joinduplicatedevents", bJoinEvents );
export_as_text( Output, "hiddenevents", iHiddenEvents );
export_as_text( Output, "pause", ( iPause & 1 ) != 0 );
export_as_text(Output, "priorityLoadText3D", priorityLoadText3D);
export_as_text( Output, "lang", asLang );
export_as_text( Output, "python.updatetime", PythonScreenUpdateRate );
Output