mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 18:19:19 +02:00
change screenshot key, configurable location
This commit is contained in:
@@ -178,6 +178,8 @@ Global::soundmode_t Global::soundpitchmode = Global::linear;
|
||||
Global::soundmode_t Global::soundgainmode = Global::linear;
|
||||
Global::soundstopmode_t Global::soundstopmode = Global::queue;
|
||||
|
||||
std::string Global::screenshot_dir = "screenshots";
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------
|
||||
@@ -808,6 +810,11 @@ void Global::ConfigParse(cParser &Parser)
|
||||
Parser >> Global::motiontelemetry_conf.latposbased;
|
||||
Parser >> Global::motiontelemetry_conf.axlebumpscale;
|
||||
}
|
||||
else if (token == "screenshotsdir")
|
||||
{
|
||||
Parser.getTokens(1);
|
||||
Parser >> Global::screenshot_dir;
|
||||
}
|
||||
} while ((token != "") && (token != "endconfig")); //(!Parser->EndOfFile)
|
||||
// na koniec trochę zależności
|
||||
if (!bLoadTraction) // wczytywanie drutów i słupów
|
||||
|
||||
Reference in New Issue
Block a user