@@ -308,6 +308,7 @@ public enum Type
308308 public float ZOffset = 0 ;
309309 public float FreightWeight = 0 ;
310310 public bool Flipped = false ;
311+ public bool Cab3DFreightAnim = false ;
311312
312313 // additions to manage consequences of variable weight on friction and brake forces
313314 public float FullStaticORTSDavis_A = - 9999 ;
@@ -343,6 +344,7 @@ public FreightAnimationStatic(STFReader stf)
343344 stf . MustMatch ( ")" ) ;
344345 } ) ,
345346 new STFReader . TokenProcessor ( "flip" , ( ) => { Flipped = stf . ReadBoolBlock ( true ) ; } ) ,
347+ new STFReader . TokenProcessor ( "cab3dfreightanim" , ( ) => { Cab3DFreightAnim = stf . ReadBoolBlock ( true ) ; } ) ,
346348 // additions to manage consequences of variable weight on friction and brake forces
347349 new STFReader . TokenProcessor ( "fullortsdavis_a" , ( ) => { FullStaticORTSDavis_A = stf . ReadFloatBlock ( STFReader . UNITS . Force , - 1 ) ; } ) ,
348350 new STFReader . TokenProcessor ( "fullortsdavis_b" , ( ) => { FullStaticORTSDavis_B = stf . ReadFloatBlock ( STFReader . UNITS . Resistance , - 1 ) ; } ) ,
@@ -364,6 +366,7 @@ public FreightAnimationStatic(FreightAnimationStatic freightAnimStatic)
364366 YOffset = freightAnimStatic . YOffset ;
365367 ZOffset = freightAnimStatic . ZOffset ;
366368 Flipped = freightAnimStatic . Flipped ;
369+ Cab3DFreightAnim = freightAnimStatic . Cab3DFreightAnim ;
367370 FreightWeight = freightAnimStatic . FreightWeight ;
368371
369372 // additions to manage consequences of variable weight on friction and brake forces
0 commit comments