mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 08:09:19 +02:00
make targetfps great again
This commit is contained in:
@@ -223,6 +223,12 @@ bool global_settings::ConfigParseGraphics(cParser& Parser, const std::string& to
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (token == "targetfps")
|
||||||
|
{
|
||||||
|
ParseOne(Parser, targetfps, 1, false);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (token == "heightbase")
|
if (token == "heightbase")
|
||||||
{
|
{
|
||||||
ParseOne(Parser, fDistanceFactor, 1, false);
|
ParseOne(Parser, fDistanceFactor, 1, false);
|
||||||
|
|||||||
@@ -133,7 +133,7 @@ struct global_settings {
|
|||||||
float ShakingMultiplierRL {1.f}; // mnożnik bujania kamera lewo/prawo
|
float ShakingMultiplierRL {1.f}; // mnożnik bujania kamera lewo/prawo
|
||||||
float ShakingMultiplierUD {1.f}; // mnożnik bujania kamera gora/dol
|
float ShakingMultiplierUD {1.f}; // mnożnik bujania kamera gora/dol
|
||||||
float fDistanceFactor{ 1.f }; // baza do przeliczania odległości dla LoD
|
float fDistanceFactor{ 1.f }; // baza do przeliczania odległości dla LoD
|
||||||
float targetfps{ 0.0f };
|
float targetfps{ 60.0f };
|
||||||
bool bFullScreen{ false };
|
bool bFullScreen{ false };
|
||||||
bool VSync{ false };
|
bool VSync{ false };
|
||||||
bool bWireFrame{ false };
|
bool bWireFrame{ false };
|
||||||
|
|||||||
Reference in New Issue
Block a user