* Wheels animation distance changed to 200*D*LODbias

* Fixed spelling error in event syntax; old one remains for compatibility.

* Spelling error left in log text

* Zamiana metalic na floata z wazonym efektem.

# Conflicts:
#	shaders/light_common.glsl

* Detail normalmap shaders @Jan21

* Explicit type conversion

* Leftover metalic as bool

* Syntax error

* Normalmap sampling inside ParallaxMapping function
This commit is contained in:
antonisauren
2021-01-23 22:24:14 +01:00
committed by GitHub
parent 7422dddd02
commit d1ecbdc8ff
15 changed files with 636 additions and 196 deletions

View File

@@ -192,7 +192,7 @@ basic_event::event_conditions::deserialize( cParser &Input ) {
else if( token == "trackfree" ) {
flags |= flags::track_free;
}
else if( token == "propability" ) {
else if( token == "propability" || "probability") { //remove propability in few years after changing old scenery scripts 01.2021
flags |= flags::probability;
Input.getTokens();
Input >> probability;
@@ -267,7 +267,7 @@ basic_event::event_conditions::export_as_text( std::ostream &Output ) const {
}
if( ( flags & flags::probability ) != 0 ) {
Output
<< "propability "
<< "probability "
<< probability << ' ';
}
if( ( flags & ( flags::text | flags::value1 | flags::value2 ) ) != 0 ) {