compressor governor lock tweaks, fuel pump cab indicator, optional offset for scenario clock

This commit is contained in:
tmj-fstate
2018-03-29 23:19:14 +02:00
parent 6ffced1d90
commit 1fd89923f6
8 changed files with 307 additions and 170 deletions

View File

@@ -308,6 +308,11 @@ global_settings::ConfigParse(cParser &Parser) {
// max 8 lights per opengl specs, minus one used for sun. at least one light for controlled vehicle
DynamicLightCount = clamp( DynamicLightCount, 1, 7 );
}
else if( token == "scenario.time.offset" ) {
// shift (in hours) applied to train timetables
Parser.getTokens( 1, false );
Parser >> ScenarioTimeOffset;
}
else if( token == "scalespeculars" ) {
// whether strength of specular highlights should be adjusted (generally needed for legacy 3d models)
Parser.getTokens();