mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 18:19:19 +02:00
build 180831. vehicle debug panel content cleanup, configurable ui panel opacity, ai coasting logic tweaks
This commit is contained in:
@@ -593,6 +593,12 @@ global_settings::ConfigParse(cParser &Parser) {
|
||||
UITextColor = UITextColor / 255.f;
|
||||
UITextColor.a = 1.f;
|
||||
}
|
||||
else if( token == "ui.bg.opacity" ) {
|
||||
// czy grupować eventy o tych samych nazwach
|
||||
Parser.getTokens();
|
||||
Parser >> UIBgOpacity;
|
||||
UIBgOpacity = clamp( UIBgOpacity, 0.f, 1.f );
|
||||
}
|
||||
else if( token == "input.gamepad" ) {
|
||||
// czy grupować eventy o tych samych nazwach
|
||||
Parser.getTokens();
|
||||
|
||||
Reference in New Issue
Block a user