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

build 180831. vehicle debug panel content cleanup, configurable ui panel opacity, ai coasting logic tweaks

This commit is contained in:
tmj-fstate
2018-08-31 17:04:20 +02:00
parent 1cfaaa24f6
commit 955e8915a5
10 changed files with 176 additions and 206 deletions

View File

@@ -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();